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


    changing enemy speed

    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

    changing enemy speed

    Post by Dark_wizzie on 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 Sat Dec 10, 2016 12:22 pm