Env headcrabcanister

From Valve Developer Community
Revision as of 09:28, 6 December 2007 by VimonElrac (talk | contribs)
Jump to navigation Jump to search

8700c blackberry free ringtone free nokia 3310 ringtones composer take on me ringtone american idiot ringtone dolor puro ringtone free voice ringtones for sprint phones real music ringtone maker charge free ringtone phones ringtone converter mp3 ogg amr mmf wav flavor flav ringtones for sprint orangeworld ringtones lg vx10 ringtone text to get free ringtone free dueling banjo ringtone download free kyocera ringtones wap download ringtones free personalize ringtone free razor ringtones polyphonics ringtones.com 650 ringtone treo free nextel i710 ringtone free verizon ringtone downloads caddyshack ringtones 2 pac real ringtone qcp ringtone free pink panther ringtone for alltel mcdonalds midiringtones kevin fowler ringtone free gospel ringtone sprint free download polyphonic ringtone for motorola free pcs ringtone site sprint web ringtone converters animal free ringtone sound free nokia 1100 ringtones monophonic radio ringtones nextel.com ringtone www cingular ringtones com vnv nation ringtone ff7 ringtone indian ringtones for samsung mindless self indulgence ringtones n70 nokia ringtone virgin mobile ringtone downloads free samsung ringtones downloads florida state university ringtone yes ringtone free john cena ringtone ringtone real panasonic composer ringtones free nokia 3560 ringtones us betty black jam ram ringtone free kyocera ringtone verizon free qcp ringtone sanford and son ringtone for nextel ringtone v220 ringtone for nokia tracfones ringtones free alltel keypress motorola ringtone t720 uscc ringtones believer daydream ringtone yahama ringtone 120e composable free motorola ringtone magix ringtonemaker 1100 keypress nokia ringtone 8700 blackberry mp3 ringtone lg 5450 ringtones 2 box juke realtone ringtone ringtones kyocera energi free wav ringtones for mobiles verizon phones ringtones alltel download free phone ringtone gilmore girls theme song ringtone can t touch this ringtone real latin ringtones free nokia composer format ringtone cdma ringtones download free jodeci ringtone nextones free ringtones nickelback - save me ringtones edition new ringtone journey don t stop believing ringtone final fantasy ringtone for t mobile under the sea ringtone kyocera kx13 ringtones ghetto gospel real ringtone virgin mobile usa ringtones 8100 ringtone sanyo sprint bachata ringtone how do you make your own ringtones usa ringtones free go mobile phone ringtone t midi nokia ringtones samsung sch a670 ringtone phone razr ringtone 70s porno music ringtones voice ringtones verizon c168 motorola ringtone download nextel ringtone mp3 ringtone wallpaper and mobile game philadelphia eagles fight song ringtones Template:Wrongtitle

Entity description

Headcrab Canister

Headcrab Canister.

The canister is a mortar containing a payload of headcrabs. The mortar inflicts damage within a radius of where it lands and releases headcrabs after impact. Triggers and entity options offer control over impact damage and when the headcrabs are released, among other options.

For an example of their use, see the shantytown in d1_canals_05.

Dedicated CVars

  • sk_env_headcrabcanister_shake_amplitude
<float> Crash effect's shake amplitude
  • sk_env_headcrabcanister_shake_radius
<float> Crash effect's shake radius
  • sk_env_headcrabcanister_shake_radius_vehicle
<float> Crash effect's shake radius for vehicles

Keyvalues

  • HeadcrabType
<choices>
Literal Value Description
0 Normal headcrabs
1 Fast Headcrabs
2 Poison Headcrabs
  • HeadcrabCount
<integer> Number of headcrabs to spawn on impact
  • FlightSpeed
<float> Speed to fly through the air
  • FlightTime
<float> Time to fly through the air in seconds
  • StartingHeight
<float> Relative height from the landing position at which the canister should be launched. Positive values mean launch it above the impact point, negative values mean launch it below.
  • MinSkyboxRefireTime
<float> Min number of seconds before the canister is refired. This will only work for canisters placed in the skybox.
  • MaxSkyboxRefireTime
<float> Max number of seconds before the canister is refired. This will only work for canisters placed in the skybox.
  • SkyboxcanisterCount
<integer> Number of canisters to fire in the skybox (0 means fire continuously, forever).
  • Damage
<float> Max damage the canister applies on impact
  • DamageRadius
<float> Max radius of the impact damage for the canister
  • SmokeLifetime
<float> Duration that the canister smokes. -1 means always smoke.
<target_destination> If the canister should launch to its origin from another point within the world, this should specify an info_target at the launch origin.

Flags

  • 1 : No Impact Sound
  • 2 : No Launch Sound
  • 4096 : Start Impacted
  • 8192 : Land at initial position
  • 16384 : Wait for input to open
  • 32768 : Wait for input to spawn headcrabs
  • 65536 : No smoke
  • 131072 : No shake
  • 262144 : Remove on impact
  • 524288 : No impact effects

Inputs

  • FireCanister
  • OpenCanister
Opens the canister (must be called after the OnImpacted output is fired)
  • SpawnHeadcrabs
Spawns headcrabs (must be called after the OnImpacted output is fired and after OpenCanister is triggered, if the Wait for Input to open spawnflag is checked.)
  • StopSmoke

Outputs

Fired when the canister is launched. The ehandle points to the canister.
  • OnImpacted
Fires when canister hits the ground
  • OnOpened
Fires when canister has finished opening