Editing Additions to existing entities
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
== Targeting == | == Targeting == | ||
Line 52: | Line 49: | ||
*$maxlevel <int> | *$maxlevel <int> | ||
**Maximum level | **Maximum level | ||
*$rapidfire <1 | *$rapidfire <1.0> | ||
**Allow firing every tick, rather than after every 3rd tick | **Allow firing every tick, rather than after every 3rd tick | ||
*$ammomult <float> | *$ammomult <float> | ||
Line 62: | Line 59: | ||
*$rocketweapon <string> | *$rocketweapon <string> | ||
**Use a specific weapon name as rocket attack, can be a custom weapon | **Use a specific weapon name as rocket attack, can be a custom weapon | ||
*$sentrymodelprefix <string> | *$sentrymodelprefix <string> | ||
**Sentry model prefix | **Sentry model prefix | ||
**Example: models/buildables/sentry | **Example: models/buildables/sentry | ||
=== Outputs === | === Outputs === | ||
Line 102: | Line 91: | ||
**Teleporter model prefix | **Teleporter model prefix | ||
**Example: models/buildables/teleporter | **Example: models/buildables/teleporter | ||
=== Outputs === | === Outputs === | ||
Line 125: | Line 112: | ||
**Dispenser model prefix | **Dispenser model prefix | ||
**Example: models/buildables/dispenser | **Example: models/buildables/dispenser | ||
==Weapon Mimic (tf_point_weapon_mimic)== | ==Weapon Mimic (tf_point_weapon_mimic)== | ||
Line 175: | Line 160: | ||
*When tank starts deploying, and there is at least one PointTemplate assigned to it, "OnUser4" output is activated | *When tank starts deploying, and there is at least one PointTemplate assigned to it, "OnUser4" output is activated | ||
=== Outputs=== | === Outputs=== | ||
Line 416: | Line 391: | ||
***stop interrupt action | ***stop interrupt action | ||
****Stops current interrupt action | ****Stops current interrupt action | ||
***despawn | ***despawn | ||
****Forces to bot to despawn | ****Forces to bot to despawn | ||
Line 456: | Line 418: | ||
*$ResetExtraItems | *$ResetExtraItems | ||
**Strips all extra loadout items from the player | **Strips all extra loadout items from the player | ||
=== Outputs === | === Outputs === | ||
Line 511: | Line 463: | ||
* $filter <entity> | * $filter <entity> | ||
** Targetname of a filter that defines if player can pick up the flag | ** Targetname of a filter that defines if player can pick up the flag | ||
== func_flagdetectionzone == | == func_flagdetectionzone == | ||
Line 535: | Line 472: | ||
*$filterplayer <entity> | *$filterplayer <entity> | ||
** Targetname of a filter that defines if player with flag triggers the zone | ** Targetname of a filter that defines if player with flag triggers the zone | ||
==All entities == | ==All entities == | ||
Line 627: | Line 525: | ||
**Rotate relative to parent (world) | **Rotate relative to parent (world) | ||
*$GetEntIndex <string> | *$GetEntIndex <string> | ||
**parameter format: entity|input | **parameter format: entity|input | ||
**example: !activator|$DisplayTextCenter | **example: !activator|$DisplayTextCenter | ||
**Triggers the input of an entity, with entity index as parameter | |||
*$RemoveOutput <string> | *$RemoveOutput <string> | ||
**remove outputs with given name | **remove outputs with given name | ||
Line 641: | Line 539: | ||
**Set keyvalue to specified value | **Set keyvalue to specified value | ||
*$GetKey$(keyvalue name) <string> | *$GetKey$(keyvalue name) <string> | ||
**parameter format: entity|input|default value | **parameter format: entity|input|default value | ||
**example: !activator|$DisplayTextCenter|def | **example: !activator|$DisplayTextCenter|def | ||
** Trigger the input of an entity, with keyvalue as a paramer (default value if not found) | |||
*$SetVar$(variable name) <string> | *$SetVar$(variable name) <string> | ||
**Set custom entity variable | **Set custom entity variable | ||
*$GetVar$(variable name) <string> | *$GetVar$(variable name) <string> | ||
**parameter format: entity|input|default value | **parameter format: entity|input|default value | ||
** | **example: !activator|$DisplayTextCenter|def | ||
**Trigger the input of an entity, with variable as a paramer (default value if not found) | |||
*$SetData$([https://raw.githubusercontent.com/powerlord/tf2-data/master/datamaps.txt datamap] prop name) <string> | *$SetData$([https://raw.githubusercontent.com/powerlord/tf2-data/master/datamaps.txt datamap] prop name) <string> | ||
**Set datamap property to specified value | **Set datamap property to specified value | ||
*$GetData$([https://raw.githubusercontent.com/powerlord/tf2-data/master/datamaps.txt datamap] prop name) <string> | *$GetData$([https://raw.githubusercontent.com/powerlord/tf2-data/master/datamaps.txt datamap] prop name) <string> | ||
**parameter format: entity|input|default value | **parameter format: entity|input|default value | ||
** | **example: !activator|$DisplayTextCenter|def | ||
** | **Trigger the input of an entity, with datamap prop as a paramer (default value if not found) | ||
*$SetProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | *$SetProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | ||
**Set send property to specified value. Can also set arrays. | **Set send property to specified value. Can also set arrays. | ||
Line 668: | Line 561: | ||
***sets player ammo type array to 3, which is metal carried | ***sets player ammo type array to 3, which is metal carried | ||
*$GetProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | *$GetProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | ||
**parameter format: entity|input|default value | **parameter format: entity|input|default value | ||
** | **example: !activator|$DisplayTextCenter|def | ||
** | **Trigger the input of an entity, with send prop as a paramer (default value if not found) | ||
*$SetClientProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | *$SetClientProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | ||
**Set fake send prop value only seen by players. Can also set arrays. Useful for setting fake mission name or wave number, as $SetProp would trigger unwanted behavior | **Set fake send prop value only seen by players. Can also set arrays. Useful for setting fake mission name or wave number, as $SetProp would trigger unwanted behavior | ||
Line 696: | Line 586: | ||
*$ShowToAll | *$ShowToAll | ||
**Shows previously hidden entity to all players | **Shows previously hidden entity to all players | ||
===Outputs=== | ===Outputs=== |