Jump to content

OBD talk:TRMA: Difference between revisions

m
no edit summary
m (TRIA fix TRTA)
mNo edit summary
Line 1: Line 1:
__TOC__
==talk==
Quoting [[User:Geyser|geyser]] from {{OCF}}:
Quoting [[User:Geyser|geyser]] from {{OCF}}:
:"Oni characters have a modular design one can take advantage of, by "swapping bones" and authoring all-new textures.
:"Oni characters have a modular design one can take advantage of, by "swapping bones" and authoring all-new textures.
Line 147: Line 150:


EdT
EdT
==XML area==
{{Template:XMLModdingHints}}
{| border=0 cellspacing=20 cellpadding=0 align=center
| The xml code on this page is compatible with onisplit '''v0.9.61.0'''
|}
'''general information'''
* Every character class file (ONCC) needs some links to other files from where it can get the 3D mesh, animations and other things.
* This includes also a link to the texture collection (TRMA) of the 3D mesh. The mesh has 19 body parts, so there will be also always 19 textures links in the TRMA.
* The order of the TRMA links is determined by the mesh hierarchy ([[OBD:TRIA#Bones|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<br>
:TXMPIteration001%2FKS_thigh_horiz.oni<br>
:[...]
8,448

edits