Jump to content

XML:BINA/PAR3: Difference between revisions

EnableAtTime / DisableAtTime - meaning of that bastard "Lifetime" value finally cracked ^_^
(Added some research about DamageChar and DamageBlast. There is more to come, but first a job, then some leisure ^_^)
(EnableAtTime / DisableAtTime - meaning of that bastard "Lifetime" value finally cracked ^_^)
Line 976: Line 976:
| <EnableAtTime>
| <EnableAtTime>
| -
| -
|  
| ??? '''Update''' event only ???
|-
|-
| <Action>
| <Action>
Line 984: Line 984:
| <Lifetime>
| <Lifetime>
| float
| float
|
| Lifetime of the particle MINUS the value stored in this field yields the moment from particle's spawn when the targeted action (action from the "Action" tag) starts operating. Till that moment, the targeted action is held inactive.<BR><font size=1>Example:<BR>Particle's lifetime ticks in a decreasing manner. If the lifetime of the particle is set to be 3.0, then it ticks from 3.0 down to 0.0 (at 0.0, Lifetime event is called).<BR>Now, if lifetime of the particle is set to be 3.0 and value here in this tag is 1.0, then from the moment the particle is spawned, this EnableAtTime's targeted action (the action inside "Action" tag) will be disabled and will activate only after the particle' lifetime crosses value (3.0-1.0) = 2.0 seconds. That means the targeted action will activate 2 seconds after the particle was spawned.<BR>This mechanism is quite counter-intuitive, hence the detailed description.</font>
|- style="background-color:#DDDDDD"
|- style="background-color:#DDDDDD"
| <DisableAtTime>
| <DisableAtTime>
| -
| -
|  
| ??? '''Update''' event only ???
|-
|-
| <Action>
| <Action>
Line 996: Line 996:
| <Lifetime>
| <Lifetime>
| float
| float
|
| Lifetime of the particle MINUS the value stored in this field yields the moment from particle's spawn when the targeted action (action from the "Action" tag) stops operating. Till that moment, the targeted action is kept active.<BR><font size=1>Example:<BR>Particle's lifetime ticks in a decreasing manner. If the lifetime of the particle is set to be 3.0, then it ticks from 3.0 down to 0.0 (at 0.0, Lifetime event is called).<BR>Now, if lifetime of the particle is set to be 3.0 and value here in this tag is 1.0, then from the moment the particle is spawned, this EnableAtTime's targeted action (the action inside "Action" tag) will be working and will deactivate only after the particle' lifetime crosses value (3.0-1.0) = 2.0 seconds. That means the targeted action will deactivate 2 seconds after the particle was spawned.<BR>This mechanism is quite counter-intuitive, hence the detailed description.</font>
|- style="background-color:#DDDDDD"
|- style="background-color:#DDDDDD"
| <Die />
| <Die />
Line 1,697: Line 1,697:
| <CheckLink />
| <CheckLink />
| -
| -
|
| Checks if the particle's attractor link is still valid. If link is no longer valid, '''BrokenLink''' event is called.
|- style="background-color:#DDDDDD"
|- style="background-color:#DDDDDD"
| <BreakLink />
| <BreakLink />
271

edits