XML:TRAC: Difference between revisions
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) (+ temp + cat) |
||
Line 1: | Line 1: | ||
{{ | {{XML_File_Header | type=TRAC | prev=SNDD | next=TRAM | name=Totoro Animation Collection }} | ||
''' | ===general information=== | ||
* The xml code on this page is compatible with onisplit '''v0.9.61.0''' | |||
* Original TRAC*.oni files are located under following path: Oni\Edition\GameDataFolder\level0_Final | * Original TRAC*.oni files are located under following path: Oni\Edition\GameDataFolder\level0_Final | ||
* Note from ''[[Making a mod package]]'' page: | * Note from ''[[Making a mod package]]'' page: | ||
Line 13: | Line 11: | ||
===TRAC hierarchy=== | |||
As you can see, there are basically two families of animation collections: female and male. | As you can see, there are basically two families of animation collections: female and male. | ||
Line 69: | Line 66: | ||
===file structure=== | |||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<Oni> | <Oni> | ||
Line 90: | Line 87: | ||
===XML tags=== | |||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width=100px| XML tag | !width=100px| XML tag | ||
Line 106: | Line 103: | ||
| TRAM''name'', e.g. TRAMBARABpowerup, file suffix .oni/.xml is not allowed | | TRAM''name'', e.g. TRAMBARABpowerup, file suffix .oni/.xml is not allowed | ||
|} | |} | ||
{{XML}} |
Revision as of 13:59, 9 November 2012
TRAC : Totoro Animation Collection | ||
---|---|---|
XML
SNDD << Other file types >> TRAM |
general information
- The xml code on this page is compatible with onisplit v0.9.61.0
- Original TRAC*.oni files are located under following path: Oni\Edition\GameDataFolder\level0_Final
- Note from Making a mod package page:
- Be very careful when replacing (not adding) TRAC, they can be a bit touchy.
With TRAC, you must include all of the children of the TRAC you are adding.
- The current AE stores special AI TRACs for Konoko.
Also the other female characters use those TRACs in one way or another (see TRAC hierarchy).
- Oni\Edition\install\packages\Globalize\oni\level0_Final\level0_Animations\TRAC prep\level0_TRAC
- Oni\Edition\install\packages\Globalize\oni\level0_Final\level0_Characters\Glass
TRAC hierarchy
As you can see, there are basically two families of animation collections: female and male.
The full pool of available animations is put together of "parant" and "child" collections.
This can cover more than one child. For example, Mutant Muro uses COMGUYidle1 which is located inside TRACcomguy_animations.oni
So Mutant Muro got his animation through two other TRAC files.
On the other hand, every animation from the parent TRAC (e.g striker) become overruled if the child TRAC (e.g. TCTFswat) provides an animation of the same state/type/varient. So, for example, a TCTF swat can do a TCTF swat punch instead of a striker punch.
TRACkonokocore_animations.oni | +-------- TRACShinzom_animations.oni | +-------- TRACshinatama_animations.oni | +-------- TRACred_animations.oni | +-------- TRACkonokolev1_animations.oni | +-------- TRACkonoko_animations.oni | +-------- TRACgen_f_animations.oni TRACstrikercore_animations.oni | +-------- TRACstriker_animations.oni | | | +-------- TRACTCTFswat_animations.oni | +-------- TRACelite_animations.oni | | | +-------- TRACbarabus_animations.oni | +-------- TRACninja_animations.oni | +-------- TRACcomguy_animations.oni | +-------- TRACgen_m_animations.oni | +-------- TRACdoctor_animations.oni | +-------- TRACsecurity_animations.oni | +-------- TRACgriffin_animations.oni | +-------- TRACthug_animations.oni | +-------- TRACTanker_animations.oni | +-------- TRACmuro_animations.oni | +---------- TRACmutantmuro_animations.oni
file structure
<?xml version="1.0" encoding="utf-8"?> <Oni> <TRAC id="0"> <ParentCollection>TRACelite_animations</ParentCollection> <Animations> [...] </Animations> </TRAC> </Oni>
[...] means at least one "block". (Block start and end marked in green). Paste your wanted blocks into the place of "[...]".
example
<TRACAnimation> <Weight>100</Weight> <Animation>TRAMBARABpowerup</Animation> </TRACAnimation>
XML tags
XML tag | content type | description |
---|---|---|
<Weight> | integer | A higher value indicates that this animation has a better chance to be picked up if there are multiple animations possible for the same (from state, animation type, varient, first level) pair.
E.g. Konoko's sneezing is an idle animation but appears very rarely because the weight value is very low. Same for a certain ninja taunt, etc. |
<Animation> | link | TRAMname, e.g. TRAMBARABpowerup, file suffix .oni/.xml is not allowed |