Here is what I know after a lot of testing
First some background
// pattern for multi hex buildings in code is:
// X X X X
// X X X X
// X X X X
This is a line of code that represents a multi-hex building
{0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0}
so that building would look like this
0000
0
110
0
110
In that example the outlined red hex is the registration hex
- The real issue has nothing to do with rough terrain or paved road that is put under some of the multi-hex buildings
- The real issue is the creation of rubble in the registration hex of the multi-hex building changes the terrain under the registration hex.......sometimes...... the creation of rubble there does not always 100% make the building invisible
- There are multi-hex buildings that do not have part of the building in the registration hex. Those buildings will not go invisible during gameplay because no rubble is created where there is no building in the hex to turn to rubble
- If a multi-hex building is placed on a map using either the in-game map editor or the advanced editor and the registration hex is turned to rubble using the "add heavy damage" button the building will disappear and re-appear almost instantly and it may show faster or slower depending on the speed of your PC
- Once a building has been restored that way I have not yet been able to get it to disappear after it was restored
There is code that fixes buildings that Andy put in years ago
The "trick" right now is finding the spot it is put into the map-making code that fixes the buildings while heavy damage is applied and then figuring out where the ideal place for this would be in the general game code so that this issue is no longer a problem......
...and it IS a problem for all games that have multi hex buildings in them that have a "building" in the registration hexes but it is less of an issue with PBEM as there IS a restore code that is activated when a game is saved and then restarted as would be normal for PBEM. Where this is a problem is when game turns are played one after the other without saving and restarting the game from a save
So now you know what we know, rest assured we are looking into it