Asw alien goo: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleanup)
Line 1: Line 1:
{{asw point|asw_objective_triggered}}
==asw_objective_triggered==
==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.  
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 <code>idle</code> animation.
When the player touches it, he will be hurt and it can be destroyed using fire. This entity will constantly play its worldmodels <code>idle</code> animation.
  {{Note|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 <code>models\aliens\biomass\</code> folder, which are designed for this purpose and have an appropriate <code>idle</code> animation}}
  {{Note|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 <code>models\aliens\biomass\</code> folder, which are designed for this purpose and have an appropriate <code>idle</code> animation}}
{{tip|Good for interaction with [[asw_objective_destroy_goo]]!}}
{{tip|Good for interaction with [[asw_objective_destroy_goo]]!}}


== Keyvalues ==
== Keyvalues ==


;Name:
{{KV Targetname}}
:The name that other entities refer to this entity by.


;Entity Scripts:
{{KV Angles}}
:Name(s) of script files that are executed after all entities have spawned.


;Script think function:
{{KV Origin}}
:Name of a function in this entity's script scope which will be called automatically.


{{KV|Worldmodel|model|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 to avoid confusion!}} }}


;Pith Yaw Roll (X Y Z):
{{KV|Skin|int|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.}}
: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):
{{KV|Disable Shadows||Used to disable dynamic shadows on this entity.}}
:The position of this entity's center in the world. Rotating entities typically rotate around their origin.


;Worldmodel:
{{KV|Pulse Strenght||Controls the amplitude of the pulsating goo (ranges from 0 to 1.0).
: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 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|Will only work with models mentioned above!}}
:{{warning|Will only work with models mentioned above!}}
}}


;Pulse Speed:
{{KV|Pulse Speed||Controls how quickly the goo pulsates (1.0 is normal, can be set higher or lower).
:Controls how quickly the goo pulsates (1.0 is normal, can be set higher or lower).
:{{warning|Will only work with models mentioned above!}}}}
:{{warning|Will only work with models mentioned above!}}


;Burning Link Name:
{{KV|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.
: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|Useful for creating large numbers of biomass on a single spot, which should interact when being bunt.}}
:{{tip|Useful for creating large numbers of biomass on a single spot, which should interact when being bunt.}}
}}


;Has Ambient Sound:
{{KV|Has Ambient Sound||Whether the goo has a slimey ambient sound effect loop or not.
:Whether the goo has a slimey ambient sound effect loop or not.
:{{tip|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.}}}}
:{{tip|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:
{{KV|Requiered By Objective||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 ==
{{I Targetname}}


;<code>AddOutput</code>
{{IO|enbale/disable shadows|En/disable dynamic shadows on this object [?].|}}
: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>
 
;<code>FireUser1-4</code>
:Fire the OnUser outputs; see User Inputs and Outputs.
 
;<code>Kill</code>
:Removes this entity from the world.
 
;<code>enbale/disable shadows</code>
:En/disable dynamic shadows on this object [?].
 
;<code>Skin</code>
:Change the skin of this objects wordl model.


{{IO|Skin|Change the skin of this objects wordl model.|}}


== Outputs ==
== Outputs ==
{{O Targetname}}


;<code>OnIgnite</code>
{{IO|OnIgnite|Fired when the biomass is set on fire.
:Fired when the biomass is set on fire.
:{{tip|Useful for calling spawners while marines have to wait for biomass to be destroyed.}}|}}
:{{tip|Useful for calling spawners while marines have to wait for biomass to be destroyed.}}
 
;<code>OnGooDestroyed</code>
:Fired when the goo is fully deytroyed.
 
 
;<code>OnUser1-4</code>
:Fired in response to the FireUser inputs; see User Inputs and Outputs.
 
 
== See Also ==
 
;[[List of Alien Swarm entities]]


{{IO|OnGooDestroyed||Fired when the goo is fully deytroyed.}}


== See also ==
*[[List of Alien Swarm entities]]


[[Category:Alien Swarm Entities]]
[[Category:Alien Swarm Entities]]

Revision as of 03:38, 12 February 2012

Template:Asw point

asw_objective_triggered

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


Pitch Yaw Roll (Y Z X) (angles) <QAngle>
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:

Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.


Worldmodel ([todo internal name (i)]) <model path>
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 ([todo internal name (i)]) <integer>
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 ([todo internal name (i)])
Used to disable dynamic shadows on this entity.


Pulse Strenght ([todo internal name (i)])
Controls the amplitude of the pulsating goo (ranges from 0 to 1.0).
Warning.pngWarning:Will only work with models mentioned above!


Pulse Speed ([todo internal name (i)])
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 ([todo internal name (i)])
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 ([todo internal name (i)])
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 ([todo internal name (i)])
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

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

See also