antistasi-1.x
antistasi-1.x copied to clipboard
Combining Blufor&Greenfor versions
Currently there are 2 sqm in the folder in order to play against AAF/VDV (blufor default version) or against NATO/USMC (greenfor version).
Detect_RHS.sqf checks if Petros is blufor or greenfor to perform the switch, so, basically, right now it's required to change classobject of petros, player and playable units in order to play the greenfor version, and that's why another .sqm
I'd love to have an option where you can choose to play one or another within the same .sqm
Am I reading that correctly as you saying that all you'd need to do is change how Petros, player and playable units are spawned and that would trigger all the other changes?
If so you could probably set the init in their class declaration to something like init="[this] spawn somePrecompiledFunction";
Then you 'just' need to add a parameter to select which side you want and flip the init in somePrecompiledFunction based on that.
Maybe?
It is necessary to make Petros and the players is greenfor so that they are friendly either bluefor or redfor
Can be an idea MooseAteJack... i'll look into it.
Triada it isn't only that... it's needed for the current check on switching. The otherway around would be change all the check code, but i'm not very comfortable in doing it.