===============================================================================
XMLAN Tutorial v0.1 Für Benzin By SquidMan
===============================================================================
General Format ........................................................ [LAN01]
Animation Types ....................................................... [LAN02]
RLPA .............................................................. [LAN03]
RLVC .............................................................. [LAN04]
RLMC .............................................................. [LAN05]
RLTP .............................................................. [LAN06]
RLVI .............................................................. [LAN07]
RLTS .............................................................. [LAN08]
RLIM .............................................................. [LAN09]
===============================================================================
General Format Für Benzin [LAN01]
===============================================================================
This section explains the general formatting for XMLAN files.
XMLAN is simply an alternate naming to help distinguish between a source file
for BRLAN or BRLYT (the latter uses XMLYT). As you may have guessed, the name
is a portmonteau of XML and BRLAN. This is because the format is XML.
To create an XMLAN file, you must start the file with:
Now you must add your XMLAN entry:
Change the # in there to the maximum amount of frames before looping.
Don't forget to close the XMLAN tag at the end of your file!
Now for the real substance of the XMLAN. For every "tag" (every image with
animation has at least 1 "tag") add the following:
xxxx needs to be replaced with the name of the tag in the XMLYT, YYYY needs to
be an Animation type (look at the Animation Types section), and zzzz needs to
be replaced by either Normal or Alpha. You must use Alpha for any RLVC tag that
uses alpha. Like the XMLAN tag, make sure to close this.
For each "entry" in the tag (each animation has an entry) add:
Where xxxx is the animation type (see the page for the tag that you are using
for names).
Then, inside of the entry, you put your "triplets" (The value for the entry at
a specified point)
xxxx
yyyy
zzzz
xxxx is the frame to have the set value, yyyy is the value to set, and zzzz is
the blending value (so it doesn't appear all choppy). Check the entry type's
info to see what the value affects.
You need multiple triplets for an animation. If you only have one, it will just
be static. Very boring =].
===============================================================================
Animation Types Für Benzin [LAN02]
===============================================================================
TODO....
-------------------------------------------------------------------------------
>>>> RLPA Für Benzin [LAN03]
-------------------------------------------------------------------------------
TODO: Maybe more description....
This is probably the most used tag type of all, it handles many different
actions in one. Because of this, the entry types have been Macroed to make it
easier to read.
Macro table:
/-----------------------------------------------------------------------------\
| Macro | ID# | Value |
|-----------------|------|----------------------------------------------------|
| X Translation | 0x00 | The X location relative to the starting position. |
| Y Translation | 0x01 | The Y location relative to the starting position. |
| Z Translation | 0x02 | The Z location relative to the starting position. |
| X Rotate | 0x03 | The X rotation relative to the starting rotation. |
| Y Rotate | 0x04 | The Y rotation relative to the starting rotation. |
| Z Rotate | 0x05 | The Z rotation relative to the starting rotation. |
| X Scale | 0x06 | X zooming relative to starting X zoom. |
| Y Scale | 0x07 | Y zooming relative to starting Y zoom. |
| Width | 0x08 | X width. To perform clipping. |
| Height | 0x09 | Y width. To perform clipping. |
| 0x0A | 0x0A | Unknown. |
| 0x0B | 0x0B | Unknown. |
| 0x0C | 0x0C | Unknown. |
| 0x0D | 0x0D | Unknown. |
| 0x0E | 0x0E | Unknown. |
| 0x0F | 0x0F | Unknown. |
\-----------------------------------------------------------------------------/
-------------------------------------------------------------------------------
>>>> RLVC Für Benzin [LAN04]
-------------------------------------------------------------------------------
TODO: Add more info...
This tag type is for vertex colors. The only use of it that I've seen is with
the entry type being 16.
/-----------------------------------------------------------------------------\
| Entry Type | Value |
|---------------------|-------------------------------------------------------|
| Top Left Red | Red color element of top left vertex |
| Top Left Green | Green color element of top left vertex |
| Top Left Blue | Blue color element of top left vertex |
| Top Left Alpha | Alpha color element of top left vertex |
| Top Right Red | Red color element of top right vertex |
| Top Right Green | Green color element of top right vertex |
| Top Right Blue | Blue color element of top right vertex |
| Top Right Alpha | Alpha color element of top right vertex |
| Bottom Left Red | Red color element of bottom left vertex |
| Bottom Left Green | Green color element of bottom left vertex |
| Bottom Left Blue | Blue color element of bottom left vertex |
| Bottom Left Alpha | Alpha color element of bottom left vertex |
| Bottom Right Red | Red color element of bottom right vertex |
| Bottom Right Green | Green color element of bottom right vertex |
| Bottom Right Blue | Blue color element of bottom right vertex |
| Bottom Right Alpha | Alpha color element of bottom right vertex |
| 16 | Alpha. |
\-----------------------------------------------------------------------------/
-------------------------------------------------------------------------------
>>>> RLMC Für Benzin [LAN05]
-------------------------------------------------------------------------------
TODO: Add more info...
This tag type is for material colors
/-----------------------------------------------------------------------------\
| Entry Type | Value |
|---------------------|-------------------------------------------------------|
| MatColor Red | Red color element of MatColor |
| MatColor Green | Green color element of MatColor |
| MatColor Blue | Blue color element of MatColor |
| MatColor Alpha | Alpha color element of MatColor |
| Forecolor Red | Red color element of Forecolor |
| Forecolor Green | Green color element of Forecolor |
| Forecolor Blue | Blue color element of Forecolor |
| Forecolor Alpha | Alpha color element of Forecolor |
| Backcolor Red | Red color element of Backcolor |
| Backcolor Green | Green color element of Backcolor |
| Backcolor Blue | Blue color element of Backcolor |
| Backcolor Alpha | Alpha color element of Backcolor |
| TevReg3Color Red | Red color element of TevReg3 |
| TevReg3Color Green | Green color element of TevReg3 |
| TevReg3Color Blue | Blue color element of TevReg3 |
| TevReg3Color Alpha | Alpha color element of TevReg3 |
| TevKColor1 Red | Red color element of TevKColor1 |
| TevKColor1 Green | Green color element of TevKColor1 |
| TevKColor1 Blue | Blue color element of TevKColor1 |
| TevKColor1 Alpha | Alpha color element of TevKColor1 |
| TevKColor2 Red | Red color element of TevKColor2 |
| TevKColor2 Green | Green color element of TevKColor2 |
| TevKColor2 Blue | Blue color element of TevKColor2 |
| TevKColor2 Alpha | Alpha color element of TevKColor2 |
| TevKColor3 Red | Red color element of TevKColor3 |
| TevKColor3 Green | Green color element of TevKColor3 |
| TevKColor3 Blue | Blue color element of TevKColor3 |
| TevKColor3 Alpha | Alpha color element of TevKColor3 |
| TevKColor4 Red | Red color element of TevKColor4 |
| TevKColor4 Green | Green color element of TevKColor4 |
| TevKColor4 Blue | Blue color element of TevKColor4 |
| TevKColor4 Alpha | Alpha color element of TevKColor4 |
\-----------------------------------------------------------------------------/
-------------------------------------------------------------------------------
>>>> RLTP Für Benzin [LAN06]
-------------------------------------------------------------------------------
TODO....
-------------------------------------------------------------------------------
>>>> RLVI Für Benzin [LAN07]
-------------------------------------------------------------------------------
TODO....
-------------------------------------------------------------------------------
>>>> RLTS Für Benzin [LAN08]
-------------------------------------------------------------------------------
TODO....
-------------------------------------------------------------------------------
>>>> RLIM Für Benzin [LAN09]
-------------------------------------------------------------------------------
TODO....