fire colour

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
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

fire colour

Post by elfie »

is there any way to change the colour of the light that fires from the weapon like from green to blue or vice versa?
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: fire colour

Post by woner11 »

There should be something in the odf asking for the color.
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: fire colour

Post by obiboba3po »

thats probably true woner. Also, you could ask dann, he knows everything and he did it in his the cage match. :lol:
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: fire colour

Post by woner11 »

Here look. This is the commando pistol ordanance file:
Hidden/Spoiler:
[OrdnanceClass]
ClassParent = "com_weap_inf_commando_pistol_ord"

[Properties]
LaserTexture = "com_sfx_laser_blue"
LaserGlowColor = "18 44 239 100"
LightColor = "18 44 239 100"
Anything highlighted plays a role in the final color. However, the texture plays the biggest role. Just change it to another tga to change it.
PsYcH0_]-[aMsT3r
2nd Lieutenant
2nd Lieutenant
Posts: 405
Joined: Fri Jan 25, 2008 3:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Location Location.

Re: fire colour

Post by PsYcH0_]-[aMsT3r »

You can change it in the odf liek woner11 said, reskin it or if you want to change the muzzleflash do that in the odf.
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: fire colour

Post by elfie »

ausome! i think i found it. I think you have to edit the ordanance file like all_weap_inf_rifle_ord and change it from com_sfx_laser_red to com_sfx_laser_green. I think that is it. I'll let you know.
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: fire colour

Post by The_Emperor »

No need to let us know, it's true and not exactly news :P You'll want to change the laserglowcolor and lightcolor too though. If you don't you have for instance a red laser glowing green and giving off green light
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: fire colour

Post by elfie »

how would you edit the laser and light glow? they are just numbers.
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: fire colour

Post by The_Emperor »

It's RGB values + the alpha. So the numbers stand for a color. (

The easiest thing to do is if you want to change it to, say, green, find a weapon ordnance that shoots green lasers, copy the color numbers from that odf and paste em over the ones in the odf you want to change.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: fire colour

Post by Maveritchell »

elfie wrote:how would you edit the laser and light glow? they are just numbers.
Everything on a computer is "just numbers," when you get right down to it.

These particular numbers refer to the concentration of (in order) red, green, blue, and alpha levels. You can pretty much ignore that last one for what you're trying to do (i.e. keep the fourth number the same) and use this application to figure out what you need to adjust the other numbers to (or you could just use other .odfs as references):
http://houseof3d.com/pete/applets/tools ... index.html
User avatar
da_great_ghost
Corporal
Corporal
Posts: 141
Joined: Sat Feb 02, 2008 3:40 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: , Location, Location, Location

Re: fire colour

Post by da_great_ghost »

This helps me alot thanks!!!!
Pidgeon

Re: fire colour

Post by Pidgeon »

is there a way to make black bullets me and a friend tried it but it did'nt work.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: fire colour

Post by woner11 »

Change the settings to zero.
User avatar
Captain Chaar
Private
Posts: 31
Joined: Tue Jan 29, 2008 11:36 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: fire colour

Post by Captain Chaar »

Also if you really want to test the RBG value for the color you want, you can go into any drawing maker (photoshop, paint shop pro, even Microsoft Word), and there will be a color tool where you can click on any color, and it will show the RBG value.

It was how I was able to turn the stars red in one of my maps.

I'd recommend paint shop pro.
Post Reply