Jump to content

XML:OFGA: Difference between revisions

541 bytes added ,  3 March 2013
m
no edit summary
(object with particle)
mNo edit summary
Line 40: Line 40:
| <Geometry>
| <Geometry>
| link
| link
| M3GM''file_name''<font color="#777777">.oni</font> (without file suffix .oni)
| M3GM''file_name''<font color="#777777">.oni</font> <font color="#777777">(don't use file suffix)</font>
|-
|-
| <ENVP id="...">
| <ENVP id="...">
Line 48: Line 48:
| <Particles>
| <Particles>
| -
| -
| Can hold multiple <ENVPParticle>.
| You can put here quite a number of <ENVPParticle> tags. The array is an int16.
|-
|-
| <ENVPParticle>
|valign="top"| <ENVPParticle>
| -
|valign="top"| -
|
| ENVP is used to store particles attached to objects or furniture: Locklights, lights, fire, smoke, steam, "electricity" etc. Loose particles are normally added to the level [[XML:BINA/OBJC/PART|particle collection]].
|-
|-
| <Class>
| <Class>
| string
| char[64]
| BINA3RAPname.oni (don't use file pre-/suffix)
| <font color="#777777">BINA3RAP</font>file_name<font color="#777777">.oni</font> <font color="#777777">(don't use file prefix/suffix)</font>
|-
|-
| <Tag>
|valign="top"| <Tag>
| string
|valign="top"| char[48]
| Particle name for BSL commands. For some reason an underscore "_" will be added to the name. '''Examples:'''
| Particle name for BSL commands. For some reason an underscore "_" will be added to the name. '''Examples:'''


Line 68: Line 68:
| <Transform>
| <Transform>
| matrix
| matrix
| Float 4*3 + X Y Z position of the particle.
| Float 3*3 + float X Y Z position of the particle. Can be used to orient and stretch the particles (decals, locklights, etc). (How?)
|-
|-
| <DecalScale>
| <DecalScale>
| ?
| integer, integer
| X Y
| X Y
|-
|-
8,046

edits