OBD talk:BINA/PAR3: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 350: Line 350:


==properties==
==properties==
{{table}}
{| class="wikitable" width="100%"
!XML tag
!width=200px| XML tag
!description
!width=200px| content type
!value type / flags plus description
! description
|-
|-
|valign=top|<HasVelocity>
|valign=top| <HasVelocity>
|Needed if the particle is to move.
|valign=top| flag
|Yes\No
| Needed if the particle is to move.
: true
: false
|-
|-
|valign=top|<HasOrientation>
|valign=top| <HasOrientation>
|Needed if the particle is to be able to turn around?
|valign=top| flag
|Yes\No
| Needed if the particle is to be able to turn around?
: true
: false
|-
|-
|valign=top|<HasPositionOffset>
|valign=top| <HasPositionOffset>
|Used with LockPositionToLink???
|valign=top| flag
|Yes\No
| Used with LockPositionToLink???
: true
: false
|-
|-
|valign=top|<HasAttachmentMatrix>
|valign=top| <HasAttachmentMatrix>
|Used if the particle is to be stuck to a character or wall.
|valign=top| flag
|Yes\No
| Used if the particle is to be stuck to a character or wall.
: true
: false
|-
|-
|valign=top|<HasUnknown>
|valign=top| <HasUnknown>
|???
|valign=top| flag
|Yes\No
| ???
: true
: false
|-
|-
|valign=top|<HasDecalState>
|valign=top| <HasDecalState>
|Used if the particle is a Decal.
|valign=top| flag
|Yes\No
| Used if the particle is a Decal.
: true
: false
|-
|-
|valign=top|<HasTextureStartTick>
|valign=top| <HasTextureStartTick>
|Used with animated particles. (Documentation Needed).
|valign=top| flag
|Yes\No
| Used with animated particles. (Documentation Needed).
: true
: false
|-
|-
|valign=top|<HasTextureTick>
|valign=top| <HasTextureTick>
|Used with animated particles. (Documentation Needed).
|valign=top| flag
|Yes\No
| Used with animated particles. (Documentation Needed).
: true
: false
|-
|-
|valign=top|<HasDamageOwner>
|valign=top| <HasDamageOwner>
|valign=top| flag
|Used for particles to either:
|Used for particles to either:
:A. Not damage a character
: A. Not damage a character
:B. Credit a character with damage\kills
: B. Credit a character with damage\kills
For this to work properly, the parent of the character must have this set, and the parent of said parent, etc, up to the original particle.
For this to work properly, the parent of the character must have this set, and the parent of said parent, etc, up to the original particle.
|Yes\No
: true
: false
|}
|}




==appearance==
==appearance==
{{table}}
{| class="wikitable" width="100%"
!XML tag
!width=200px| XML tag
!description
!width=200px| content type
!value type / flags plus description
! description
|-
|-
|valign=top|<DisplayType>
|valign=top| <DisplayType>
|How the particle is displayed. (Please Document)
|valign=top| flag
|
| How the particle is displayed. (Please Document)
: Sprite
: Sprite
: RotatedSprite
: RotatedSprite
Line 415: Line 433:
: Geometry - uses an M3GM
: Geometry - uses an M3GM
|-
|-
|valign=top|<TexGeom>
|valign=top| <TexGeom>
|The texture or model that this particle uses
|valign=top| link
|TXMP\M3GM
|The texture or model that this particle uses.
:<font color="#777777">TXMP</font>file<font color="#777777">.oni</font> / <font color="#777777">M3GM</font>file<font color="#777777">.oni</font>
|-
|-
|valign=top|<Invisible>
|valign=top| <Invisible>
|Can't be seen.
|valign=top| flag
|Yes\No?
| Can't be seen.
: true
: false
|-
|-
|valign=top|<IsContrailEmitter>
|valign=top| <IsContrailEmitter>
|Emits a contrail
|valign=top| flag
|Yes\No
| Emits a contrail.
: true
: false
|-
|-
|valign=top|<ScaleToVelocity>
|valign=top| <ScaleToVelocity>
|Scales the particle based on the speed it is going.
|valign=top| flag
|Yes\No
| Scales the particle based on the speed it is going.
: true
: false
|-
|-
|valign=top|<Scale>
|valign=top| <Scale>
|valign=top| float
|The size of the particle.
|The size of the particle.
|float: scale
|-
|-
|valign=top|<UseSeparateYScale>
|valign=top| <UseSeparateYScale>
|Stretches the particle along the Y axis if set.
|valign=top| flag
|Yes\No
| Stretches the particle along the Y axis if set.
: true
: false
|-
|-
|valign=top|<YScale>
|valign=top| <YScale>
|needs <UseSeparateYScale>true</UseSeparateYScale> to be enabled  
|valign=top| float
|float: scale
| Needs <UseSeparateYScale>true</UseSeparateYScale> to be enabled.
|-
|-
|valign=top|<Rotation>
|valign=top| <Rotation>
|The rotation of the particle
|valign=top| ?
|?
| The rotation of the particle.
|-
|-
|valign=top|<Alpha>
|valign=top| <Alpha>
|transparency
|valign=top| float / integer
|float (0.0-1.0) or int (0-255): transparency<br>0 = Tex/Geom is invisible, 1 = visible
| Transparency (0 = fully invisible, 1 or 255 = fully visible)
: float: 0.0 - 1.0  
: integer: 0 - 255
|-
|-
|valign=top|<XOffset>
|valign=top| <XOffset>
|valign=top| float
|
|
|-
|valign=top| <XShorten>
|valign=top| float
|
|
|-
|-
|valign=top|<XShorten>
|valign=top| <UseSpecialTint>
|
|valign=top| flag
|
| Research note: "true" can be found in BINA3RAPbarab_p02.xml
: true
: false
|-
|-
|valign=top|<Tint>
|valign=top| <Tint>
|R G B A means red green blue alpha
|valign=top| integer
|color
| Color. R G B A means Red Green Blue Alpha.
: R G B
: R G B A
|-
|-
|valign=top|<FadeOutOnEdge>
|valign=top| <FadeOutOnEdge>
|
|valign=top| flag
|
|
: true
: false
|-
|-
|valign=top|<OneSidedEdgeFade>
|valign=top| <OneSidedEdgeFade>
|
|valign=top| flag
|
|
: true
: false
|-
|-
|valign=top|<EdgeFadeMin>
|valign=top| <EdgeFadeMin>
|
|valign=top| float
|
|
|-
|-
|valign=top|<EdgeFadeMax>
|valign=top| <EdgeFadeMax>
|
|valign=top| float
|
|
|-
|-
|valign=top|<MaxContrailDistance>
|valign=top| <MaxContrailDistance>
|
|valign=top|  
|
|
|-
|-
|valign=top|<LensFlare>
|valign=top| <LensFlare>
|
|valign=top| flag
|
|
: true
: false
|-
|-
|valign=top|<LensFlareDistance>
|valign=top| <LensFlareDistance>
|
|valign=top| float
|
|
|-
|-
|valign=top|<LensFlareFadeInFrames>
|valign=top| <LensFlareFadeInFrames>
|
|valign=top| integer
|
|
|-
|-
|valign=top|<LensFlareFadeOutFrames>
|valign=top| <LensFlareFadeOutFrames>
|
|valign=top| integer
|
|
|-
|-
|valign=top|<DecalFullBrightness>
|valign=top| <DecalFullBrightness>
|
|valign=top| flag
|
|
: true
: false
|-
|-
|valign=top|<MaxDecals>
|valign=top| <MaxDecals>
|Seems to be a bit broken (someone please test this again)
|valign=top| integer
|int
| Seems to be a bit broken (someone please test this again).
|-
|-
|valign=top|<DecalFadeFrames>
|valign=top| <DecalFadeFrames>
|The number of frames it takes for a decal particle to fade after it reaches the maximum number of decals.
|valign=top| integer
|
| The number of frames it takes for a decal particle to fade after it reaches the maximum number of decals.
|-
|-
|valign=top|<DecalWrapAngle>
|valign=top| <DecalWrapAngle>
|Decal isn't cut off when the next plane piece has an angle difference equal or less to this value.
|valign=top| float
|float (degrees)
| Degrees. Decal isn't cut off when the next plane piece has an angle difference equal or less to this value.
|}
|}


8,189

edits