Code Editing Tutorials
How to let SS drop his machinegun when killed

This change seems to be popular too. It's quite easy. Thanks to WolfTrap for this tutorial.

Step 1. Open WL_STATE.C and go to line . There you see:

case ssobj:

GivePoints (500);

NewState (ob,&s_ssdie1);

if (gamestate.bestweapon < wp_machinegun)

PlaceItemType (bo_machinegun,tilex,tiley);

else

PlaceItemType (bo_clip2,tilex,tiley);

break;

Step 2. Change that with:

case ssobj:

GivePoints (500);

NewState (ob,&s_ssdie1);

PlaceItemType (bo_machinegun,tilex,tiley);

break;

Easy huh?


 

Get back to the Dome tutorials
Jump to the top