Difference between revisions of "Map Template:CTF"

From Fortress Forever Wiki
Jump to navigationJump to search
 
Line 3: Line 3:
  
 
=Entities=
 
=Entities=
[b]redflag[/b] (info_ff_script): Location for the red flag
+
*<b>redflag</b> (info_ff_script): Location for the red flag
[b]blueflag[/b] (info_ff_script): Location for the blue flag
+
*<b>blueflag</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>redcap</b> (func_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>bluecap</b> (func_ff_script): Location for the blue capture point (to capture the red flag)
  
 
=Lua Script=
 
=Lua Script=
[code]POINTS_PER_CAPTURE = 10;
+
<pre>POINTS_PER_CAPTURE = 10;
 
FLAG_RETURN_TIME = 15
 
FLAG_RETURN_TIME = 15
  
IncludeScript("base_ctf");[/code]
+
IncludeScript("base_ctf");</pre>

Revision as of 16:26, 4 December 2005

Introduction

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

Entities

  • redflag (info_ff_script): Location for the red flag
  • blueflag (info_ff_script): Location for the blue flag
  • redcap (func_ff_script): Location for the red capture point (to capture the blue flag)
  • bluecap (func_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");