Item defuser: Difference between revisions
Jump to navigation
Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(-added class hierarchy, cleanup) |
||
Line 1: | Line 1: | ||
{{CD|CItemDefuser|file1=item_defuser.cpp}} | |||
[[File:css_item_defuser.png|thumb|<code>models/weapons/w_defuser.mdl</code> in {{css}}.]] | [[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}}.]] | [[File:csgo_item_defuser.png|thumb|<code>models/weapons/w_defuser.mdl</code> in {{csgo}}.]] | ||
{{this is a|point entity|game1=Counter-Strike: Global Offensive|name=Item_defuser|game=Counter-Strike: Source}} | {{this is a|point entity|game1=Counter-Strike: Global Offensive|name=Item_defuser|game=Counter-Strike: Source}} | ||
==Entity description== | ==Entity description== | ||
Line 10: | Line 10: | ||
{{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). | {{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). | ||
==Flags== | |||
{{fl|1|Start constrained|Prevents the model from moving.}} | |||
==Outputs== | |||
{{IO|OnPlayerTouch|nofgd=1|Does not fire at all?}} | |||
{{IO|OnCacheInteraction|nofgd=1|Does not fire at all?}} | |||
== Related Console Variables == | == Related Console Variables == | ||
Line 30: | Line 37: | ||
|} | |} | ||
[[Category:Counter-Strike: Source Entities]] | [[Category:Counter-Strike: Source Entities]] |
Revision as of 13:32, 2 July 2024
![]() |
---|
CItemDefuser |
![]() |
Item_defuser
is a point entity available in Counter-Strike: Source and
Counter-Strike: Global Offensive.
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).
Flags
- Start constrained : [1]
- Prevents the model from moving.
Outputs
- OnPlayerTouch !FGD
- Does not fire at all?
- OnCacheInteraction !FGD
- Does not fire at all?
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:
|
Categories:
- CBaseAnimating
- Point entities
- Non-internal Counter-Strike: Source entities
- Counter-Strike: Source entities
- Counter-Strike: Source point entities
- Non-internal Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive point entities
- Counter-Strike: Source Entities