by Officer-Michael John Tue Aug 11, 2015 9:40 pm
You adding new static object (weapon) with code change. You found a tutorial:http://diehardwolfers.areyep.com/viewtopic.php?t=3203 (WL_GAME.CPP) and http://diehardwolfers.areyep.com/viewtopic.php?t=3870#45911 (WL_ACT1.CPP and WL_DEF.H) or
case 88:
case 89:
SpawnStatic(x,y,tile-23);
break;
case 100:
case 101: // etc.
SpawnStatic(x,y,tile-33);
break;
case 88:
case 89:
SpawnStatic(x,y,tile-23);
break;
case 1:
case 2:
...etc
case 18:
SpawnStatic(x,y,tile+66);
break;
case 100:
case 101:
...etc
case 107:
SpawnStatic(x,y,tile-5);
break;
case 260:
case 261:
...etc
SpawnStatic(x,y,tile-158)
break;
See how object 89 is 66, so the next one will be 67?
case 23-23=0, case 89-23=66, case 100-33=67 or case 1+66=67, case 100-5=67+18, etc.