Page 1 of 1

how to change the rifle colour (SOLVED)

Posted: Mon Oct 27, 2008 5:22 pm
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!!

Re: how to change the rifle colour

Posted: Mon Oct 27, 2008 6:09 pm
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.

Re: how to change the rifle colour

Posted: Mon Oct 27, 2008 6:40 pm
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"

Re: how to change the rifle colour

Posted: Mon Oct 27, 2008 6:45 pm
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.

Re: how to change the rifle colour

Posted: Tue Oct 28, 2008 12:54 pm
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