EDF game properties reference: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
Line 56: Line 56:
====Flag list====
====Flag list====
*'''HASDISK''': draw flashing I/O disk
*'''HASDISK''': draw flashing I/O disk
*'''SHAREWARE''': emulate shareware game (no -file command-line parameter allowed). NOTE: this flag cannot be removed with '''flags.remove'''.
*'''SHAREWARE''': emulate shareware game (no -file command-line parameter allowed).
*'''MNBIGFONT''': use big font for menu titles
*'''MNBIGFONT''': use big font for menu titles
*'''MAPXY''': use MAPxy map names by default
*'''MAPXY''': use MAPxy map names by default

Revision as of 17:36, 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
  • 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"