Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
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

    Dark_wizzie
    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!


    Female
    Number of posts : 5120
    Age : 30
    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 Empty ss always drops machine gun

    Post by Dark_wizzie 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?







    Wolf3d Haven
    Minute Logic Blog

      Current date/time is Thu Nov 21, 2024 4:59 am