Wolf3d Haven Forum

Please log in or register. Smile
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


    ss always drops machine gun

    Share
    avatar
    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Female
    Number of posts : 5096
    Age : 24
    Location : California, USA
    Job : Investor
    Hobbie : Computers, chess, computer chess, fashion, and philosophy
    Message : I made this forum when I was 13 High on Drugs
    Registration date : 2007-03-24

    ss always drops machine gun

    Post by Dark_wizzie on Sun Apr 29, 2007 1:28 pm

    dome
    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?






      Current date/time is Sun May 20, 2018 4:20 pm