Weapon oxygentank: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-oxygen)
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Ent not in fgd|nolink=1}}
{{Ent not in fgd|nolink=1}}
{{CD|CPropaneTank}}
{{CD|COxygenTank}}
{{this is a|point entity|name=weapon_oxygentank|series=Left 4 Dead}} This entity is created when picking up {{ent|prop_physics}} with model <code>models/props_equipment/OxygenTank01.mdl</code>. When thrown or dropped this entity is killed and mentioned prop_physics is spawned back which when shot causes an oxygen leak and an explosion few seconds after that is achieved by spawning {{ent|pipe_bomb_projectile}} that immediately explodes.
{{WeaponL4D/image|size=200px}}
{{this is a|model entity|name=weapon_oxygentank|series=Left 4 Dead}} This entity is created when picking up {{ent|prop_physics}} with model <code>models/props_equipment/OxygenTank01.mdl</code>. When thrown or dropped this entity is killed and mentioned prop_physics is spawned back which when shot causes an oxygen leak and an explosion few seconds after that is achieved by spawning {{ent|pipe_bomb_projectile}} that immediately explodes.


{{note|In {{l4d2|4}} the leaking phase attracts commons in certain radius}}
{{note|In {{l4d2|4}} the leaking phase attracts commons in certain radius}}
{{note|To add propane tank spawns to the map either prop_physics with model <code>models/props_equipment/OxygenTank01.mdl</code> can be used or {{ent|weapon_item_spawn}} with proper settings}}
{{note|To add propane tank spawns to the map either prop_physics with model <code>models/props_equipment/OxygenTank01.mdl</code> can be used or {{ent|weapon_item_spawn}} with proper settings}}
{{note|Default model name: <code>models/props_equipment/OxygenTank01.mdl</code>}}
{{bug|Taking other carryable while holding this will drop weapon_oxygentank to the ground instead of spawning the mentioned prop_physics. This entity doesn't explode when shooting it and cannot be damaged|tested=l4d2}}
{{bug|Taking other carryable while holding this will drop weapon_oxygentank to the ground instead of spawning the mentioned prop_physics. This entity doesn't explode when shooting it and cannot be damaged}}
 
== Keyvalues ==
{{KV Model|nofgd=|spawn model=models/props_equipment/OxygenTank01.mdl}}


== See Also ==
== See Also ==

Latest revision as of 12:25, 19 May 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
COxygenTank
CCarriedProp
CBaseBackpackItem
CTerrorWeapon
CWeaponCSBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
models/props_equipment/oxygentank01.jpg

weapon_oxygentank is a model entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. This entity is created when picking up prop_physics with model models/props_equipment/OxygenTank01.mdl. When thrown or dropped this entity is killed and mentioned prop_physics is spawned back which when shot causes an oxygen leak and an explosion few seconds after that is achieved by spawning pipe_bomb_projectile that immediately explodes.

Note.pngNote:In Left 4 Dead 2 Left 4 Dead 2 the leaking phase attracts commons in certain radius
Note.pngNote:To add propane tank spawns to the map either prop_physics with model models/props_equipment/OxygenTank01.mdl can be used or weapon_item_spawn with proper settings
Icon-Bug.pngBug:Taking other carryable while holding this will drop weapon_oxygentank to the ground instead of spawning the mentioned prop_physics. This entity doesn't explode when shooting it and cannot be damaged  (tested in: l4d2)

Keyvalues

World Model (model) <model path>[ Edit ]
This entity's model is set to: models/props_equipment/OxygenTank01.mdl on spawn so specifying this keyvalue will have no effect.

See Also