FAQ  •  Register  •  Login

colors in .eff files

<<

LION 98

Mod Member

Posts: 55

Joined: Sat Feb 26, 2011 11:02 am

Post Thu Mar 03, 2011 5:10 am

colors in .eff files

Hi all,i have a little problem, colors settings are strange in .eff files.i have:

0.25 0.55 0.23 0.23

i know it's x y and z,and light,but how to know values?me,i know this:

0.252 0.245 0.654
and it works for water,but not for the .eff files.so,how to know colors?

thanks
<<

stuka_40

User avatar

Mod Member

Posts: 366

Joined: Wed Jan 30, 2008 5:34 am

Post Thu Mar 03, 2011 5:34 am

Re: colors in .eff files

They are RGB(Red Blue Green) and alpha channel (transparency) values,in your example it means:
0.25 X 255=64 Red
0.55 x 255=140 Green
0.23 x 255=59 Blue
and 0.23 x 1.0=0.23 alpha channel


  Code:
  Color0 0.4 0.4 0.4 0.8 
  Color1 1.0 0.50 0.14 0.0

* In a effects file the Color0 is the primary color of paricles and color1 is the final color of particles.
Maybe time to go and play with effect files color now! :wink:
<<

Heinkel-162

Posts: 283

Joined: Tue Dec 07, 2010 9:57 am

Post Thu Mar 03, 2011 6:04 am

Re: colors in .eff files

To edit Eff files do you need to decompile them with classresolver and then recompile them with a java program or simpy open them in Notepad or something?
<<

stuka_40

User avatar

Mod Member

Posts: 366

Joined: Wed Jan 30, 2008 5:34 am

Post Thu Mar 03, 2011 6:28 am

Re: colors in .eff files

Heinkel-162 wrote:To edit Eff files do you need to decompile them with classresolver and then recompile them with a java program or simpy open them in Notepad or something?

They are not class files, so no need to decompiler or classresolver, you just open and edit them in Notepad!
<<

Heinkel-162

Posts: 283

Joined: Tue Dec 07, 2010 9:57 am

Post Thu Mar 03, 2011 6:30 am

Re: colors in .eff files

stuka_40 wrote:
Heinkel-162 wrote:To edit Eff files do you need to decompile them with classresolver and then recompile them with a java program or simpy open them in Notepad or something?

They are not class files, so no need to decompiler or classresolver, you just open and edit them in Notepad!


Ok thanks, now do you know what the file is called that controls the Jet engine Exhaust-flame colour?
<<

LION 98

Mod Member

Posts: 55

Joined: Sat Feb 26, 2011 11:02 am

Post Thu Mar 03, 2011 8:26 am

Re: colors in .eff files

thanks.yes,i open with notepad.but,i just understand a little,stuka 40...i'll test and try :D
<<

LION 98

Mod Member

Posts: 55

Joined: Sat Feb 26, 2011 11:02 am

Post Thu Mar 03, 2011 8:28 am

Re: colors in .eff files

ahhhhhh ok!and i can see colors with paint ;)
<<

stuka_40

User avatar

Mod Member

Posts: 366

Joined: Wed Jan 30, 2008 5:34 am

Post Thu Mar 03, 2011 9:04 am

Re: colors in .eff files

Heinkel-162 wrote:
stuka_40 wrote:
Heinkel-162 wrote:To edit Eff files do you need to decompile them with classresolver and then recompile them with a java program or simpy open them in Notepad or something?

They are not class files, so no need to decompiler or classresolver, you just open and edit them in Notepad!


Ok thanks, now do you know what the file is called that controls the Jet engine Exhaust-flame colour?


The effet file is TurboZippo.eff
<<

stuka_40

User avatar

Mod Member

Posts: 366

Joined: Wed Jan 30, 2008 5:34 am

Post Thu Mar 03, 2011 9:20 am

Re: colors in .eff files

LION 98 wrote:ahhhhhh ok!and i can see colors with paint ;)

If you want to edit or choose the colors, you have to use more powerfull tools (like "gimp" which is freeware you can download here:) :arrow: http://www.gimp.org/downloads/
or "photoshop"(not freeware!) than paint (if you mean MS paint in windows). :wink:
<<

LION 98

Mod Member

Posts: 55

Joined: Sat Feb 26, 2011 11:02 am

Post Thu Mar 03, 2011 9:25 am

Re: colors in .eff files

i have gimp,thanks ;) ok!

Return to MOD Creation Tutorials and Assistance

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.