Okay,
here's a preliminary version of the changes I discussed in
this thread. Basically these changes should make it a lot easier for any coder to include multiplayer compatibility for new SEXPs. So far I've fixed the following SEXPs to work in multiplayer.
change-soundtrack
set-persona
change-subsystem-name
change-ship-class
play-sound-from-table
play-sound-from-file
close-sound-from-file
ship-targetable-as-bomb
ship-untargetable-as-bomb
ship-invisible
ship-visible
ship-stealthy
ship-unstealthy
friendly-stealth-invisible
friendly-stealth-visible
lock-afterburner
unlock-afterburner
lock-primary-weapon
unlock-primary-weapon
lock-secondary-weapon
unlock-secondary-weapon
set-afterburner-energy
set-weapon-energy
set-shield-energy
I've also fixed set-respawns in preparation for adding a visible respawns-left counter to the HUD (The SEXP itself works just fine since the number of respawns the client thinks it has left affect nothing). But I haven't tested the change since I don't have the counter yet.
I'll probably take a look at change-ship-class next as that one screwed me over a few years back and I want to see it working.
As you may have guessed
this build isn't compatible with RC2 (or any other build for that matter) and hosts running this build will crash clients that aren't.
*Other Features*
---------------
- Advanced Team Loadout Functions
- Ability to play cutscenes before Fiction, Command Brief, Brief, Game Start and Debrief.
- Ability to chat to team mates only in TvT games briefings using /f:
- Various new SEXPs
EDIT : Build upgraded.
EDIT : Upgraded again. Added the set-afterburner-energy, set-weapon-energy and set-shield-energy SEXPs.