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

    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Male
    Number of posts : 5090
    Age : 22
    Location : USA or Tawain
    Job : Student, Part time Cactuar fanatic
    Hobbie : Planting Cactuars.
    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?







    Wolf3d Haven
    Minute Logic Blog

      Current date/time is Thu Dec 08, 2016 6:17 am