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


    multiple and single color flooring

    Share
    avatar
    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Male
    Number of posts : 5092
    Age : 23
    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

    multiple and single color flooring

    Post by Dark_wizzie on 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 Sun Aug 20, 2017 10:24 am