XML:TRAC: Difference between revisions

m
updated usage of Template:Tree list
m (copy-edit)
m (updated usage of Template:Tree list)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
* TRAC files in vanilla Oni are a mixture of global and local, located through all level''x''_Final.dat files, however in the AE they are all globalized.
* TRAC files in vanilla Oni are a mixture of global and local, located through all level''x''_Final.dat files, however in the AE they are all globalized.
* Note from the ''[[Making a mod package]]'' page:
* Note from the ''[[Making a mod package]]'' page:
: 'Be very careful when replacing (not adding) TRAC. You must include all of the child TRACs of the TRAC you are adding.'
: '''''Be very careful when replacing (not adding) TRAC. You must include all of the child TRACs of the TRAC you are adding.'''''


==TRAC hierarchy==
==TRAC hierarchy==
Line 11: Line 11:


On the other hand, an animation from the parent TRAC (e.g. striker_animations) will be overridden if the child TRAC (e.g. TCTFswat_animations) provides an animation of the same state, type and variant. For example, a TCTF SWAT can do a TCTF SWAT punch instead of a Striker punch.
On the other hand, an animation from the parent TRAC (e.g. striker_animations) will be overridden if the child TRAC (e.g. TCTFswat_animations) provides an animation of the same state, type and variant. For example, a TCTF SWAT can do a TCTF SWAT punch instead of a Striker punch.
TRAC<font color="#FF0000">'''konokocore'''</font>_animations.oni
 
  |
 
  +-------- TRAC<font color="#FF0000">'''Shinzom'''</font>_animations.oni
'''Female TRAC hierarchy'''
  |
{{Tree list}}
  +-------- TRAC<font color="#FF0000">'''shinatama'''</font>_animations.oni
*TRAC<font color="#FF0000">'''konokocore'''</font>_animations.oni
  |
**TRAC<font color="#FF0000">'''Shinzom'''</font>_animations.oni
  +-------- TRAC<font color="#FF0000">'''red'''</font>_animations.oni
**TRAC<font color="#FF0000">'''shinatama'''</font>_animations.oni
  |
**TRAC<font color="#FF0000">'''red'''</font>_animations.oni
  +-------- TRAC<font color="#FF0000">'''konokolev1'''</font>_animations.oni
**TRAC<font color="#FF0000">'''konokolev1'''</font>_animations.oni
              |
***TRAC<font color="#FF0000">'''konoko'''</font>_animations.oni
              +-------- TRAC<font color="#FF0000">'''konoko'''</font>_animations.oni
****TRAC<font color="#FF0000">'''gen_f'''</font>_animations.oni
                          |
{{Tree list|end}}
                          +-------- TRAC<font color="#FF0000">'''gen_f'''</font>_animations.oni
 
 
'''Male TRAC hierarchy'''
TRAC<font color="#FF0000">'''strikercore'''</font>_animations.oni
{{Tree list}}
  |
*TRAC<font color="#FF0000">'''strikercore'''</font>_animations.oni
  +-------- TRAC<font color="#FF0000">'''striker'''</font>_animations.oni
**TRAC<font color="#FF0000">'''striker'''</font>_animations.oni
  |          |
***TRAC<font color="#FF0000">'''TCTFswat'''</font>_animations.oni
  |          +-------- TRAC<font color="#FF0000">'''TCTFswat'''</font>_animations.oni
**TRAC<font color="#FF0000">'''elite'''</font>_animations.oni
  |
***TRAC<font color="#FF0000">'''barabus'''</font>_animations.oni
  +-------- TRAC<font color="#FF0000">'''elite'''</font>_animations.oni
**TRAC<font color="#FF0000">'''ninja'''</font>_animations.oni
  |          |
**TRAC<font color="#FF0000">'''comguy'''</font>_animations.oni
  |          +-------- TRAC<font color="#FF0000">'''barabus'''</font>_animations.oni
***TRAC<font color="#FF0000">'''gen_m'''</font>_animations.oni
  |
***TRAC<font color="#FF0000">'''doctor'''</font>_animations.oni
  +-------- TRAC<font color="#FF0000">'''ninja'''</font>_animations.oni
***TRAC<font color="#FF0000">'''security'''</font>_animations.oni
  |
***TRAC<font color="#FF0000">'''griffin'''</font>_animations.oni
  +-------- TRAC<font color="#FF0000">'''comguy'''</font>_animations.oni
***TRAC<font color="#FF0000">'''thug'''</font>_animations.oni
              |
***TRAC<font color="#FF0000">'''Tanker'''</font>_animations.oni
              +-------- TRAC<font color="#FF0000">'''gen_m'''</font>_animations.oni
***TRAC<font color="#FF0000">'''muro'''</font>_animations.oni
              |
****TRAC<font color="#FF0000">'''mutantmuro'''</font>_animations.oni
              +-------- TRAC<font color="#FF0000">'''doctor'''</font>_animations.oni
{{Tree list|end}}
              |
              +-------- TRAC<font color="#FF0000">'''security'''</font>_animations.oni
              |
              +-------- TRAC<font color="#FF0000">'''griffin'''</font>_animations.oni
              |
              +-------- TRAC<font color="#FF0000">'''thug'''</font>_animations.oni
              |
              +-------- TRAC<font color="#FF0000">'''Tanker'''</font>_animations.oni
              |
              +-------- TRAC<font color="#FF0000">'''muro'''</font>_animations.oni
                          |
                          +---------- TRAC<font color="#FF0000">'''mutantmuro'''</font>_animations.oni


==File structure==
==File structure==
Line 87: Line 75:
|valign=top| <Animation>
|valign=top| <Animation>
|valign=top| link
|valign=top| link
| TRAM''name'', e.g. TRAMBARABpowerup, file suffix .oni/.xml is not allowed.
| '''[[XML:TRAM|TRAM]]'''''name'', e.g. TRAMBARABpowerup, file suffix .oni/.xml is not allowed.
|}
|}


{{XML}}
{{XML}}