Difference between revisions of "Map Template:CTF"

From Fortress Forever Wiki
Jump to navigationJump to search
(blueflag, bluecap etc. have underscores in them!)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{Infobox manual/Header}}
 
=Introduction=
 
=Introduction=
 
This is your standard run-of-the-mill Capture the Flag map. All of the [[MapTemplate:BaseTeamplay|Basic Teamplay]] entities are supported.
 
This is your standard run-of-the-mill Capture the Flag map. All of the [[MapTemplate:BaseTeamplay|Basic Teamplay]] entities are supported.
  
 
=Entities=
 
=Entities=
*<b>redflag</b> (info_ff_script): Location for the red flag
+
*<b>red_flag</b> (info_ff_script): Location for the red flag
*<b>blueflag</b> (info_ff_script): Location for the blue flag
+
*<b>blue_flag</b> (info_ff_script): Location for the blue flag
*<b>redcap</b> (func_ff_script): Location for the red capture point (to capture the blue flag)
+
*<b>red_cap</b> (trigger_ff_script): Location for the red capture point (to capture the blue flag)
*<b>bluecap</b> (func_ff_script): Location for the blue capture point (to capture the red flag)
+
*<b>blue_cap</b> (trigger_ff_script): Location for the blue capture point (to capture the red flag)
  
 
=Lua Script=
 
=Lua Script=
Line 13: Line 14:
  
 
IncludeScript("base_ctf");</pre>
 
IncludeScript("base_ctf");</pre>
 +
 +
[[Category:Map Templates]]  [[Category:Mapping]]
 +
{{Infobox manual/Footer}}

Latest revision as of 06:32, 24 June 2012


Introduction

This is your standard run-of-the-mill Capture the Flag map. All of the Basic Teamplay entities are supported.

Entities

  • red_flag (info_ff_script): Location for the red flag
  • blue_flag (info_ff_script): Location for the blue flag
  • red_cap (trigger_ff_script): Location for the red capture point (to capture the blue flag)
  • blue_cap (trigger_ff_script): Location for the blue capture point (to capture the red flag)

Lua Script

POINTS_PER_CAPTURE = 10;
FLAG_RETURN_TIME = 15

IncludeScript("base_ctf");