8,294
edits
(the Y track is an array of actual heights, not velocities/increments) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 272: | Line 272: | ||
--[[User:Loser|Loser]] 19:50, 20 August 2008 (CEST) | --[[User:Loser|Loser]] 19:50, 20 August 2008 (CEST) | ||
===XML stuff=== | |||
====adding colorful trails==== | |||
Open the xml formated TRAM and search for the "Particles" tag and insert your code. | |||
First example: TRAMSTRCOMcomb_p_p.xml | |||
{| border=0 cellspacing=20 cellpadding=0 align=right | |||
| [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/TRAM/colorful_contrail_added.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/TRAM/colorful_contrail_added_preview.png] | |||
|} | |||
<Particles> | |||
<Particle> | |||
<StartFrame>0</StartFrame> | |||
<EndFrame>12</EndFrame> | |||
<Bone>LeftFist</Bone> | |||
<Name>contrail</Name> | |||
</Particle> | |||
</Particles> | |||
"contrail" is looked up by the used character class (ONCC) which lunch the actual particle, here it is "h2h_strtrail_e01". | |||
Second example is about two different contrails in one TRAM at same time. The animation is "TRAMSTRCOMpunch_heavy.xml". | |||
{| border=0 cellspacing=20 cellpadding=0 align=right | |||
| [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/TRAM/different_contrails_in_attack.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/TRAM/different_contrails_in_attack_previ.png] | |||
|} | |||
<Particles> | |||
<Particle> | |||
<StartFrame>0</StartFrame> | |||
<EndFrame>54</EndFrame> | |||
<Bone>RightWrist</Bone> | |||
<Name>contrail</Name> | |||
</Particle> | |||
<Particle> | |||
<StartFrame>0</StartFrame> | |||
<EndFrame>54</EndFrame> | |||
<Bone>LeftWrist</Bone> | |||
<Name>'''contrail_2'''</Name> | |||
</Particle> | |||
</Particles> | |||
Note that you need to register the second contrail in the used ONCC as well. Using your own contrail particle is also possible, just insert it's name between the <Type> tags. | |||
<ONCPParticle> | |||
<Name>contrail</Name> | |||
<Type>h2h_strtrail_e01</Type> | |||
<BodyPart>-1</BodyPart> | |||
</ONCPParticle> | |||
<ONCPParticle> | |||
<Name>'''contrail_2'''</Name> | |||
<Type>'''h2h_murtrail_e01'''</Type> | |||
<BodyPart>-1</BodyPart> | |||
</ONCPParticle> |
edits