Dresden
Emperor
- Joined
- Jul 10, 2008
- Messages
- 1,081
Later on this evening I'm going to commit a new feature; I want to lower the verbosity on my debug text and clean up a minor thing I saw when making the screenshots first. I've finally gotten around to despoilerizing and BUGifying my EventSigns modcomp. What this does is add map signs to plots that have their yields changed by random events (like the Truffles or Sour Crude events). I always thought this was a useful idea because it's hard to remember (or discover) where these extra-bountiful tiles are later on if you have to rely on the plot hover info; it adds a little extra impact to the events themselves too.
The original non-BUG version was a spoiler problem because signs are still visible if they are placed on unrevealed plots so this version saves the sign data using sdtoolkit and only places the sign on the map after the plot is revealed to you. Here's an example of the Truffles event triggering on an unseen Spanish plot. First screen is just after the event triggers and second is after I reveal the plot.
Note that the sign captions are all XML-based and are loosely translated using the original Firaxian event translations and Babelfish; so I won't be surprised if some improvements can be made there.
It has an option to enable/disable on the first tab under the Miscellaneous part of the Main Interface section because I had no idea where else to put it. The default is to enable them. The enabling/disabling actually only controls whether the signs will be placed from that point on; existing signs are unaffected. We might need to add some to the option hover text if that winds up being too confusing.
I wound up adding a surprisingly large amount of code to do the despoilerizing so this is going to need a good deal of testing to make sure it works ok. The two main things to look for:
One of the reasons I made this a separate thread rather than just putting it in the New Features topic is because I expect problems and want to have a dedicated place to report them. But if you have any other comments/suggestions on it, please share them here too.
The original non-BUG version was a spoiler problem because signs are still visible if they are placed on unrevealed plots so this version saves the sign data using sdtoolkit and only places the sign on the map after the plot is revealed to you. Here's an example of the Truffles event triggering on an unseen Spanish plot. First screen is just after the event triggers and second is after I reveal the plot.


Note that the sign captions are all XML-based and are loosely translated using the original Firaxian event translations and Babelfish; so I won't be surprised if some improvements can be made there.
It has an option to enable/disable on the first tab under the Miscellaneous part of the Main Interface section because I had no idea where else to put it. The default is to enable them. The enabling/disabling actually only controls whether the signs will be placed from that point on; existing signs are unaffected. We might need to add some to the option hover text if that winds up being too confusing.
I wound up adding a surprisingly large amount of code to do the despoilerizing so this is going to need a good deal of testing to make sure it works ok. The two main things to look for:
- If such an event triggers in known territory (like your own), a sign should show as long as that plot doesn't already have one.
- You should never see signs on an unrevealed (fully black) tile.
One of the reasons I made this a separate thread rather than just putting it in the New Features topic is because I expect problems and want to have a dedicated place to report them. But if you have any other comments/suggestions on it, please share them here too.