Gez
Why don't I have a custom title by now?!
Posts: 9283
Registered: 07-07 |
LittleTemple said:
We heard replacing intermission level name text is as simple as making a cyan colored background
No! Don't fill poor little Gabrielle's head with this cyan nonsense!
Okay, so first thing first. Map names.
Map names are present in two different places: in the program itself (which is what is shown in the automap), and in the data file (the picture shown during the intermission).
You can replace the map names shown in the automap with a DEHACKED lump containing BEX string replacements. It is the simplest method.
Here is the DEHACKED for Epic 2 as an example:
code: [STRINGS]
HUSTR_1 = 01: Entrance
HUSTR_2 = 02: Voodoo
HUSTR_3 = 03: Black magic
HUSTR_4 = 04: Sarcophagus
HUSTR_5 = 05: Abu Gurab
<snip>
HUSTR_30 = 30: Amenthes
HUSTR_31 = 31: Osirion
HUSTR_32 = 32: The Harbour
As you can see HUSTR_x corresponds to the name for level x. Note the [STRINGS] thing at the top, it's important.
Now for the intermission name pictures. They are graphics with names CWILV00 to CWILV31. Here's the subtlety: the number is one less than the level. For example, MAP01's name is in CWILV00, and MAP32's name is in CWILV31.
INTERPIC and TITLEPIC have to be 320x200, yes. And now comes the time to talk about the Doom picture format:
It is not BMP. BMP is a format used by programs like MS Paint, but Doom doesn't use it. Doom uses its own format (actually, two different formats, since flats -- the textures placed on floors and ceilings -- use a different format from all the other graphics in Doom) which is not know by any image editor outside of specialized Doom utilities. So, she will need to use a specialized Doom utility, namely SLADE 3.
http://svn.drdteam.org/slade/
Import your picture into your wad with SLADE 3, and then convert it to Doom's picture format from within SLADE.
How do you do transparency? Your source image can have transparency to begin with. If it doesn't (for example, you used MS Paint to create it), when you convert the picture with SLADE, you can select one color to be the transparent color (it can be cyan, or anything else really). You can even click on an area in the "source" preview picture to choose the color that'll become transparent.
|