Jump to content


Photo

Color-changing FX...


  • Please log in to reply
2 replies to this topic

#1 derumdieeckeguck

derumdieeckeguck
  • Members
  • 9 posts

Posted 04 November 2006 - 10:15 AM

Hello.
I´ve got a question:How can I make a FX change it´s colour while it´s Lifetime?
I thought,it´s done by writing the wanted colour behind the colour code,but it doesnt work!

(Example:

---> the normal RGB-Code...



Color = DefaultColor
Color1 = R:217 G:239 B:255 0
Color2 = R:0 G:0 B:0 3
End

---> with the new colour....


Color = DefaultColor
Color1 = R:217 G:239 B:255 0 R:0 G:29 B:255
Color2 = R:0 G:0 B:0 3 R:0 G:255 B:0
End

#2 cahik_

cahik_

    Sage engine ruler

  • Project Team
  • 1,896 posts
  • Location:Czech Republic
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member and Crazy animator

Posted 04 November 2006 - 12:38 PM

  Color = DefaultColor
	Color1 = R:217 G:239 B:255 0
	Color2 = R:0 G:0 B:0 3
  End

this is right version of the code. first line tells the program that the color will be R:217 G:239 B:255 at frame No. 0 of lifetime of the particle.

second line tells that color will be R:0 G:0 B:0 at frame No. 3.

there are 30 frames in one second. so if you want particle that will change color from red to green in for example 3 seconds the code will look like:


  Color = DefaultColor
	Color1 = R:255 G:0 B:0 0
	Color2 = R:0 G:255 B:0 90
  End

you can change the color 8 times during the particle system life time :)

Posted Image

Posted Image
Posted Image


#3 derumdieeckeguck

derumdieeckeguck
  • Members
  • 9 posts

Posted 04 November 2006 - 01:32 PM

Thanks!
(I´m going to make a FX for Saruman...Muhaha!)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users