Item defuser: Difference between revisions
Jump to navigation
Jump to search
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
(Used BaseEntity and BaseAnimating templates. Added code class. Added Related Console Variables) |
(Added images. Added more description.) |
||
Line 1: | Line 1: | ||
[[File:css_item_defuser.png|thumb|<code>models/weapons/w_defuser.mdl</code> in {{css}}.]] | |||
[[File:csgo_item_defuser.png|thumb|<code>models/weapons/w_defuser.mdl</code> in {{csgo}}.]] | |||
{{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}} | ||
{{code class|CItemDefuser|item_defuser.cpp}} | {{code class|CItemDefuser|item_defuser.cpp}} | ||
==Entity description== | ==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. | This [[entity]] represents the defuse kit in [[Bomb Defusal]] maps. When this entity is picked up successfully by a player, it is removed and in code, the <code>CCSPlayer</code>'s <code>m_bHasDefuser</code> field is set to <code>true</code>. | ||
If a CT has picked up this entity, it takes significantly less time to defuse [[weapon_c4|C4]]. Without it, defusing a [[planted_c4]] requires the CT to [[+use]] it for 10 seconds or 5 seconds with a kit. | |||
{{csgo}} The [[item_cutters|cutters]] seen in [[Hostage Rescue]] maps use the same code class and thus are interchangeable with this entity. Both entities make a CT both defuse C4 '''and''' rescue [[hostage_entity|hostages]] faster (1 instead of 4 seconds). | |||
== Related Console Variables == | == Related Console Variables == | ||
Line 19: | Line 24: | ||
| <code>mp_defuser_allocation</code> | | <code>mp_defuser_allocation</code> | ||
| 0 | | 0 | ||
| How to allocate defusers to CTs at the start of a round: | | How to allocate defusers or [[item_cutters|rescure kits]] to CTs at the start of a round: | ||
*0: none | *0: none | ||
*1: random | *1: random |
Revision as of 16:17, 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 and in code, the CCSPlayer
's m_bHasDefuser
field is set to true
.
If a CT has picked up this entity, it takes significantly less time to defuse C4. Without it, defusing a planted_c4 requires the CT to +use it for 10 seconds or 5 seconds with a kit.
The cutters seen in Hostage Rescue maps use the same code class and thus are interchangeable with this entity. Both entities make a CT both defuse C4 and rescue hostages faster (1 instead of 4 seconds).
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 or rescure kits 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?
