XML:TRMA: Difference between revisions

From OniGalore
m (+ cat)
m (oops, I should have used the vanilla/ path for those pages I edited, shouldn't I? ^_^;)
Line 3: Line 3:
'''general information'''
'''general information'''
* The xml code on this page is compatible with onisplit '''v0.9.61.0'''
* The xml code on this page is compatible with onisplit '''v0.9.61.0'''
* TRMA files are stored ''globally'' (in edition/GameDataFolder/level0_Final)
* TRMA files are stored ''globally'' (in AE/AEInstaller/vanilla/level0_Final.dat)
* these files are used by ONCC to get textures for the 3D mesh (TRBS)
* these files are used by ONCC to get textures for the 3D mesh (TRBS)
* the mesh has 19 body parts, so there are also 19 textures links in the TRMA
* the mesh has 19 body parts, so there are also 19 textures links in the TRMA

Revision as of 13:11, 18 April 2013

TRMA : Texture Map Array
XML modding tips
See HERE to start learning about XML modding.
See HERE if you are searching for information on how to handle object coordinates.
See HERE for some typical modding errors and their causes.
XML.png
XML

TRGE << Other file types >> TRSC

switch to OBD page

general information

  • The xml code on this page is compatible with onisplit v0.9.61.0
  • TRMA files are stored globally (in AE/AEInstaller/vanilla/level0_Final.dat)
  • these files are used by ONCC to get textures for the 3D mesh (TRBS)
  • the mesh has 19 body parts, so there are also 19 textures links in the TRMA
  • the order of the TRMA links is determined by the mesh hierarchy (TRIA)


example

TRMAkonoko002_high_texture_generic.xml

<?xml version="1.0" encoding="utf-8"?>
<Oni>
   <TRMA id="0">
       <Textures>
           <Link>TXMPIteration001/KS_pelvis</Link>
           <Link>TXMPIteration001/KS_thigh_horiz</Link>
           <Link>TXMPIteration001/KS_calf_nobknee</Link>
           <Link>TXMPIteration001/KS_foot</Link>
           <Link>TXMPIteration001/KS_thigh_horiz</Link>
           <Link>TXMPIteration001/KS_calf_nobknee</Link>
           <Link>TXMPIteration001/KS_foot</Link>
           <Link>TXMPIteration001/KS_mid</Link>
           <Link>TXMPIteration001/KS_chestpack</Link>
           <Link>TXMPIteration001/KS_neck</Link>
           <Link>TXMPIteration001/KS_face</Link>
           <Link>TXMPIteration001/KS_shoulder</Link>
           <Link>TXMPIteration001/KS_bicep</Link>
           <Link>TXMPIteration001/KS_wrist</Link>
           <Link>TXMPIteration001/ks_fist</Link>
           <Link>TXMPIteration001/KS_shoulder</Link>
           <Link>TXMPIteration001/KS_bicep</Link>
           <Link>TXMPIteration001/KS_wrist</Link>
           <Link>TXMPIteration001/ks_fist</Link>
       </Textures>
   </TRMA>
</Oni>

TRMA files contain sometimes a link with a "/" in it. The actual TXMP file use a "%2F" instead of the "/".


For example:

TXMPIteration001%2FKS_pelvis.oni
TXMPIteration001%2FKS_thigh_horiz.oni
[...]