Lua: Allow setting number of players, and placing HQs. Then fix the mission on map "The snake"
Fixes map "The snake" WITHOUT changing the map. You can now use the original S2 map, but I needed to implement some additional features, like placing HQs and overriding the number of players from LUA scripts. For example Roman chapter 1 does not show 7 players anymore and chapter 7 has the player 3 HQ set from LUA (video). This also makes it possible to fix all other maps where the positions are not set in the map but only in RTX files (like half the FANpaign maps - example video).
Fixes #1624
This is gerat, but I'd still like to have some feature to "fix" map 6, where they failed when converting from WORLD.DAT to WLD :D
This is gerat, but I'd still like to have some feature to "fix" map 6, where they failed when converting from WORLD.DAT to WLD :D
What do you mean by this?
This is gerat, but I'd still like to have some feature to "fix" map 6, where they failed when converting from WORLD.DAT to WLD :D
What do you mean by this?
On map IX they changed the map between the original version and gold/mission CD. For one instance they removed the harbors completly, this means there is no more seafaring. They also changed the terrain for the second AI, which had nearly no way of farming or producing wood since they used a non farmable terrain which simply stopped that AI from doing anything usefull.
You can compare that version: Campaign_OriginalRoman/MISS208.WLD with the one in your game directory, I've created it by reading the WORLD.DAT file of the original campaign and replacing the terrain with the correct one and re adding the harbors
On map IX
Ah yes, that one. Yeah this one is messed up in mission CD/gold. The RTX file is also wrong in a couple of places resulting in NO STRING WITH THIS ID errors and instead of placing an activated gate in the right place they place a rock in the middle of water north of your HQ... I think the only way to handle being given the original file by the user is to add code that detects that this is indeed The Gray Island and adds/modifies some data it reads internally (I don't know if we can add such a modified WLD file in the game files itself?).
If you create an issue for this I would very much like to take a look at this once I finish all the stuff I currently have open. While this does actually change an original map (which I don't like in principle), I think it is safe to assume the map was not supposed to be played as it was post mission CD.