CASW_Alien
(Redirected from Asw drop money)
Jump to navigation
Jump to search
Code classes:
CASW_Alien
(NPCs)CAI_BaseNPC
(NPCs)CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
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/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
asw_fire_alien_damage_scale | 3.0 | Multiplier | Multiplies damage done to aliens by fire. |
asw_alien_speed_scale_easy | 0.7 | Multiplier | Multiplies movement speed of aliens when playing on easy difficulty. |
asw_alien_speed_scale_normal | 1.0 | Multiplier | Multiplies movement speed of aliens when playing on normal difficulty. |
asw_alien_speed_scale_hard | 1.1 | Multiplier | Multiples movement speed of aliens when playing on hard difficulty. |
asw_alien_speed_scale_insane | 1.2 | Multiplier | Multiplies movement speed of aliens when playing on insane and brutal difficulty. |
asw_alien_hurt_speed | 0.5 | Multiplier | Temporary scalar for alien movement speed when shot. |
asw_alien_stunned_speed | 0.3 | Multiplier | Scalar for alien movement speed when stunned by electricity. |
asw_drop_money | 1 | 0 disables, 1 enables | Allows aliens to drop money (asw_pickup_money ) when they die. Requires asw_money 1 before taking effect. |
asw_alien_money_chance | 1.0 | Decimal percent | Chances that an alien will drop money upon dying. 1.0 means 100%. Requires asw_drop_money 1 before taking effect. |
asw_alien_break_chance | 0.5 | Decimal percent | Chances the alien will break into ragdoll pieces instead of gibs. |
asw_alien_fancy_death_chance | 0.5 | Decimal percent | If a drone doesn't instagib, this is the chance the alien plays a death animation before ragdolling. |
asw_debug_npcs | 0 | 0 disables, 1 enables | Enables many debugging features at once. The amount of screen space taken up may be counter-intuitive. |
asw_alien_burn_duration | 5.0 | Seconds | How long aliens will burn for when ignited. |
asw_springcol | 0 | 0 disables, 1 enables | Allows marines (and aliens) to nudge aliens slightly. |
asw_springcol_push_cap | 33 | Units per second | Maximum force aliens may be nudged with. |
asw_springcol_core | 0.33 | Decimal fraction | How 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_radius | 50 | World units | Marines will begin nudging aliens once they are this close to their origin. |
asw_springcol_force_scale | 3 | Multiplier | Scales nudge force. |
asw_springcol_debug | 0 | Entity index | Shows 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.