Item healthkit ragdoll clone: Difference between revisions
Jump to navigation
Jump to search
Bug:Doesn't collide with other CBasePickup (except item_healthkit_ragdoll_clone) and weapon_ entities.
m (Classifying as model entity) |
MyGamepedia (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
{{O|OnPlayerDenied|param=void|Fires if the player has not picked it up when touched.}} | {{O|OnPlayerDenied|param=void|Fires if the player has not picked it up when touched.}} | ||
{{O|OnPlayerPickup|param=void|Fires if the player picked it up.}} | {{O|OnPlayerPickup|param=void|Fires if the player picked it up.}} | ||
==Dedicated Console Variables== | |||
{{bms|4}} | |||
{{varcom|start}} | |||
{{varcom|cl_pickup_colorcorrection|1|[[Bool]]|Enable/disable color correction when this entity is picked up.}} | |||
{{varcom|end}} | |||
{{bms12|4}} | |||
{{varcom|start}} | |||
{{varcom|cc_pickup_enable|1|[[Bool]]|Enable/disable color correction when this entity is picked up.}} | |||
{{varcom|end}} | |||
==See also== | ==See also== |
Revision as of 07:23, 20 May 2025

This entity is not in the FGD by default.
It should not be put directly in a map because it will not heal players in this way. It is created by the game when replacing item_healthkit and item_healthvial, in this way, it will heal.
It should not be put directly in a map because it will not heal players in this way. It is created by the game when replacing item_healthkit and item_healthvial, in this way, it will heal.
item_healthkit_ragdoll_clone
is a model entity available in Black Mesa. This entity is a ragdoll clone of item_healthkit and item_healthvial that appears in singleplayer for prop_ragdoll features. Does not heal player if placed directly in a map or if created via ent_create item_healthkit_ragdoll_clone model "models/weapons/w_medkit.mdl". Most most inputs, outputs and properties are same as CRagdollProp.
Represented by class CItem_HealthKitRagdoll
.

Outputs
- OnPlayerDenied <void>
- Fires if the player has not picked it up when touched.
- OnPlayerPickup <void>
- Fires if the player picked it up.
Dedicated Console Variables
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
cl_pickup_colorcorrection | 1 | Bool | Enable/disable color correction when this entity is picked up. |
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
cc_pickup_enable | 1 | Bool | Enable/disable color correction when this entity is picked up. |
See also
- item_healthkit - the big healthkit
- item_healthvial - the small healthkit
- item_syringe - the syringe used by npc_human_scientist to heath players