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


    landmines

    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

    landmines Empty landmines

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

    dome
    Code Editing Tutorials
    Adding Landmines




    Step 1. Open up WL_AGENT.C and search for "bo_cross". Now replace everything under "Case bo_cross" with:

    TakeDamage(30,NULL); // 30 is a variable for the amount of health to remove. You can customize this ofcourse!

    break;
    Step 2. Save the file and compile. Now it works!





    Wolf3d Haven
    Minute Logic Blog

      Current date/time is Fri Apr 19, 2024 2:24 am