Difference between revisions of "Map Template:BaseTeamplay"

From Fortress Forever Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
{{Infobox manual/Header}}
 
{{Infobox manual/Header}}
 +
base_teamplay includes the basic team-oriented objects needed for most FF maps. To enable it, put this line into your map's Lua file.
 +
<pre>IncludeScript("base_teamplay");</pre>
 +
Note: Most gameplay scripts already include base_teamplay. If you have included one of those already, this step is not necessary.
 +
 +
Simply place the specified type of entity in your map, and give it the name in bold. The game will take care of the rest.
 +
 +
In the list below, substituting 'yellow' or 'green' will to support those teams.
 
=Backpacks=
 
=Backpacks=
 
*<b>healthkit</b> (info_ff_script): Health kit containing 50 health
 
*<b>healthkit</b> (info_ff_script): Health kit containing 50 health

Revision as of 09:53, 14 June 2009


base_teamplay includes the basic team-oriented objects needed for most FF maps. To enable it, put this line into your map's Lua file.

IncludeScript("base_teamplay");

Note: Most gameplay scripts already include base_teamplay. If you have included one of those already, this step is not necessary.

Simply place the specified type of entity in your map, and give it the name in bold. The game will take care of the rest.

In the list below, substituting 'yellow' or 'green' will to support those teams.

Backpacks

  • healthkit (info_ff_script): Health kit containing 50 health
  • armorkit (info_ff_script): Armor pack containing 200 armour
  • ammobackpack (info_ff_script): Backpack containing 20 rpg rounds, 50 bullets, 50 nails, 100 shells, 15 rockets, and 70 cells
  • grenbackpack (info_ff_script): Backpack containing 2 primary grenades and 2 secondary grenades
  • bluehealthkit (info_ff_script): see above, for blue team
  • bluearmorkit (info_ff_script): see above, for blue team
  • blueammobackpack (info_ff_script): see above, for blue team
  • bluegrenbackpack (info_ff_script): see above, for blue team
  • redhealthkit (info_ff_script): see above, for red team
  • redarmorkit (info_ff_script): see above, for red team
  • redammobackpack (info_ff_script): see above, for red team
  • redgrenbackpack (info_ff_script): see above, for red team

Respawn Doors

  • blue_respawndoor (trigger_multiple): Validator for blue respawn door
  • red_respawndoor (trigger_multiple): Validator for red respawn door

Spawn points

  • bluespawn (info_ff_teamspawn): Spawn point for blue player
  • redspawn (info_ff_teamspawn): Spawn point for red player