Asw alien goo: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '==asw_objective_triggered== {{as}} This is a point entity available in Alien Swarm. It creates an animated object which behaves like the biomass in Alien Swarm. When the pl…')
 
Line 28: Line 28:
;Worldmodel:
;Worldmodel:
:The 3D model used to display this entity in the world.  
:The 3D model used to display this entity in the world.  
:{{warning|I strongly reccomend usage of the modles from <code>models\aliens\biomass\</code> folder toavoid confusion!}}
:{{warning|I strongly reccomend usage of the modles from <code>models\aliens\biomass\</code> folder to avoid confusion!}}


;Skin:
;Skin:
Line 55: Line 55:
:Whether the goo must be destroyed for an objective. (supresses burn hint if no).
:Whether the goo must be destroyed for an objective. (supresses burn hint if no).
:{{Note|Does not mean goo must be destroyed to complete mission - to achive that effect use [[asw_objective_destroy_goo]] entity.}}
:{{Note|Does not mean goo must be destroyed to complete mission - to achive that effect use [[asw_objective_destroy_goo]] entity.}}


== Inputs ==
== Inputs ==

Revision as of 02:09, 15 May 2011

asw_objective_triggered

Alien Swarm This is a point entity available in Alien Swarm. It 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
The name that other entities refer to this entity by.
Entity Scripts
Name(s) of script files that are executed after all entities have spawned.
Script think function
Name of a function in this entity's script scope which will be called automatically.


Pith Yaw Roll (X Y Z)
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Origin (X Y Z)
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Worldmodel
The 3D model used to display this entity in the world.
Warning.pngWarning:I strongly reccomend usage of the modles from models\aliens\biomass\ folder to avoid confusion!
Skin
Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.
Disable Shadows
Used to disable dynamic shadows on this entity.
Pulse Strenght
Controls the amplitude of the pulsating goo (ranges from 0 to 1.0).
Warning.pngWarning:Will only work with models mentioned above!
Pulse Speed
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
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
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.
Requiered By Objective
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.

Inputs

AddOutput
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1-4
Fire the OnUser outputs; see User Inputs and Outputs.
Kill
Removes this entity from the world.
enbale/disable shadows
En/disable dynamic shadows on this object [?].
Skin
Change the skin of this objects wordl model.


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 goo is fully deytroyed.


OnUser1-4
Fired in response to the FireUser inputs; see User Inputs and Outputs.


See Also

List of Alien Swarm entities