Difference between revisions of "Map Template:Attack/Defend"
From Fortress Forever Wiki
Jump to navigationJump to searchm |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Infobox manual/Header}} | ||
+ | =Introduction= | ||
+ | This are the defaults for a basic Attack and Defend Dustbowl-style map, as set up by base_ad.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): CP1 Gate that opens on round start (all "open" flags turned off so only Lua can open it) | ||
+ | *<b>cp2_gate</b> (func_door): ... and so | ||
+ | *<b>cp3_gate</b> (func_door): ... on etc. | ||
+ | | ||
+ | *<b>cp1_exit</b> (func_door): CP1 Gate that closes on capture, to prevent going back (all "open" flags turned off so only Lua can open it) | ||
+ | *<b>cp2_exit</b> (func_door): ... and so | ||
+ | *<b>cp3_exit</b> (func_door): ... on etc. | ||
+ | | ||
+ | |||
+ | =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]] | ||
+ | {{Infobox manual/Footer}} |
Latest revision as of 15:56, 31 December 2007
IntroductionThis are the defaults for a basic Attack and Defend Dustbowl-style map, as set up by base_ad.lua. All of the Basic Teamplay entities are supported. For the Invade and Defend variant, see Invade/Defend EntitiesFlags
Command Points
Respawn Doors
Respawn Points
Area Gates
Lua ScriptBase ScriptIncludeScript("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")
|