Physics cannister
Jump to navigation
Jump to search


Template:Point ent It is a physically simulated gas canister (with a misspelled entity name) that can have its cap shot off, at which point gas will start escaping, causing the canister to fly around. If it takes enough damage, it will explode.







nozzle
attachment point, which is where gas will escape and thrust will be produced from.The thrust will be simulated along the Z axis, visualized as the blue line of the attachment in HLMV.
Keyvalues
- Explosion Damage ([todo internal name (i)]) <string>
- The amount of damage done by the explosion created when the canister blows up.
- Explosion Radius ([todo internal name (i)]) <string>
- The radius of the explosion to create when the canister blows up.
- Health ([todo internal name (i)]) <integer>
- The amount of damage the canister takes before exploding.
- Thrust ([todo internal name (i)]) <string>
- When the cap has been blown off, and the escaping gas is thrusting the canister about, this is the amount of thrust generated.
- Fuel Seconds ([todo internal name (i)]) <string>
- The amount of time that gas leaks from the canister before being considered empty.
- Thruster Sound ([todo internal name (i)]) <sound>
- The sound played when the gas is escaping from the canister.

Flags
- Start Asleep : [1]
- Explodes : [2]
Inputs
- Activate <string >
- Start gas escaping from the canister.
- Deactivate <string >
- Stop gas escaping from the canister.
- Explode <string >
- Force the canister to explode.
- Wake
- Wakes up the canister, if it is sleeping.


Outputs
- OnActivate
- Fired when gas starts to escape from the canister.
- OnAwakened
- Fired when this entity becomes awake (collision/force is applied).

