EDF game properties reference

From Eternity Wiki
Jump to: navigation, search

Structure[edit]

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[edit]

All fields default to 0 or empty string.

Game flags[edit]

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[edit]
  • Enables the specified flags, on top of the hardcoded defaults.
flags.remove[edit]
  • Disables the specified flags, from the hardcoded defaults.

Flag list[edit]

  • 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[edit]

These flags can be removed by EDF by using flags.remove:

  • Doom: "HASDISK, SKILL5RESPAWN, SKILL5WARNING, HUDSTATBARNAME"
  • Heretic: "MNBIGFONT, SAVESOUND, HASADVISORY, SHADOWTITLES, HASMADMELEE"