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


    landmines

    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

    landmines

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