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...


    changing enemy speed

    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

    changing enemy speed Empty changing enemy speed

    Post by Dark_wizzie Sun Apr 29, 2007 1:41 pm

    dome
    Code Editing Tutorials
    Changing the enemies speeds




    Step 1:

    Open WL_STATE.C and do a search for "ob->speed"no quotes! If found you should see this: (this is the standard guard)


    case guardobj:

    PlaySoundLocActor (HALTSND,ob);

    NewState (ob,&s_grdchase1);

    ob->speed *= 3;

    break;


    Step 2:

    Change the "3" to whatever number you want.(for instance):

    ob->speed *= 5;


    NOTE: you can do this with every enemy.
    Have fun with your fast or slow guards!





    Wolf3d Haven
    Minute Logic Blog

      Current date/time is Wed Oct 30, 2024 7:05 am