hrot Posted April 23, 2015 Share Posted April 23, 2015 Can anyone can explain what those folders and their content are responsible for and what's differences beetwen them? For example there is suburbsdistribution.lua file in lua\server\items and there is suburbsdistribution.txt file in scripts \items I want to understand better what files are for what etc. Thanks in advance Link to comment Share on other sites More sharing options...
Svarog Posted April 23, 2015 Share Posted April 23, 2015 suburbsdistribution.txt in scripts is obsolete and to my knowledge, does absolutely nothing.Scripts folder is for .txt files that describe items and recipes.Lua is for .lua filesClient and Shared are loaded with the game but before you start playing.Server and Shared are loaded when you start playing.Client is mostly for UI, character creation etc. stuff, Server is for gameplay related stuff and Shared has to do with both. Link to comment Share on other sites More sharing options...
hrot Posted April 23, 2015 Author Share Posted April 23, 2015 Soo.. when i changed things in "scripts" folder for example recipes.txt or items.txt it doesn't do anything?So if i want to modify game i only change files in lua? Link to comment Share on other sites More sharing options...
EnigmaGrey Posted April 23, 2015 Share Posted April 23, 2015 As Svarog said, scripts contain mainly text files that describe items and recipes. They do things. Link to comment Share on other sites More sharing options...
Svarog Posted April 23, 2015 Share Posted April 23, 2015 Soo.. when i changed things in "scripts" folder for example recipes.txt or items.txt it doesn't do anything?So if i want to modify game i only change files in lua?Every file in scripts does something except for distribution files, they are obsolete.items.txtnewitems.txtrecipes.txtuniquerecipes.txtcamping.txtfarming.txtfixing.txtAll those files contain item\recipe\fixing code and are used by the game. If you modify them, the effect will be visible in game. Sometimes not immediately but after creating a new world. Link to comment Share on other sites More sharing options...
Zheo Posted April 24, 2015 Share Posted April 24, 2015 Soo.. when i changed things in "scripts" folder for example recipes.txt or items.txt it doesn't do anything?So if i want to modify game i only change files in lua?Every file in scripts does something except for distribution files, they are obsolete.items.txtnewitems.txtrecipes.txtuniquerecipes.txtcamping.txtfarming.txtfixing.txtAll those files contain item\recipe\fixing code and are used by the game. If you modify them, the effect will be visible in game. Sometimes not immediately but after creating a new world. Arent the distribution files for the loot location? I thought you need to set the distribution of items to make it able to find new ones .. Link to comment Share on other sites More sharing options...
Svarog Posted April 24, 2015 Share Posted April 24, 2015 -snip- Yes, suburbsdistributions.lua located in media\lua\server\Items is for handling the distribution of items on the map.I was talking about suburbsdistribution.txt located in media\scripts which is, to my knowledge, obsolete. Link to comment Share on other sites More sharing options...
hrot Posted April 24, 2015 Author Share Posted April 24, 2015 Thanks for all replies.So now back to modding Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now