8,189
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) m (updating table style - in progress) |
||
Line 217: | Line 217: | ||
==file structure== | ==file structure== | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<Oni | <Oni> | ||
<Particle Name="''particle_file_name''"> | <Particle Name="''particle_file_name''"> | ||
<Options> | <Options> | ||
Line 258: | Line 258: | ||
==options== | ==options== | ||
{ | {| class="wikitable" width="100%" | ||
!XML tag | !width=200px| XML tag | ||
! | !width=200px| content type | ||
! | ! description | ||
|- | |- | ||
| <Lifetime> | |||
| | | float | ||
| particle exist for X seconds | |||
: X is float value, so you could write 1.25 if a second is to less and 2 too many | |||
: 0 means forever | |||
|- | |- | ||
| <DisableDetailLevel> | |||
|Particle is not created if detail level is too low. | | flag | ||
| Particle is not created if detail level is too low. | |||
: Never | : Never | ||
: Medium | : Medium | ||
: Low | : Low | ||
|- | |- | ||
|valign=top|<Decorative> | |valign=top| <Decorative> | ||
|Might not always be updated by the engine. | | flag | ||
| Might not always be updated by the engine. | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<CollideWithWalls> | |valign=top| <CollideWithWalls> | ||
|Needed if the particle uses the HitWall event type | | flag | ||
| Needed if the particle uses the HitWall event type | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<CollideWithChars> | |valign=top| <CollideWithChars> | ||
|Needed if the particle uses the HitCharacter event type. | | flag | ||
| Needed if the particle uses the HitCharacter event type. | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<InitiallyHidden> | |valign=top| <InitiallyHidden> | ||
|Hides the particle on creation. | | flag | ||
| Hides the particle on creation. | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<DrawAsSky> | |valign=top| <DrawAsSky> | ||
|Draws the particle before everything else, supposedly. | | flag | ||
| Draws the particle before everything else, supposedly. | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<DontAttractThroughWalls> | |valign=top| <DontAttractThroughWalls> | ||
|Particle will not detect attracters if there is a wall between it and the potential attracter. | | flag | ||
| Particle will not detect attracters if there is a wall between it and the potential attracter. | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<ExpireOnCutscene> | |valign=top| <ExpireOnCutscene> | ||
|Ends the lifetime of a particle on cutscene start. | | flag | ||
| Ends the lifetime of a particle on cutscene start. | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<DieOnCutscene> | |valign=top| <DieOnCutscene> | ||
|Kills the particle on cutscene start. | | flag | ||
| Kills the particle on cutscene start. | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<LockPositionToLink> | |valign=top| <LockPositionToLink> | ||
|Locks the position of the particle to its link | | flag | ||
|Locks the position of the particle to its link. | |||
: true | |||
: false | |||
|- | |- | ||
|valign=top|<CollisionRadius> | |valign=top| <CollisionRadius> | ||
|Distance from which HitWall and HitCharacter events are activated | | float | ||
| Distance from which HitWall and HitCharacter events are activated. | |||
|- | |- | ||
|valign=top|<AIDodgeRadius> | |valign=top| <AIDodgeRadius> | ||
|Distance from which AI will avoid this particle | | float | ||
| Distance from which AI will avoid this particle. | |||
|- | |- | ||
|valign=top|<AIAlertRadius> | |valign=top| <AIAlertRadius> | ||
|Distance from which AI will be aware of the danger of the particle | | float | ||
| Distance from which AI will be aware of the danger of the particle. | |||
|- | |- | ||
|valign=top|<FlyBySoundName /> | |valign=top| <FlyBySoundName /> | ||
|Sound used when the particle passes by you. Check: does the engine apply the Doppler effect or is it in the sound file itself? | | link | ||
| Sound used when the particle passes by you. Check: does the engine apply the Doppler effect or is it in the sound file itself? | |||
: <font color="#777777">OSBD</font>file<font color="#777777">.imp.oni</font> | |||
|} | |} | ||
==properties== | ==properties== | ||
Line 372: | Line 394: | ||
|Yes\No | |Yes\No | ||
|} | |} | ||
==appearance== | ==appearance== | ||
Line 492: | Line 515: | ||
|float (degrees) | |float (degrees) | ||
|} | |} | ||
==attractor== | ==attractor== | ||
Line 542: | Line 566: | ||
| | | | ||
|} | |} | ||
==variable storage types== | ==variable storage types== |
edits