Tileset types in custom Sanario Menu
I was playng around with the lua files, and thought to myself, this game mod doesn't have the ability to select the type of tileset you want when playing a custom map, or even a built in one, and you don't want to use the default tileset the map was made with.
I was looking at the code, and managed to find the menu options in the "guichan.lua" file for the race, resources amount, units, opponents and Game Type. But in the original it also has an option to select the forest/
I tried a few things with no success. I managed to make the dropdown list with all the tileset names in it, but how do I actually get each one to perform the function of assigning the tileset type to the specified name selected in the list so I can use it for the map I am playing?
I found code in the "editor.lua" file that enables you to select the tileset you want to use for making a map. Can I use that code in the "guichan.lua" file to use for what tileset I want maps to use in-game?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Stratagus Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Joris Dauphin
- Solved:
- Last query:
- Last reply: