Difference between revisions of "Map Template:Attack/Defend"
From Fortress Forever Wiki
Jump to navigationJump to searchm (MapTemplate:Invade/Defend moved to MapTemplate:Attack/Defend: Making categories consistent throughout the Wiki/what they were refered to in TFC) |
(First revision of article) |
||
Line 1: | Line 1: | ||
+ | =Introduction= | ||
+ | This are the defaults for a basic Attack and Defend Dustbowl-style map, as set up by base_id.lua. All of the [[MapTemplate:BaseTeamplay|Basic Teamplay]] entities are supported. | ||
+ | |||
+ | For the Invade and Defend variant, see [[MapTemplate:Invade/Defend|Invade/Defend]] | ||
+ | | ||
+ | =Entities= | ||
+ | ==Flags== | ||
+ | *<b>cp1_flag</b> (info_ff_script): Command Point 1 Flag start position | ||
+ | *<b>cp2_flag</b> (info_ff_script): ... and so | ||
+ | *<b>cp3_flag</b> (info_ff_script): ... on etc. | ||
+ | | ||
+ | ==Command Points== | ||
+ | *<b>cp1_cap</b> (trigger_ff_script): ... Capture zone for Command Point One | ||
+ | *<b>cp2_cap</b> (trigger_ff_script): ... and so | ||
+ | *<b>cp3_cap</b> (trigger_ff_script): ... on etc. | ||
+ | | ||
+ | ==Respawn Doors== | ||
+ | *<b>start_door</b> (func_door): Initital respawn door for attacking team | ||
+ | *<b>alpha_door</b> (func_door): Initital respawn door for defending team/CP2 respawn door for attacking team | ||
+ | *<b>beta_door</b> (func_door): CP2 respawn door for defening team/CP3 respawn door for attacking team | ||
+ | *<b>final_door</b> (func_door): CP3 respawn door for defending team | ||
+ | | ||
+ | ==Respawn Points== | ||
+ | *<b>start_spawn</b> (info_ff_spawn): Initital respawn point for attacking team | ||
+ | *<b>alpha_spawn</b> (info_ff_spawn): Initital respawn point for defending team/CP2 respawn point for attacking team | ||
+ | *<b>beta_spawn</b> (info_ff_spawn): CP2 respawn point for defening team/CP3 respawn point for attacking team | ||
+ | *<b>final_spawn</b> (info_ff_spawn): CP3 respawn point for defending team | ||
+ | | ||
+ | ==Area Gates== | ||
+ | *<b>cp1_gate</b> (func_door): CP3 respawn point for defending team (all "open" flags turned off so only Lua can open it) | ||
+ | *<b>cp2_gate</b> (func_door): CP3 respawn point for defending team (all "open" flags turned off so only Lua can open it) | ||
+ | *<b>cp3_gate</b> (func_door): CP3 respawn point for defending team (all "open" flags turned off so only Lua can open it) | ||
+ | |||
+ | | ||
+ | =Lua Script= | ||
+ | ==Base Script== | ||
+ | <pre>IncludeScript("base_ad");</pre> | ||
+ | | ||
+ | ==Overridable Globals== | ||
+ | (NOTE: Add these to the top of your own map's Lua file along with the new value, e.g. "GLOBAL_NAME = 10") | ||
+ | *<b>POINTS_PER_PERIOD</b> (Default: 5): Points scored by the defenders each 'period' | ||
+ | *<b>PERIOD_TIME</b> (Default: 60): Length of each 'period', in seconds | ||
+ | | ||
+ | |||
[[Category:Map Templates]] [[Category:Mapping]] | [[Category:Map Templates]] [[Category:Mapping]] |
Revision as of 22:07, 28 November 2007
Introduction
This are the defaults for a basic Attack and Defend Dustbowl-style map, as set up by base_id.lua. All of the Basic Teamplay entities are supported.
For the Invade and Defend variant, see Invade/Defend
Entities
Flags
- cp1_flag (info_ff_script): Command Point 1 Flag start position
- cp2_flag (info_ff_script): ... and so
- cp3_flag (info_ff_script): ... on etc.
Command Points
- cp1_cap (trigger_ff_script): ... Capture zone for Command Point One
- cp2_cap (trigger_ff_script): ... and so
- cp3_cap (trigger_ff_script): ... on etc.
Respawn Doors
- start_door (func_door): Initital respawn door for attacking team
- alpha_door (func_door): Initital respawn door for defending team/CP2 respawn door for attacking team
- beta_door (func_door): CP2 respawn door for defening team/CP3 respawn door for attacking team
- final_door (func_door): CP3 respawn door for defending team
Respawn Points
- start_spawn (info_ff_spawn): Initital respawn point for attacking team
- alpha_spawn (info_ff_spawn): Initital respawn point for defending team/CP2 respawn point for attacking team
- beta_spawn (info_ff_spawn): CP2 respawn point for defening team/CP3 respawn point for attacking team
- final_spawn (info_ff_spawn): CP3 respawn point for defending team
Area Gates
- cp1_gate (func_door): CP3 respawn point for defending team (all "open" flags turned off so only Lua can open it)
- cp2_gate (func_door): CP3 respawn point for defending team (all "open" flags turned off so only Lua can open it)
- cp3_gate (func_door): CP3 respawn point for defending team (all "open" flags turned off so only Lua can open it)
Lua Script
Base Script
IncludeScript("base_ad");
Overridable Globals
(NOTE: Add these to the top of your own map's Lua file along with the new value, e.g. "GLOBAL_NAME = 10")
- POINTS_PER_PERIOD (Default: 5): Points scored by the defenders each 'period'
- PERIOD_TIME (Default: 60): Length of each 'period', in seconds