EDF game properties reference: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
No edit summary |
|||
| Line 2: | Line 2: | ||
gameproperties | gameproperties | ||
{ | { | ||
flags.add | flags.add <string> | ||
flags.remove | flags.remove <string> | ||
missionflags.add | missionflags.add <string> | ||
missionflags.remove | missionflags.remove <string> | ||
demo.titletics | demo.titletics <integer> | ||
demo.advisortics | demo.advisortics <integer> | ||
demo.pagetics | demo.pagetics <integer> | ||
menu.background | menu.background <string> | ||
menu.transframe | menu.transframe <string> | ||
menu.skvattacksound | menu.skvattacksound <string> | ||
menu.offset | menu.offset <integer> | ||
menu.pointer1 | menu.pointer1 <string> | ||
menu.pointer2 | menu.pointer2 <string> | ||
border.flat | border.flat <string> | ||
border.topleft | border.topleft <string> | ||
border.top | border.top <string> | ||
border.topright | border.topright <string> | ||
border.left | border.left <string> | ||
border.right | border.right <string> | ||
border.bottomleft | border.bottomleft <string> | ||
border.bottom | border.bottom <string> | ||
border.bottomright | border.bottomright <string> | ||
console.charsperline | console.charsperline <integer> | ||
console.bellsound | console.bellsound <string> | ||
console.chatsound | console.chatsound <string> | ||
console.backdrop | console.backdrop <string> | ||
hud.pausepatch | hud.pausepatch <string> | ||
game.telefogtype | game.telefogtype <string> | ||
game.telefogheight | game.telefogheight <integer> | ||
game.telesound | game.telesound <string> | ||
game.thrustfactor | game.thrustfactor <integer> | ||
game.defpclass | game.defpclass <string> | ||
game.endgamefinaletype | game.endgamefinaletype <string> | ||
finale.text.x | finale.text.x <integer> | ||
finale.text.y | finale.text.y <integer> | ||
intermission.pic | intermission.pic <string> | ||
sound.defaultmusname | sound.defaultmusname <string> | ||
sound.defaultsndname | sound.defaultsndname <string> | ||
credit.background | credit.background <string> | ||
credit.y | credit.y <integer> | ||
credit.titlestep | credit.titlestep <integer> | ||
exit.endtextname | exit.endtextname <string> | ||
} | } | ||
==Description== | ==Description== | ||
All fields default to 0 or empty string. | All fields default to 0 or empty string. | ||
Revision as of 16:30, 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"