how to change the rifle colour (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
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

how to change the rifle colour (SOLVED)

Post by Deviss »

hello i continuos with my mod but always appear bugs lol, i changed the inf rifle laser colour and aslo changed the award rifle laser colour but i have a problem with the award don't can change the colour of the shoot this appear on purple
ImageImage

help please!!
Last edited by Deviss on Tue Oct 28, 2008 1:00 pm, edited 1 time in total.
PhantoM

Re: how to change the rifle colour

Post by PhantoM »

DEVISS-REX wrote:hello i continuos with my mod but always appear bugs lol, i changed the inf rifle laser colour and aslo changed the award rifle laser colour but i have a problem with the award don't can change the colour of the shoot this appear on purple
ImageImage

help please!!
Oookay. Here we go.
DEVISS-REX wrote:hello i continuos with my mod but always appear bugs lol,
I'm pretty sure he means that he's continuing with a mod he's making, but bugs keep popping up.
DEVISS-REX wrote: i changed the inf rifle laser colour and aslo changed the award rifle laser colour
He changed the ordinary rifle ordnance color, and changed the award rifle ordnance color.
DEVISS-REX wrote:but i have a problem with the award don't can change the colour of the shoot this appear on purple
He has a problem with the award rifle: the ordnance color doesn't change.


Conclusion: He needs to change some ODF files so that the blaster rifle changes to the award rifle upon getting the award. Since I have never modded SWBF2, I'm afraid I can't help ya, but hopefully some others can.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: how to change the rifle colour

Post by Maveritchell »

@PhantoM: You don't need to be condescending and "translate" someone's post (especially when you have nothing to try and offer) when it's understandable in the first place. Besides,
He has a problem with the award rifle: the ordnance color doesn't change.


Conclusion: He needs to change some ODF files so that the blaster rifle changes to the award rifle upon getting the award. Since I have never modded SWBF2, I'm afraid I can't help ya, but hopefully some others can.
...this is wrong. The picture shows what the problem is, and the problem is that he's changed the award rifle's ordnance color, but he can't change the color of the muzzleflash.

And to fix that you need to edit the actual weapon .odf, not the _ord.odf. Look for these lines (or just add them in to your weapon's .odf, they're already the blue ones):

Code: Select all

MuzzleFlash         = "small_muzzle_flash"
FlashColor          = "80 80 255 255"     
FlashLength         = 0.025               
FlashColor          = "100 100 255 255"   
FlashLength         = 0.025               
FlashLightColor     = "220 220 255 175"   
FlashLightRadius    = "2.0"               
FlashLightDuration  = "0.25"              
Discharge           = "small_smoke_effect"
PhantoM

Re: how to change the rifle colour

Post by PhantoM »

Hidden/Spoiler:
[quote="Maveritchell"] @PhantoM: You don't need to be condescending and "translate" someone's post (especially when you have nothing to try and offer) when it's understandable in the first place. Besides,

[quote]He has a problem with the award rifle: the ordnance color doesn't change.


Conclusion: He needs to change some ODF files so that the blaster rifle changes to the award rifle upon getting the award. Since I have never modded SWBF2, I'm afraid I can't help ya, but hopefully some others can.[/quote]

...this is wrong. The picture shows what the problem is, and the problem is that he's changed the award rifle's ordnance color, but he can't change the color of the muzzleflash.

And to fix that you need to edit the actual weapon .odf, not the _ord.odf. Look for these lines (or just add them in to your weapon's .odf, they're already the blue ones):
[code]MuzzleFlash = "small_muzzle_flash"
FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashColor = "100 100 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"[/code][/quote]

Ah. *embarrassment* I had some trouble understanding him and thought some other people might too.
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: how to change the rifle colour

Post by Deviss »

...this is wrong. The picture shows what the problem is, and the problem is that he's changed the award rifle's ordnance color, but he can't change the color of the muzzleflash.

And to fix that you need to edit the actual weapon .odf, not the _ord.odf. Look for these lines (or just add them in to your weapon's .odf, they're already the blue ones):

Code: Select all

MuzzleFlash         = "small_muzzle_flash"
FlashColor          = "80 80 255 255"     
FlashLength         = 0.025               
FlashColor          = "100 100 255 255"   
FlashLength         = 0.025               
FlashLightColor     = "220 220 255 175"   
FlashLightRadius    = "2.0"               
FlashLightDuration  = "0.25"              
Discharge           = "small_smoke_effect"[/quote]

very thanks and sorry for my bad traduction the english for me es dificult. The problem is solved :D
Post Reply