Func forcefield: Difference between revisions
Jump to navigation
Jump to search

Note:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{lang|Func forcefield}}{{stub|What does it look like when compiled with Hammer?}} | {{lang|Func forcefield}}{{stub|What does it look like when compiled with Hammer?}} | ||
{{this is a| | {{this is a|brush entity|game=Team Fortress 2|name=func_forcefield}} Its one of the few brush entities to have team filtered collisions, alongside [[func_respawnroomvisualizer]]. All teams but the team this brush entity belongs to, are blocked by it. This entity ([[func_forcefield]]) remains visible to both teams regardless of distance. | ||
Despite the render quirk, the entity still finds moments with its team filtered collision keyvalue, often when users edit entities of an already compiled map. Some methods involved are [[Patching_levels_with_lump_files|lump file patching]] or [https://wiki.alliedmods.net/SourceMod SourceMod] plugins. | Despite the render quirk, the entity still finds moments with its team filtered collision keyvalue, often when users edit entities of an already compiled map. Some methods involved are [[Patching_levels_with_lump_files|lump file patching]] or [https://wiki.alliedmods.net/SourceMod SourceMod] plugins. |
Revision as of 18:55, 17 May 2024


func_forcefield
is a brush entity available in Team Fortress 2. Its one of the few brush entities to have team filtered collisions, alongside func_respawnroomvisualizer. All teams but the team this brush entity belongs to, are blocked by it. This entity (func_forcefield) remains visible to both teams regardless of distance.
Despite the render quirk, the entity still finds moments with its team filtered collision keyvalue, often when users edit entities of an already compiled map. Some methods involved are lump file patching or SourceMod plugins.
Keyvalues
TeamNum:
- Initial Team (TeamNum) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in
) !FGD

This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.


Inputs
- SetDamageFilter <targetname >
- Sets a filter for this entity for when it receives damage.
- EnableDamageForces
- Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
- DisableDamageForces
- Prevents the entity from being pushed by damage done to it.
Todo: move/mention at proper place
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.