Difference between revisions of "Map Template:BaseTeamplay"
Line 46: | Line 46: | ||
=Clipping= | =Clipping= | ||
− | + | All clips use <b>[[Entity:trigger ff clip|trigger_ff_clip]]</b> | |
− | * | + | *'''clip_blue''' - clips everything except blue players (blue team "owns" the clip brush) |
− | * | + | *'''clip_red''' - clips everything except red players (red team "owns" the clip brush) |
− | * | + | *'''clip_yellow''' - clips everything except yellow players (yellow team "owns" the clip brush) |
+ | *'''clip_green''' - clips everything except green players (green team "owns" the clip brush) | ||
+ | |||
+ | *'''block_buildables''' - blocks buildables and buildable weapons | ||
+ | *'''block_buildablepathing''' - blocks buildables but not buildable weapons | ||
+ | *'''block_buildableweapons''' - blocks buildable weapons but not buildables | ||
+ | *'''block_spawnturrets''' - blocks spawnturrets (turrets can't see or shoot through this) | ||
+ | *'''block_nonplayers''' - blocks everything except players | ||
+ | *'''block_backpacks''' - blocks backpacks | ||
+ | *'''block_flags''' - blocks info_ff_script entities (flags are info_ff_scripts) | ||
[[Category:Map Templates]] [[Category:Mapping]] | [[Category:Map Templates]] [[Category:Mapping]] | ||
{{Infobox manual/Footer}} | {{Infobox manual/Footer}} |
Latest revision as of 13:43, 6 February 2015
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
ClippingAll clips use trigger_ff_clip
|