Jump to content

DamageSmokeOffset: Difference between revisions

From ModEnc²
en>Crimsonum
No edit summary
en>Crimsonum
mNo edit summary
Line 3: Line 3:
|files={{Categ|ini=rules}}
|files={{Categ|ini=rules}}
|types={{Categ|TechnoTypes}}
|types={{Categ|TechnoTypes}}
|values=X,Z,Y; {{Values|unsigned integers}}
|values=X,Y,Z; {{Values|unsigned integers}}
|default=0,0,0
|default=0,0,0
|ts=yes
|ts=yes
Line 13: Line 13:
Specifies the offset for the [[BehavesLike|smoke]] [[DamageParticleSystems|particle system]] that is spawned when an object is damaged. By default this point is the center of the unit, or in case of buildings, the top corner of its foundation.
Specifies the offset for the [[BehavesLike|smoke]] [[DamageParticleSystems|particle system]] that is spawned when an object is damaged. By default this point is the center of the unit, or in case of buildings, the top corner of its foundation.


The offset is expressed in X,Z,Y format with increasing X values moving the point to the right, Z to the bottom-left, and Y moves it upwards.
The offset is expressed in X,Y,Z format with increasing X values moving the point to the right, Y to the bottom-left, and Z moves it upwards.


==Notes==
==Notes==
*The smoke particle system is created when the object's health falls below '''50%''' or the {{f|ConditionRed|link}} threshold. Unlike [[DamageParticleSystems|particle systems]] with {{f|BehavesLike|Spark|link}}, the smoke is hardcoded to appear at this threshold and not at {{f|ConditionYellow|link}}.
*The smoke particle system is created when the object's health falls below '''50%''' or the {{f|ConditionRed|link}} threshold. Unlike [[DamageParticleSystems|particle systems]] with {{f|BehavesLike|Spark|link}}, the smoke is hardcoded to appear at this threshold and not at {{f|ConditionYellow|link}}.
*Only works on [[DamageParticleSystems|particle systems]] with {{f|BehavesLike|Smoke|link}}.
*Only works on [[DamageParticleSystems|particle systems]] with {{f|BehavesLike|Smoke|link}}.

Revision as of 21:19, 8 November 2018

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DamageSmokeOffset
File(s): rules(md).ini
Values: X,Y,Z; Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 0,0,0
Applicable to: TechnoTypes


Specifies the offset for the smoke particle system that is spawned when an object is damaged. By default this point is the center of the unit, or in case of buildings, the top corner of its foundation.

The offset is expressed in X,Y,Z format with increasing X values moving the point to the right, Y to the bottom-left, and Z moves it upwards.

Notes