Asw alien goo: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 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
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 
 Tip:Good for interaction with asw_objective_destroy_goo!
Tip:Good for interaction with asw_objective_destroy_goo!
		
	
| Pivotman319 (talk | contribs) m (→Outputs:  Added proper description.) | No edit summary | ||
| (8 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{CD|CASW_Alien_Goo|file1=1}} | ||
| {{this is a|model entity|game=Alien Swarm|name=asw_alien_goo}} 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}} | ||
| Line 5: | Line 6: | ||
| == Keyvalues == | == Keyvalues == | ||
| {{KV Targetname}} | {{KV Targetname}} | ||
| {{KV Model}} | |||
| {{KV  | :{{warning|It is strongly recommended to use the models from {{Code|models/aliens/biomass/}} folder to avoid confusion.}}   | ||
| {{KV|Pulse Strength|intn=PulseStrength|float|Controls the amplitude of the pulsating goo (ranges from 0 to 1.0). | |||
| {{ | :{{warning|Will only work with models mentioned above.}} | ||
| }} | |||
| {{KV|Pulse Speed|intn=PulseSpeed|float|Controls how quickly the goo pulsates (1.0 is normal, can be set higher or lower). | |||
| :{{warning|Will only work with models mentioned above.}} | |||
| {{KV| | |||
| {{ | |||
| {{KV|Pulse  | |||
| :{{warning|Will only work with models mentioned above | |||
| }} | }} | ||
| {{KV|Burning Link Name|intn=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. | |||
| {{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. | |||
| :{{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.}} | ||
| }} | }} | ||
| {{KV|Has Ambient Sound|intn=HasAmbientSound|choices|Whether the goo has a slimey ambient sound effect loop or not. | |||
| {{KV|Has Ambient Sound||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.}}}} | }} | ||
| {{KV|Required By Objective|intn=RequiredByObjective|choices|Whether the goo must be destroyed for an objective. (supresses burn hint if no). | |||
| {{KV| | |||
| :{{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.}} | ||
| }} | }} | ||
| == Outputs == | == Outputs == | ||
| {{O  | {{O|OnIgnite|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.}} | }} | ||
| {{O|OnGooDestroyed|Fired when the biomass is fully destroyed. | |||
| {{ | :{{tip|Useful for firing a completion input on an asw_objective_destroy_goo.}} | ||
| :{{tip|Useful for firing a completion input on an asw_objective_destroy_goo.}} | }} | ||
Latest revision as of 07:38, 20 May 2025
|  Class hierarchy | 
|---|
| CASW_Alien_Goo | 
|  asw_alien_goo_shared.cpp | 
asw_alien_goo  is a   model entity  available 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
 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: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
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 models\aliens\biomass\ folder, which are designed for this purpose and have an appropriate idle animation Tip:Good for interaction with asw_objective_destroy_goo!
Tip: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. parentnameortarget).
 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:It is strongly recommended to use the models from Warning: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:Will only work with models mentioned above. Warning: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:Will only work with models mentioned above. Warning: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: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 (HasAmbientSound) <choices>
- 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.
- Required By Objective (RequiredByObjective) <choices>
- 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.
Outputs
- OnIgnite
- 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.
- OnGooDestroyed
- Fired when the biomass is fully destroyed.
 Tip:Useful for firing a completion input on an asw_objective_destroy_goo. Tip:Useful for firing a completion input on an asw_objective_destroy_goo.