Template:Tfc kv criteria: Difference between revisions
Jump to navigation
Jump to search
Kestrelguy (talk | contribs) (created based off of Team Fortress Classic.fgd.) |
No edit summary |
||
Line 5: | Line 5: | ||
* 2: Red | * 2: Red | ||
* 3: Yellow | * 3: Yellow | ||
* 4: Green}} | * 4: Green | ||
}} | |||
{{KV|Targetname of teamcheck goal|intn=teamcheck|string|only={{tfc}}}} | {{KV|Targetname of teamcheck goal|intn=teamcheck|string|only={{tfc}}}} | ||
{{kV|Player class allowed to use goal|intn=playerclass|only={{tfc}}|choices| | {{kV|Player class allowed to use goal|intn=playerclass|only={{tfc}}|choices| | ||
Line 19: | Line 20: | ||
* 9: Engineer | * 9: Engineer | ||
}} | }} | ||
{{KV|Has item #|intn=items_allowed|integer|only={{TFC}}| | {{KV|Has item #|intn=items_allowed|integer|only={{TFC}}|The player must be carrying this item to use this entity.}} | ||
{{KV|Has item from group #|intn=h_i_g|integer|only={{TFC}}}} | {{KV|Has item from group #|intn=h_i_g|integer|only={{TFC}}|To use this entity, the player must be carrying any item from this group.}} | ||
{{KV|Hasn't item from group #|intn=hasnt_item_from_group|integer|only={{TFC}}| | {{KV|Hasn't item from group #|intn=hasnt_item_from_group|integer|only={{TFC}}|To use this entity, the player must not be carrying any item from this group.}} | ||
{{KV | {{KV|If item # has moved|intn=if_item_has_moved|integer|only={{TFC}}|A player can only use the entity if this item is not in its original spawn location.}} | ||
{{KV | {{KV|If item # hasn't moved|intn=if_item_hasnt_moved|integer|only={{TFC}}|A player can only use the entity if this item is in its original spawn location.}} | ||
{{KV | {{KV|If goal # active|intn=if_goal_is_active|integer|only={{TFC}}|Players can only use the entity if this goal is in the active state.}} | ||
{{KV | {{KV|If goal # inactive|intn=if_goal_is_inactive|integer|only={{TFC}}|Players can only use the entity if this goal is in the inactive state.}} | ||
{{KV | {{KV|If goal # removed|intn=if_goal_is_removed|integer|only={{TFC}}|Players can only use the entity if this goal is in the removed state.}} | ||
{{KV | {{KV|If group # active|intn=if_group_is_active|integer|only={{TFC}}|A player can only use the entity if all the goals in this group are in the active state.}} | ||
{{KV | {{KV|If group # inactive|intn=if_group_is_inactive|integer|only={{TFC}}|A player can only use the entity if all the goals in this group are in the inactive state.}} | ||
{{KV | {{KV|If group # removed|intn=if_group_is_removed|integer|only={{TFC}}|A player can only use the entity if all the goals in this group are in the removed state.}} | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:Keyvalue Templates|criteria]] | [[Category:Keyvalue Templates|criteria]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:06, 1 March 2024
TFCriteria:
- 0: Any
- 1: Blue
- 2: Red
- 3: Yellow
- 4: Green
- Targetname of teamcheck goal (teamcheck) <string> (only in
)
- 0: Any
- 1: Scout
- 2: Sniper
- 3: Soldier
- 4: Demolitions man
- 5: Medic
- 6: Heavy Weapons Guy
- 7: Pyro
- 8: Spy
- 9: Engineer
- Has item # (items_allowed) <integer> (only in
)
- The player must be carrying this item to use this entity.
- Has item from group # (h_i_g) <integer> (only in
)
- To use this entity, the player must be carrying any item from this group.
- Hasn't item from group # (hasnt_item_from_group) <integer> (only in
)
- To use this entity, the player must not be carrying any item from this group.
- If item # has moved (if_item_has_moved) <integer> (only in
)
- A player can only use the entity if this item is not in its original spawn location.
- If item # hasn't moved (if_item_hasnt_moved) <integer> (only in
)
- A player can only use the entity if this item is in its original spawn location.
- If goal # active (if_goal_is_active) <integer> (only in
)
- Players can only use the entity if this goal is in the active state.
- If goal # inactive (if_goal_is_inactive) <integer> (only in
)
- Players can only use the entity if this goal is in the inactive state.
- If goal # removed (if_goal_is_removed) <integer> (only in
)
- Players can only use the entity if this goal is in the removed state.
- If group # active (if_group_is_active) <integer> (only in
)
- A player can only use the entity if all the goals in this group are in the active state.
- If group # inactive (if_group_is_inactive) <integer> (only in
)
- A player can only use the entity if all the goals in this group are in the inactive state.
- If group # removed (if_group_is_removed) <integer> (only in
)
- A player can only use the entity if all the goals in this group are in the removed state.