CASW_Alien

From Source Entities
(Redirected from Asw alien)
Jump to navigation Jump to search

CASW_Alien is a code class most Alien Swarm aliens derive from.

Classnames:

  • asw_alien (do not use this, it crashes the game instantly)

ConVars/Commands[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
asw_fire_alien_damage_scale3.0MultiplierMultiplies damage done to aliens by fire.
asw_alien_speed_scale_easy0.7MultiplierMultiplies movement speed of aliens when playing on easy difficulty.
asw_alien_speed_scale_normal1.0MultiplierMultiplies movement speed of aliens when playing on normal difficulty.
asw_alien_speed_scale_hard1.1MultiplierMultiples movement speed of aliens when playing on hard difficulty.
asw_alien_speed_scale_insane1.2MultiplierMultiplies movement speed of aliens when playing on insane and brutal difficulty.
asw_alien_hurt_speed0.5MultiplierTemporary scalar for alien movement speed when shot.
asw_alien_stunned_speed0.3MultiplierScalar for alien movement speed when stunned by electricity.
asw_drop_money10 disables, 1 enablesAllows aliens to drop money (asw_pickup_money) when they die. Requires asw_money 1 before taking effect.
asw_alien_money_chance1.0Decimal percentChances that an alien will drop money upon dying. 1.0 means 100%. Requires asw_drop_money 1 before taking effect.
asw_alien_break_chance0.5Decimal percentChances the alien will break into ragdoll pieces instead of gibs.
asw_alien_fancy_death_chance0.5Decimal percentIf a drone doesn't instagib, this is the chance the alien plays a death animation before ragdolling.
asw_debug_npcs00 disables, 1 enablesEnables many debugging features at once. The amount of screen space taken up may be counter-intuitive.
asw_alien_burn_duration5.0SecondsHow long aliens will burn for when ignited.
asw_springcol00 disables, 1 enablesAllows marines (and aliens) to nudge aliens slightly.
asw_springcol_push_cap33Units per secondMaximum force aliens may be nudged with.
asw_springcol_core0.33Decimal fractionHow close to the center of the alien from asw_springcol_radius a marine must be to nudge it at the speed of asw_springcol_push_cap. 0.5 would mean the marine must be within half the radius.
asw_springcol_radius50World unitsMarines will begin nudging aliens once they are this close to their origin.
asw_springcol_force_scale3MultiplierScales nudge force.
asw_springcol_debug0Entity indexShows the direction and force that aliens get nudged with. Set to -1 to show all forces.

Keyvalues[edit | edit source]

Visible when asleep (visiblewhenasleep) <boolean>
If true, this alien will still get rendered even when inactive (useful for aliens you see far below you).
Move Clone (MoveClone) <target_destination>
If set, this alien will match movement with the specified entity.
Start Burrowed (Not in FGD) (startburrowed) <boolean>
Alien begins burrowed? To do: What aliens are capable of this?

Inputs[edit | edit source]

BreakWaitForScript
Wakes the alien up, if the Wait For Script flag was set.
SetMoveClone <target_destination>
Sets Move Clone.