EDF game properties reference: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(→‎Default flags: removed internal gif_)
No edit summary
Line 69: Line 69:
*'''SKILL5WARNING''': display menu warning for skill 5
*'''SKILL5WARNING''': display menu warning for skill 5
*'''HUDSTATBARNAME''': HUD positions level name above status bar
*'''HUDSTATBARNAME''': HUD positions level name above status bar
====Default flags====
====Internally preset flags====
These flags can be removed by EDF by using '''flags.remove''':
*Doom: "'''HASDISK''', '''HASEXITSOUNDS''', '''CLASSICMENUS''', '''SKILL5RESPAWN''', '''SKILL5WARNING''', '''HUDSTATBARNAME'''"
*Doom: "'''HASDISK''', '''HASEXITSOUNDS''', '''CLASSICMENUS''', '''SKILL5RESPAWN''', '''SKILL5WARNING''', '''HUDSTATBARNAME'''"
*Heretic: "'''MNBIGFONT''', '''SAVESOUND''', '''HASADVISORY''', '''SHADOWTITLES''', '''HASMADMELEE'''"
*Heretic: "'''MNBIGFONT''', '''SAVESOUND''', '''HASADVISORY''', '''SHADOWTITLES''', '''HASMADMELEE'''"

Revision as of 17:26, 20 July 2012

Structure

gameproperties
{
 flags.add
 flags.remove
 missionflags.add
 missionflags.remove
 demo.titletics
 demo.advisortics
 demo.pagetics
 menu.background
 menu.transframe
 menu.skvattacksound
 menu.offset
 menu.pointer1
 menu.pointer2
 border.flat
 border.topleft
 border.top
 border.topright
 border.left
 border.right
 border.bottomleft
 border.bottom
 border.bottomright
 console.charsperline
 console.bellsound
 console.chatsound
 console.backdrop
 hud.pausepatch
 game.telefogtype
 game.telefogheight
 game.telesound
 game.thrustfactor
 game.defpclass
 game.endgamefinaletype
 finale.text.x
 finale.text.y
 intermission.pic
 sound.defaultmusname
 sound.defaultsndname
 credit.background
 credit.y
 credit.titlestep
 exit.endtextname
}

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
  • SHAREWARE: emulate shareware game (no -file command-line parameter allowed)
  • 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
  • HASEXITSOUNDS: has sounds at exit
  • WOLFHACK: is subject to German-edition restriction
  • SETENDOFGAME: Teleport_EndGame sets LevelInfo.endOfGame
  • CLASSICMENUS: supports classic/traditional menu emulation
  • 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, HASEXITSOUNDS, CLASSICMENUS, SKILL5RESPAWN, SKILL5WARNING, HUDSTATBARNAME"
  • Heretic: "MNBIGFONT, SAVESOUND, HASADVISORY, SHADOWTITLES, HASMADMELEE"