mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-12 08:11:10 +02:00
164 lines
4.6 KiB
Modula-2
164 lines
4.6 KiB
Modula-2
/***********************************************************************
|
|
|
|
miscellaneous
|
|
|
|
***********************************************************************/
|
|
|
|
entityDef worldspawn {
|
|
"editor_color" "0 0 0"
|
|
"editor_mins" "?"
|
|
"editor_maxs" "?"
|
|
|
|
"editor_usage" "Every map should have exactly one worldspawn.\n" \
|
|
"\n" \
|
|
"'music' music wav file\n" \
|
|
"'gravity' 1066 is default gravity\n" \
|
|
"'script' Script to run when level loads\n" \
|
|
"'gametype' Type of game to play (default 'doom_singleplayer')\n"
|
|
|
|
"spawnclass" "idWorldspawn"
|
|
|
|
"gametype" "doom_singleplayer"
|
|
}
|
|
|
|
entityDef light {
|
|
"editor_color" "0 1 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
"editor_rotatable" "1"
|
|
|
|
"editor_usage" "Light source. If health is set, light becomes breakable and turns off when shot.\n" \
|
|
"\n" \
|
|
"'texture' light shader to use\n" \
|
|
"'_color' light color\n" \
|
|
"'shaderParm3' - 'shaderParm7' shaderParms\n" \
|
|
"'count' how many times light must be triggered to toggle (default 1)\n" \
|
|
"'break' break when triggered (default 0)\n" \
|
|
"'model' model to use\n" \
|
|
"'broken' model to use when the light is broken (defaults to model name with '_broken' appended to name)\n" \
|
|
"'health' amount of damage to recieve before becoming broken (default 0 nonbreakable)\n" \
|
|
"'target' entities to trigger if shot\n" \
|
|
"'levels' the number of times a light must be triggered until it turns off. Each time it's triggered, it's dimmed to a lower level. (default 1)\n" \
|
|
"'start_off' causes the light to be off when the level starts"
|
|
|
|
"spawnclass" "idLight"
|
|
"health" "0"
|
|
"levels" "1"
|
|
"start_off" "0"
|
|
}
|
|
|
|
entityDef speaker {
|
|
"editor_color" "0 1 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
"editor_material" "textures/common/speaker"
|
|
|
|
|
|
"editor_usage" "'s_shader' the sound shader or wavefile\n" \
|
|
"'s_waitfortrigger' play on load or play when triggered\n" \
|
|
"'s_volume' override shader volume level\n" \
|
|
"'s_minDistance' override shader minDistance\n" \
|
|
"'s_maxDistance' override shader maxDistance\n" \
|
|
"'s_omni' override shader omnidirectional\n" \
|
|
"-1 on a value means default to the shader\n"
|
|
|
|
"spawnclass" "idSound"
|
|
"s_shader" ""
|
|
"s_waitfortrigger" "0"
|
|
"s_occlusion" "-1"
|
|
"s_linearFalloff" "-1"
|
|
"s_plain" "-1"
|
|
}
|
|
|
|
entityDef particle {
|
|
"editor_color" "0 1 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
"editor_material" "textures/common/particle"
|
|
"editor_showangle" "1"
|
|
"editor_rotatable" "1"
|
|
|
|
"editor_usage" "'preset' fountain waterfall fireflies etc."
|
|
|
|
"spawnclass" "idFuncEmitter"
|
|
|
|
"particle_model" "particles/SPARKS.particle"
|
|
}
|
|
|
|
entityDef path_corner {
|
|
"editor_color" ".5 .3 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
"editor_showangle" "1"
|
|
"editor_rotatable" "1"
|
|
|
|
"editor_usage" "'target' next path corner"
|
|
|
|
"spawnclass" "idPathCorner"
|
|
}
|
|
|
|
entityDef target_endLevel {
|
|
"editor_color" "1 1 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
|
|
"editor_usage" "Set 'nextMap' to the map name to transfer to (johnc/test_box, etc)\n"\
|
|
"'guiName' can be set to override the default guis/endLevel.gui usage.\n"\
|
|
"Orient the entity to specify the view during the stats display.\n"
|
|
|
|
"spawnclass" "idTarget_EndLevel"
|
|
}
|
|
|
|
entityDef target_sessionCommand {
|
|
"editor_color" "1 1 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
|
|
"editor_usage" "Set 'command' to the string to return to session (playdemo e3_1, etc)\n"
|
|
|
|
"spawnclass" "idTarget_SessionCommand"
|
|
}
|
|
|
|
entityDef target_changeGui {
|
|
"editor_color" "1 1 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
|
|
"editor_usage" "Target an entity with an interactive gui surface.\n"\
|
|
"Set 'guiKey' and 'guiValue' to the key/value pair to set on the gui when triggered.\n"
|
|
|
|
"spawnclass" "target_changeGui" //FIXME: change to idTarget_ChangeGui
|
|
|
|
"guiKey" "someKey"
|
|
"guiValue" "newValue"
|
|
}
|
|
|
|
entityDef target_setshaderparm {
|
|
"editor_color" "1 1 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
|
|
"editor_usage" "Target an entity to set shader parms on."
|
|
|
|
"spawnclass" "idTarget_SetShaderParm"
|
|
}
|
|
|
|
entityDef target_setshadertime {
|
|
"editor_color" "1 1 0"
|
|
"editor_mins" "-8 -8 -8"
|
|
"editor_maxs" "8 8 8"
|
|
|
|
"editor_usage" "Target an entity to set the shadertime on."
|
|
|
|
"spawnclass" "idTarget_SetShaderTime"
|
|
}
|
|
|
|
entityDef location {
|
|
"editor_color" "1 1 0"
|
|
"editor_mins" "-4 -4 -4"
|
|
"editor_maxs" "4 4 4"
|
|
|
|
"editor_usage" "Set 'name' to location name\n"
|
|
"spawnclass" "idEntity"
|
|
}
|