I mentioned in another thread that I'd been poking around in the newer source and come across the gaminfo stuff. Here is the default Doom one.
- Code: Select all • Expand view
gameinfo
{
titlepage = "TITLEPIC"
creditpage = "CREDIT"
titlemusic = "$MUSIC_DM2TTL"
titletime = 11
advisorytime = 0
pagetime = 5
chatsound = "misc/chat"
finalemusic = "$MUSIC_READ_M"
finaleflat = "SLIME16"
finalepage = "CREDIT"
infopage = "HELP", "CREDIT"
quitsound = "menu/quit2"
borderflat = "GRNROCK"
border = DoomBorder
telefogheight = 0
defkickback = 100
skyflatname = "F_SKY1"
translator = "xlat/doom.txt"
mapinfo = "mapinfo/doom2.txt"
defaultbloodcolor = "68 00 00"
defaultbloodparticlecolor = "ff 00 00"
backpacktype = "Backpack"
statusbar = "sbarinfo/doom.txt"
intermissionmusic = "$MUSIC_DM2INT"
}
This stuff goes in MAPINFO
Here are my guesses as to what they do (I can't check them ATM).
titlepage: Fairly obvious. Sets the picture to be used for titlepic etc
creditpage: seems to show what is shown after attempting to play a built in demo lump. Multiple pages can be specified.eg creditpage = "CREDIT", "HELP2"
titlemusic: pretty obvious However, the default is "$MUSIC_DM2TTL", rather than a lump name so I'm not sure if lump names can be directly specified.
titletime: How long the titlepic is shown for?
advisorytime: Presumably how long the advisor graphic is shown for. I don't see anything to specify the advisor lump name so, presumably, only ADVISOR is acceptable.
pagetime: Don't know
chatsound: obvious
finalemusic: Not sure. Used when using an ending other than EngameC/3 Doom ending is used in Doom2??? Same query about the lump name as titlemusic
finaleflat: Not sure. I forget where SLIME16 is used in the game, and that's the default
finalepage: Again, I'm guessing that this is used when a non EngameC/3 Doom ending is used in Doom2
infopage: the pic shown when pressing F1? Maybe when picking "Read This". Only 1 graphic is shown normally in Doom2 but the default specifies 2 graphics so I'm not sure.
quitsound: obvious
borderflat: Obvious
border: Presumably sets of Border graphic names are specified here. What are the options?
telefogheight: Y offset of the teleport fog actor? Doom/Strife is 0 Heretic/Hexen is 32.
defkickback: default weapon knock back?
skyflatname: Obvious
translator: Language file to look up?
mapinfo: Specifies MAPINFO for the game. Can it be used to specify a MAPINFO ins something like a custom IWAD?
defaultbloodcolor: Obvious
defaultbloodparticlecolor: Obvious
backpacktype: Obvious, but I'm not sure what the options or the implications are
statusbar: Again, obvious but the same question as mapinfo
intermissionmusic: Again obvious but again the same question as titlemusic
There is also
drawreadthis: Presumably adds the "Read This" entry to the main menu.
There could be othe stuff that I missed but I think, like a Pokemon, I caught them all.
Some of the entries do not look as I would have expected when looking at Heretic and Hexen. (eg finalemusic = "hub") so my guesses could well be wrong as to how they need to be implemented.
I also wonder if there is some way of doing something such as setting the name that appears at the top of the startup window and the colours of that message? Until now, this was a popular thing for people making their own games to do, but it required source editing. I guess if that can be done, it would not be a MAPINFO thing. However, I'm not sure if a GAMEINFO lump as such has actually been implemented or if all the possible stuff has just been added to MAPINFO in a gameinfo section as above. (I kind of lost track of the discussion).
Anyway, my picking through it is certainly not good enough to be converted to a Wiki addition yet, but once this stuff is understood more clearly, it should, of course, be added to the MAPINFO page and anywhere else that is appropriate (eg if there is additional gameinfo stuff that has its own lump).