asw_alien_goo

From Valve Developer Community
(Redirected from Swarm Biomass)
Jump to navigation Jump to search
Class hierarchy
CASW_Alien_Goo
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
asw_alien_goo_shared.cpp

asw_alien_goo is a model entity available in Alien Swarm Alien Swarm. This entity creates an animated object which behaves like the biomass in Alien Swarm. When the player touches it, he will be hurt and it can be destroyed using fire. This entity will constantly play its worldmodels idle animation.

Note.pngNote:This entity can be given any worldmodel and it will still behave like biomass, but it is recommended to use the biomass models found in models\aliens\biomass\ folder, which are designed for this purpose and have an appropriate idle animation
Tip.pngTip:Good for interaction with asw_objective_destroy_goo!

Keyvalues

Name (targetname) <string> [ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

World Model (model) <model path>[ Edit ]
In-game 3D representation of the entity to display. This is the path to a MDL relative to the game's root directory. (128 character limit)

Warning.pngWarning:It is strongly recommended to use the models from models/aliens/biomass/ folder to avoid confusion.
Pulse Strength (PulseStrength) <float>
Controls the amplitude of the pulsating goo (ranges from 0 to 1.0).
Warning.pngWarning:Will only work with models mentioned above.
Pulse Speed (PulseSpeed) <float>
Controls how quickly the goo pulsates (1.0 is normal, can be set higher or lower).
Warning.pngWarning:Will only work with models mentioned above.
Burning Link Name (BurningLinkName) <string>
Alien goo/Grub sacs that share the same Burning Link Name will all be set on fire when one of those alien goo's is set on fire.
Tip.pngTip:Useful for creating large numbers of biomass on a single spot, which should interact when being bunt.
Has Ambient Sound (HasAmbientSound) <choices>
Whether the goo has a slimey ambient sound effect loop or not.
Tip.pngTip:Whe using large amounts of biomass their ambient sounds may dominate the levels ambience too much, so you might only want one or two biomass entities play a loop.
Required By Objective (RequiredByObjective) <choices>
Whether the goo must be destroyed for an objective. (supresses burn hint if no).
Note.pngNote:Does not mean goo must be destroyed to complete mission - to achive that effect use asw_objective_destroy_goo entity.

Outputs

OnIgnite
Fired when the biomass is set on fire.
Tip.pngTip:Useful for calling spawners while marines have to wait for biomass to be destroyed.
OnGooDestroyed
Fired when the biomass is fully destroyed.
Tip.pngTip:Useful for firing a completion input on an asw_objective_destroy_goo.