Jump to content

OBD talk:BINA/PAR3: Difference between revisions

m
updating table style - in progress
mNo edit summary
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 Version="0.9.30.0">
  <Oni>
     <Particle Name="''particle_file_name''">
     <Particle Name="''particle_file_name''">
         <Options>
         <Options>
Line 258: Line 258:


==options==
==options==
{{table}}
{| class="wikitable" width="100%"
!XML tag
!width=200px| XML tag
!description
!width=200px| content type
!value type / flags plus description
! description
|-
|-
|valign=top|<Lifetime>
| <Lifetime>
|width=50%|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
| float
|float: seconds
| 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
|-
|-
|valign=top|<DisableDetailLevel>
| <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
|Yes\No
| 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
|Yes\No
| 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
|Yes\No
| Needed if the particle uses the HitCharacter event type.
: true
: false
|-
|-
|valign=top|<InitiallyHidden>
|valign=top| <InitiallyHidden>
|Hides the particle on creation.
| flag
|Yes\No
| 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
|Yes\No
| 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
|Yes\No
| Ends the lifetime of a particle on cutscene start.
: true
: false
|-
|-
|valign=top|<DieOnCutscene>
|valign=top| <DieOnCutscene>
|Kills the particle on cutscene start.
| flag
|Yes\No
| Kills the particle on cutscene start.
: true
: false
|-
|-
|valign=top|<LockPositionToLink>
|valign=top| <LockPositionToLink>
|Locks the position of the particle to its link
| flag
|Yes\No
|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
|float: distance
| Distance from which HitWall and HitCharacter events are activated.
|-
|-
|valign=top|<AIDodgeRadius>
|valign=top| <AIDodgeRadius>
|Distance from which AI will avoid this particle
| float
|float: distance
| 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
|float: distance
| 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
|<font color="#777777">OSBD</font>file<font color="#777777">.imp.oni</font>
| 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==
8,189

edits