EDF game properties reference: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
Line 70: | Line 70: | ||
====Internally preset flags==== | ====Internally preset flags==== | ||
These flags can be removed by EDF by using '''flags.remove''': | These flags can be removed by EDF by using '''flags.remove''': | ||
*Doom: "'''HASDISK | *Doom: "'''HASDISK''', '''SKILL5RESPAWN''', '''SKILL5WARNING''', '''HUDSTATBARNAME'''" | ||
*Heretic: "'''MNBIGFONT''', '''SAVESOUND''', '''HASADVISORY''', '''SHADOWTITLES''', '''HASMADMELEE'''" | *Heretic: "'''MNBIGFONT''', '''SAVESOUND''', '''HASADVISORY''', '''SHADOWTITLES''', '''HASMADMELEE'''" |
Revision as of 18:21, 20 July 2012
Structure
gameproperties { flags.add <string> flags.remove <string> missionflags.add <string> missionflags.remove <string> demo.titletics <integer> demo.advisortics <integer> demo.pagetics <integer> menu.background <string> menu.transframe <string> menu.skvattacksound <string> menu.offset <integer> menu.pointer1 <string> menu.pointer2 <string> border.flat <string> border.topleft <string> border.top <string> border.topright <string> border.left <string> border.right <string> border.bottomleft <string> border.bottom <string> border.bottomright <string> console.charsperline <integer> console.bellsound <string> console.chatsound <string> console.backdrop <string> hud.pausepatch <string> game.telefogtype <string> game.telefogheight <integer> game.telesound <string> game.thrustfactor <integer> game.defpclass <string> game.endgamefinaletype <string> finale.text.x <integer> finale.text.y <integer> intermission.pic <string> sound.defaultmusname <string> sound.defaultsndname <string> credit.background <string> credit.y <integer> credit.titlestep <integer> exit.endtextname <string> }
Description
All fields default to 0 or empty string.
Game flags
These two flags control global game flags. Both fields below are of string type and use flag names separated by vertical bars (|), plus (+) or comma (,).
flags.add
- Enables the specified flags, on top of the hardcoded defaults.
flags.remove
- Disables the specified flags, from the hardcoded defaults.
Flag list
- HASDISK: draw flashing I/O disk
- MNBIGFONT: use big font for menu titles
- MAPXY: use MAPxy map names by default
- SAVESOUND: make a sound in save and load menus
- HASADVISORY: display the advisory popup on title screen
- SHADOWTITLES: shadows titles in menus
- HASMADMELEE: has mad melee when player dies in SP
- WOLFHACK: is subject to German-edition restriction
- SETENDOFGAME: Teleport_EndGame sets LevelInfo.endOfGame
- SKILL5RESPAWN: monsters respawn by default on skill 5
- SKILL5WARNING: display menu warning for skill 5
- HUDSTATBARNAME: HUD positions level name above status bar
Internally preset flags
These flags can be removed by EDF by using flags.remove:
- Doom: "HASDISK, SKILL5RESPAWN, SKILL5WARNING, HUDSTATBARNAME"
- Heretic: "MNBIGFONT, SAVESOUND, HASADVISORY, SHADOWTITLES, HASMADMELEE"