The purpose of this mod is to add multiplayer coop settings in
eduke similar to the ones in gzdoom (and some extra ones), that
you can enable/disable acording to your own preferences.
Features:
-Enable/Disable spawning mutiplayer-only weapons in coop.
-Enable/Disable players keep their weapons, ammo, inventory if they die
-Enable/Disable access cards stay after being picked up and used
-Enable/Disable players spawn where they died
-Enable/Disable respawning of shield and ammo after being picked up
-Enable/Disable losing half your ammo if you die
You can also easily:
-Customize ammo amounts (to simulate double ammo for example)
-Customize respawn time for the items
Extra feature:
-Page up -> saves the current state of all player's weapons, ammo and inventory
-Page down -> loads the saved state of all player's weapons, ammo and inventory
Why? Since saving and loading games in coop has some issues with
mods/addons (unsync, crashes, etc), this gives you an additional
option for not losing your progress. If saving and loading works
for you, then you don't need this. Or you can do both (save game
and save state) for extra protection. To avoid exploiting this
feature, you can only load the state once per game session.
How to use:
You need a stable eduke for multiplayer, you can get it here:
https://forums.duke4...-eduke32-oldmp/
Open COOP.CON in notepad and save the file after changing the
settings. All players must have the same file COOP.CON (with
the same settings).
Place COOP.CON in your main folder with eduke32-oldmp.exe, then
you can reference it from a shortcut o .bat file. For example,
for a two player lan game, it can be called like this:
Player 1: C:\Duke3D\eduke32-oldmp.exe -xCOOP.CON /net /n1 192.168.0.5
Player 2: C:\Duke3D\eduke32-oldmp.exe -xCOOP.CON /net 192.168.0.4 /n1
Note
The "save/load state" function is hardcoded to the look up and down
game functions (page up and page down, by default, respectively).
Only one player needs to do it for it to work properly.
About using this with Addons/Mods;
This is made for vanilla eduke. It could probably work with
addons that use the original GAME.CON without too much hassle.
If this is not the case, you can try to make it work replacing
this line "include GAME.CON" with "include <ADDONCON>.CON" and
reference the altered COOP.CON in the shortcut or .bat file
instead of the Addon's <ADDONCON>.CON. Of course, the last
resort is to modify the Addon's <ADDONCON>.con and include
the COOP.CON pieces of code in there (for advanded users).
None of these methods have been tested or guaranteed to work,
and can break the Addon/Mod, so beware.
Remember this mod is just a workaround (hence the limitations),
the best way would be if similar of better features could be
added to eduke.
Credits:
Trooper Dan
https://forums.duke4...dpost__p__24885
Rytz
https://forums.duke4...post__p__128664
Striker
https://forums.duke4...post__p__276502