You are not logged in.
Pages: 1
Can someone explain me how to adjust color of the contrails...
If someone has some time, can he do a little tutorial please?
Offline
Are you prepared to edit particles?
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
I am, at least I think I am
Offline
Anyone?!
Offline
I've been busy. If nobody else helps and I don't get around to it, bump this topic tonight.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Uh wrong topic...sorry >.>
Last edited by Lithium (01/21/11 17:01)
Oni IRC | Kumite! Kumite! Kumite!
Offline
Well, that was a bump, anyway.
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
Nitr0, if you are still interested there's a page about how adding contrails.
Then, for changing the color, you need to create a new particle: copy the existing one, e.g. "h2h_murtrail_e01" (complete file name "BINA3RAPh2h_murtrail_e01.oni"), convert it to xml, and change the file name and the color. "<Tint>51 178 255 0</Tint>" (First value is the transparency, i think.)
Edit: Ah, i forgot: the emitter ("_e01") links to the ("_p01") 'actual' particle file which holds the content we are interested in. (So you need both files.) The tint tag has the variable "color", so it's about that code:
<ColorInterpolate>
<Target>color</Target>
<Color0>255 0 0</Color0>
<Color1>0 0 77</Color1>
<Amount>blend</Amount>
</ColorInterpolate>
(Color0 is the start color, the tag stores the color values this way: red, green, blue. Hence 255 0 0 is red.)
In the end you should have 3 or 4 new files: ONCC, _e particle, and _p particle. (make sure _e links to the new _p), and TRAM if you have a "contrail_2".
Last edited by paradox-01 (01/23/11 04:01)
Offline
For just changing the color of one character you should just need to edit the _p particle.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Thanks Paradox you helped me a lot
Offline
Hmmm...
I added particle to the foot of "TRAMTCTCOMcomb_k_k_k" animation and when I tried to export it back to .oni file I got this problem:
Last edited by Nitr0 (01/25/11 07:01)
Offline
OniSplit says that there is a mistake in line 45, it couldn't find the <start> tag. See if you can discover the mistake.
Offline
This is what I have:
<Particles>
<Particle>
<StartFrame>0</StartFrame>
<EndFrame>12</EndFrame>
<Bone>LeftFist</Bone>
<Name>contrail</Name>
</Particle>
</Particles>
This is the 45th line: <StartFrame>0</StartFrame>
What do I need to change or add?
Last edited by Nitr0 (01/25/11 09:01)
Offline
Try this:
<Particles>
<Particle>
<Start>0</Start>
<End>12</End>
<Bone>LeftFist</Bone>
<Name>contrail</Name>
</Particle>
</Particles>
You are probably using a more recent OniSplit in which the start and end tag was changed.
Last edited by paradox-01 (01/25/11 09:01)
Offline
Problem solved
Thank you very much paradox.
Offline
Pages: 1