![]() See also Tool interface and Tool only functions. Scenarios can also be put into the addons folder:Īddons/pak-something/scenario/myscenario/ Pak-something/scenario/myscenario/de/ <- German files go here. ![]() Pak-something/scenario/myscenario/en/ <- English files go here. If you need more complex texts, these go into sub-directories named after the language, in which they are written. Translation files go into the scenario sub-directory with the same name as your file (just without extension) Pak-something/scenario/myscenario/scenario.nut The pak-set is found in a directory named pak-something, which is in the same directory, where the program itself is located. Hence, the scenario files have to go into a sub-folder of the pak-set. This savegame is tied to the pak-set you are using (e.g. You are the ruler of this toy universe, you are in charge of the rules, which go into the script. That is, create the world in which your scenario will live. Then you have to cast this idea into a savegame. You first need an idea - a vision what a scenario may look like. See also Scenario interface and Scenario only functions. As squirrels like to crack nuts, understandably the script files get the extension '.nut'. The manual can be found at Squirrel main page. The scripts have to be written in squirrel. Simutrans offers to possibility to add scripted scenarios and computer-controlled players.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |