D'Lanor wrote:Game states in the form of SDL variables can be transferred between ages through the age vault. This works well for sub ages, which is why I suggested that kind of link.
Unfortunately, the blockers are saved in the Python file, and the only other way to access it (the way the imagers do it) is using the ptClimbingWallMsg.
There might be a way to store them in an SDL variable. In older versions of Garrison.sdl, you had these variables:
- Code: Select all
VAR BYTE northWall[20] # it depends, in some versions it's not 20 but 171 (171 is the number of blockers)
VAR BYTE southWall[20]
VAR BYTE southCount[1] # how many blockers did we use out of the maximum number of blockers ?
VAR BYTE northCount[1]
VAR BYTE southCountLimit[1] # the maximum number of blockers, it should always be the same as northCountLimit
VAR BYTE northCountLimit[1]
VAR BYTE nChairState[1] # defines if we are editing blockers, if we won, if we are setting the maximum number of blockers...
VAR BYTE sChairState[1]
VAR BYTE lastChangedIndexS[1] # maybe to revert the last change.
VAR BYTE lastChangedIndexN[1]
northWall and southWall might help. In fact, I think before they implemented the ptClimbingWallMsg, it was how they did it.
This can also make sure the state of the Wall is saved when you link back (still display the blockers even while no one is in this instance).
However, as there is no instancing offline, won't the Nexus be buggy ?
BTW, I received a PM from Christopher, and he raised a very good question: can the Wall work on MOULa ?
The Python functions used in UU are no longer in the Plasma API, however some are now in the PlasmaGame API, written in a different way (Cyan re-wrote the code for most multiplayer games, as the Heek and the Blue Spirals). We can't be sure if they work, however using SDLs might fix most of the netbroadcast issues.
D'Lanor wrote:Edit: In fact in UU one had to relink anyway to get the correct wall state because there was a bug which left the physical blockers on the wall when a new game was started. Only the visible part of the blocker was reset.
You are right, it seems the physics was not disabled. It should be fixed now.
If any of you remember any other bug...
And here are the fixes (with the update for the blockers). The instructions are in "install.txt". Everything should work fine.
[EDIT: removed old attachment as I had to update it. See first post of page n#8]