Scenario Tools - generic GS for generic scenarios
Posted: 30 Jun 2018 10:17
Ever wanted to have a scenario that does something a bit unusual, but thought it would be too bothersome to write a unique Game Script for it? This is a toolbox for encoding some types of commands/events into a scenario by using signs.
Right now it can found towns and industries at specific dates, and force towns to grow at specific dates. This is mostly for proof of concept, I hope to expand this much more with useful features.
Known bugs/problems:
- Random placement of towns doesn't work
- I'm not sure town growth actions ever stop acting
- Prints red errors in the GS debug window during some of the sign parsing (need to do a pcall or something)
- Will eat signs even during the scenario editor, if you click the Pause or FFwd buttons
This is my first foray into writing GS so any tips and criticism is appreciated. Wishlists are also welcome.
Right now it can found towns and industries at specific dates, and force towns to grow at specific dates. This is mostly for proof of concept, I hope to expand this much more with useful features.
Known bugs/problems:
- Random placement of towns doesn't work
- I'm not sure town growth actions ever stop acting
- Prints red errors in the GS debug window during some of the sign parsing (need to do a pcall or something)
- Will eat signs even during the scenario editor, if you click the Pause or FFwd buttons
This is my first foray into writing GS so any tips and criticism is appreciated. Wishlists are also welcome.