Difference between revisions of "Map Template:BaseTeamplay"
From Fortress Forever Wiki
Jump to navigationJump to searchm |
|||
Line 1: | Line 1: | ||
{{Infobox manual/Header}} | {{Infobox manual/Header}} | ||
+ | {{Infobox_mapping}} | ||
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. | 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> | <pre>IncludeScript("base_teamplay");</pre> | ||
Line 40: | Line 41: | ||
=Spawn Protection= | =Spawn Protection= | ||
− | *<b>nobuild</b> (trigger_ff_script): No players will be allowed to build here | + | *<b>[[Lua:nobuild|nobuild]]</b> (trigger_ff_script): No players will be allowed to build here |
− | *<b>nogrens</b> (trigger_ff_script): No grenades will explode here | + | *<b>[[Lua:nogrens|nogrens]]</b> (trigger_ff_script): No grenades will explode here |
− | *<b>noannoyances</b> (trigger_ff_script): Within this volume, no grenades will explode, nothing may be built, and players can't be infected by a medic. | + | *<b>[[Lua:noannoyances|noannoyances]]</b> (trigger_ff_script): Within this volume, no grenades will explode, nothing may be built, and players can't be infected by a medic. |
[[Category:Map Templates]] [[Category:Mapping]] | [[Category:Map Templates]] [[Category:Mapping]] | ||
{{Infobox manual/Footer}} | {{Infobox manual/Footer}} |
Revision as of 09:58, 29 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 support yellow and green teams. Backpacks
Respawn Doors
Elevator Triggers
Spawn points
Detpack triggers
This entity has no effect by default. To cause walls to open, effects to fire, etc. Place a logic_relay in your map, and name it 'neutral_det_relay', 'blue_det_relay', 'red_det_relay', etc. Use the logic_relay's onTrigger output to fire events within the map. Spawn Protection
|