Item defuser: Difference between revisions
Jump to navigation
Jump to search
Note:
The cutters seen in Hostage Rescue maps use the same code class.
Note:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history
Note:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history
Note:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history
No edit summary |
(Used BaseEntity and BaseAnimating templates. Added code class. Added Related Console Variables) |
||
Line 1: | Line 1: | ||
{{base point multi|Item_defuser|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} | {{base point multi|Item_defuser|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} | ||
{{Note| {{csgo}} The [[item_cutters|cutters]] seen in [[Hostage Rescue]] maps use the same code class.}} | |||
{{code class|CItemDefuser|item_defuser.cpp}} | |||
==Entity description== | ==Entity description== | ||
This [[entity]] represents the defuse kit | This [[entity]] represents the defuse kit in [[Bomb Defusal]] maps. When this entity is picked up successfully by a player, it is removed. | ||
== Related Console Variables == | |||
These [[ConVar]]s exist only in {{csgo}}. | |||
{| class=standard-table | |||
! ConVar | |||
! Default | |||
! Description | |||
|- | |||
| <code>mp_death_drop_defuser</code> | |||
| 1 | |||
| Whether or not players drop their defuser on death. | |||
|- | |||
| <code>mp_defuser_allocation</code> | |||
| 0 | |||
| How to allocate defusers to CTs at the start of a round: | |||
*0: none | |||
*1: random | |||
*2: all CTs | |||
|} | |||
==Keyvalues== | ==Keyvalues== | ||
{{ScrollBox| | |||
{{KV BaseEntity|noscroll=1}} | |||
{{KV BaseAnimating|noscroll=1}} | |||
}} | |||
==Flags== | |||
{{fl|1|Start constrained|Prevents the model from moving.}} | |||
==Inputs== | ==Inputs== | ||
{{ScrollBox| | |||
{{I BaseEntity|noscroll=1}} | |||
{{I BaseAnimating|noscroll=1}} | |||
}} | |||
==Outputs== | ==Outputs== | ||
{{IO|OnPlayerTouch|nofgd=1|Does not fire at all?}} | |||
{{IO|OnCacheInteraction|nofgd=1|Does not fire at all?}} | |||
{{O BaseEntity}} | |||
{{O BaseAnimating}} | |||
[[Category:Counter-Strike: Source Entities]] | [[Category:Counter-Strike: Source Entities]] |
Revision as of 00:11, 23 April 2022


Entity description
This entity represents the defuse kit in Bomb Defusal maps. When this entity is picked up successfully by a player, it is removed.
Related Console Variables
These ConVars exist only in .
ConVar | Default | Description |
---|---|---|
mp_death_drop_defuser
|
1 | Whether or not players drop their defuser on death. |
mp_defuser_allocation
|
0 | How to allocate defusers to CTs at the start of a round:
|
Keyvalues

Flags
- Start constrained : [1]
- Prevents the model from moving.
Inputs

Outputs
- OnPlayerTouch !FGD
- Does not fire at all?
- OnCacheInteraction !FGD
- Does not fire at all?
