CPhysPropLootCrate

From Source Entities
(Redirected from Prop loot crate)
Jump to navigation Jump to search

CPhysPropLootCrate is a class in Csgo-small.png for damageable containers in danger zone. This class of entities functions similarly to prop_physics, except that this class tumbles differently and takes specific damage amounts from certain weapons.

Classnames:

  • prop_loot_crate (Not in FGD) - Small wood box. Does not have anything inside when created manually.

FGD Code[edit | edit source]

@PointClass base(prop_physics_multiplayer) studioprop() = prop_loot_crate : "Small wood box from danger zone. Nothing will spawn on its own when it breaks."
[
	model(choices) : "Model" : "models/props_survival/cases/case_explosive.mdl" : "Model to use."
	[
		"models/props_survival/cases/case_explosive.mdl" : "Explosive"
		"models/props_survival/cases/case_pistol.mdl" : "Pistol"
		"models/props_survival/cases/case_tools.mdl" : "Tools"
	]
]

See Also[edit | edit source]