Blaster effects question [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Blaster effects question [Solved]

Post by Oceans14 »

Regarding blaster laser effects - how do I get them to look like this:
Hidden/Spoiler:
Image
(Pic from Xavious's Ultimate Battlefront: The Clone Wars.) I have seen the above effect in a few mods, and it's more realistic which I really like. I feel like the stock blue is stupidly bland, and also nothing like in the movies.

I assumed making the change was as easy as substituting the new_small_blue TGA (which I got from the RC source files) for com_sfx_laser_blue and playing with the weapon odf values to get the length, but that didn't work out to my satisfaction. It it even more simple? More complicated? I've tried a several things and from what I can tell this effect isn't achievable just by changing colors, although I could be wrong. If somebody could point me in the right direction that would be awesome :D

Thanks GT
Last edited by Oceans14 on Tue May 26, 2015 11:18 pm, edited 2 times in total.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Blaster effects question

Post by MileHighGuy »

what I've always done was to use the blue lightsaber texture. Or you could edit the stock one to have more contrast and be more opaque. You will also have to change the glow colors in the odf to a similar color, I just color pick from the .tga and use those values. The length (and shape) is controlled in the odf, it just might be less apparent with a different texture.
User avatar
commanderawesome
Field Commander
Field Commander
Posts: 971
Joined: Tue Aug 13, 2013 11:58 pm
Projects :: Skin Changer - Warfront - Other stuff
Games I'm Playing :: SWBF SWTOR KotOR EaW
xbox live or psn: AaTc_CmdrAwesome
Location: The Universe

Re: Blaster effects question

Post by commanderawesome »

Here are some laser textures that I like to use. They come from the assets of a BF1 common.lvl mod. Credit Sleepkiller for them:
https://www.mediafire.com/?4ltdqrqj909qrl3
Eaol
Major
Major
Posts: 510
Joined: Fri Jul 31, 2009 5:49 pm
Games I'm Playing :: SWBF2 and Warframe
Location: Everywhere.

Re: Blaster effects question

Post by Eaol »

Image

I use an effect like this, but it's probably not what you're looking for. You could probably try an effect with a brilliant core but a weaker glow, and then use the glowlength and laserglowcolor for the other bits, but I'm not sure what you're going for. Unfortunately, the general shape seems not to be something that can be changed (you might be able to do something with a trail effect and the spark render type or whatever in the particleeditor, if you can replace the entire bolt with a trail effect, but I've been too lazy to try this out).
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Blaster effects question

Post by Oceans14 »

Interesting. I wasn't doing anything with the color values in the weapon odf. Are those 4 values using the RGB alpha or CMYK color model? I ask because I played with the values and didn't see any major color changes ingame.

@commanderawesome - Thanks for the link. I used Sleepkiller's blue laser and got this:
Hidden/Spoiler:
Image
Definitely an improvement, I just need to work on the contrast so the bolt pops out a little more vividly as well as get rid of that faint purple halo around the outside.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Blaster effects question

Post by Deviss »

Oceans14 wrote:Interesting. I wasn't doing anything with the color values in the weapon odf. Are those 4 values using the RGB alpha or CMYK color model? I ask because I played with the values and didn't see any major color changes ingame.

@commanderawesome - Thanks for the link. I used Sleepkiller's blue laser and got this:
Hidden/Spoiler:
Image
Definitely an improvement, I just need to work on the contrast so the bolt pops out a little more vividly as well as get rid of that faint purple halo around the outside.
try this:

LaserTexture = "Laser_Texture_Name"
LaserGlowColor = "0 0 255 255"
LightColor = "0 0 255 100"
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Blaster effects question

Post by Oceans14 »

Hidden/Spoiler:
Image
Sweeeet. Those values did the trick. It also helped to look at the ingame result with the full SWBF2 game and not with bf2_modtools. That little screen isn't good for trying to get a color right.

Now to apply this effect to the rest of my side's weapons :D A big thank you to everyone who gave me advice with this.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Blaster effects question

Post by Deviss »

Oceans14 wrote:Sweeeet. Those values did the trick.
you are welcome :), if you want i can send you red, green, yellow values i use
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Blaster effects question

Post by Oceans14 »

you are welcome :), if you want i can send you red, green, yellow values i use
That would be much appreciated!
Post Reply