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


    multiple and single color flooring

    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

    multiple and single color flooring Empty multiple and single color flooring

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

    dome
    Code Editing Tutorials
    Changing the Floor Colours / how to have multiple




    I've seen that many people want to change the color of the floor. Personally I avoid doing this as I tend to like "inside locations", where, for example, black floors aren't welcome. It just doesn't look "realistic". But you may have other opinions about this, so read on.

    IF YOU WANT FOR ALL 60 LEVELS ONE AND THE SAME FLOOR COLOR:

    Step 1. Open up WL_DRAW.C and search for "1919" . There you see:

    asm mov ax,0x1919

    Step 2. Now, change the 0x1919 color to any color you want(use the chart in Ceiling colour tutorial) . If you want a black floor, do this on the line with 0x on it:

    asm mov ax,0x0

    Step 3. Save the file and compile. Done!

    IF YOU WANT SOME LEVELS HAVE A DIFFERENT FLOOR COLOR THAN THE OTHERS:

    Step 1. Open up WL_DRAW.C and search for "1919". There you see:

    asm mov ax,0x1919

    Step 2. Now, change it all so that it looks like this(change the mapon values to edit the levels you want to have another floor color)

    if (gamestate.mapon == 0)

    asm mov ax,0x0

    else

    asm mov ax,0x1919

    OK? OK. Save the file and compile. Have fun with multiple floor colors!




    Wolf3d Haven
    Minute Logic Blog

      Current date/time is Thu Nov 21, 2024 7:01 am