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!


 

Get back to the Dome tutorials
Jump to the top