Vessel glows -1 reply

Please wait...

delta_dids

What Lies Beyond...

50 XP

9th December 2006

0 Uploads

145 Posts

0 Threads

#1 10 years ago

Can somebody tell me very simply how to add glows to say, p81's intrepid. Once I know how to do one, I'm sure I can adapt it to others. Thanks :D




F/\}{I´3$

Illiterate? I'm FahreS

50 XP

24th March 2006

0 Uploads

1,230 Posts

0 Threads

#2 10 years ago

Glows aren't as complicate as the seem to be. The importants file is the lights sprite. There you have to add a line like this:

#MIIB Serleena Glow @sprite_node fwmselg softglow const (0.8,0.8) (0,0.5,1) billboard

This line has four important parts. part1, "fwmselg" is its name, be sure to use a unique name to avoid conflicts. (this one is already used) part2, "softglow" tells the game which glowtexture to use. Scroll up and youll see that this uses "xglow_soft.tga". xglow_soft.tga is a good glow texture, but if you want your own, add another entry. part3, "(0.8,0.8)" is the size of the glow. part4, "(0,0.5,1)" is the RGB color, but 255=1. You have to divide the normal RGBs by 255.

Now your game is able to work with glows. Open your ship and add this glow like a normal light, connected to h_lights. Here is the name needed, because if you call its sprite "fwmselg" then the hardpoint is called "s_fwmselg".




S618-18741

Captin Prozack

50 XP

18th January 2004

0 Uploads

191 Posts

0 Threads

#3 10 years ago

If your talking about glowing nacells you could also just add an Alpha Channel to the texture (A2 Only), this will make the parts where the Alpha Channel is light up, I personally find the correct glows work better aslong as they're not overpowering.

Good Luck