Droideka shield color [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
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Droideka shield color [Solved]

Post by LitFam »

How do you change the shield color?

I know it says this (ShieldEffect = "droidekashield"), but I can't find the effect anywhere in the mod tools.

Code: Select all

[WeaponClass]

ClassLabel          = "shield"

[Properties]
HUDTag     = "hud_droideka_shield"
Label               = "Shield"

RoundsPerClip       = "1"
ReloadTime          = "0.0"

MaxShield           = 10000
AddShield           = -200
AddShieldOff        = 200

ShieldOffset        = "0.0 1.0 0.125"
ShieldRadius        = 1.25

FireSound           = "cis_droideka_shield_on"
FireEmptySound      = ""
FireLoopSound       = ""
ReloadSound         = ""
ChargeSound         = ""
ChangeModeSound     = ""
WeaponChangeSound   = ""
//ShieldSound           = "cis_droideka_shield"
//ShieldSound         = "droid_fx7_hum"
ShieldOffSound      = ""

ShieldEffect        = "droidekashield"
Last edited by LitFam on Tue Jun 27, 2017 8:47 am, edited 1 time in total.
User avatar
CT108
Rebel Sergeant
Rebel Sergeant
Posts: 186
Joined: Mon Aug 22, 2016 6:20 am
Projects :: None
Games I'm Playing :: CS2
xbox live or psn: Captain CT108
Location: Xanadu

Re: Droideka shield color

Post by CT108 »

The last time that I had to use the droidekashield.fx effect was in the PC folder in the CIS side. If the folder is here, change the color through the RGB lines.
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Re: Droideka shield color

Post by LitFam »

Where should the pc folder be in the effects or the msh folder, also what it the RGB lines (sorry I am not good with abbreviations).

Don't you have to change the droidekashield.fx to a different name or it will use the stock one?
User avatar
CT108
Rebel Sergeant
Rebel Sergeant
Posts: 186
Joined: Mon Aug 22, 2016 6:20 am
Projects :: None
Games I'm Playing :: CS2
xbox live or psn: Captain CT108
Location: Xanadu

Re: Droideka shield color

Post by CT108 »

LitFam wrote:Where should the pc folder be in the effects or the msh folder, also what it the RGB lines (sorry I am not good with abbreviations).

Don't you have to change the droidekashield.fx to a different name or it will use the stock one?
It's in the effect's pc folder. And RGB means Red Green Blue, that's the 3 colors that there's in the fx files.

And it will use the stock one, you don't have to rename it.
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Re: Droideka shield color

Post by LitFam »

So would I replace the Color, SpecularColor, or both

(I want the shield to be green can anyone find the right numbers)

Code: Select all

Shield("DroidekaShield")
{
	Type("droideka");
	Texture("cis_inf_droideka_shield");
	Color(96, 160, 192, 255);
	SpecularColor(216, 240, 255);
	ViewAngleFactor(1.5);
	Radius(1.25);
	Height(1.25);
	TurnOnTime(0.15);
	TurnOffTime(0.15);
	ScrollRate(1.0);
}
User avatar
CT108
Rebel Sergeant
Rebel Sergeant
Posts: 186
Joined: Mon Aug 22, 2016 6:20 am
Projects :: None
Games I'm Playing :: CS2
xbox live or psn: Captain CT108
Location: Xanadu

Re: Droideka shield color

Post by CT108 »

Uuuuh the color section has 4 numbers, so idk how to change the color, you should ask a good modder for that. But the specular color is in RBG, so search on Google RGB colors and the green will have 3 numbers, so replace the 3 specular color numbers by the green numbers ;)

EDIT : Ups i think i did a mistake I don't remember if it's RGB or RBG but we don't care :funny2:
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

Re: Droideka shield color

Post by Delta-1035 »

../sides/cis/effects/cis_inf_droideka_shield.tga

Change the texture in photoshop to whatever colour you want.
User avatar
CT108
Rebel Sergeant
Rebel Sergeant
Posts: 186
Joined: Mon Aug 22, 2016 6:20 am
Projects :: None
Games I'm Playing :: CS2
xbox live or psn: Captain CT108
Location: Xanadu

Re: Droideka shield color

Post by CT108 »

Delta-1035 wrote:../sides/cis/effects/cis_inf_droideka_shield.tga

Change the texture in photoshop to whatever colour you want.
I don't think that you can change the color though the tga file, I tried with some other effects and it don't work.
ForceMaster
Lieutenant General
Lieutenant General
Posts: 737
Joined: Fri Aug 08, 2008 11:27 pm
Projects :: Tron The Grid
Games I'm Playing :: The best..SWBFII
xbox live or psn: No gamertag set
Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe

Re: Droideka shield color

Post by ForceMaster »

CT108 wrote:
Delta-1035 wrote:../sides/cis/effects/cis_inf_droideka_shield.tga

Change the texture in photoshop to whatever colour you want.
I don't think that you can change the color though the tga file, I tried with some other effects and it don't work.
Changes in any .tga file must show ingame if you get it properly.

Some effects like shield impact have a .tga file associated with it, but that file not have colors, only a white. Then you need edit the colors (and his variations) in the particle editor.
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Re: Droideka shield color

Post by LitFam »

So I just need to edit the tga file (cis_inf_droideka_shield.tga)

Also if the assets are in the effects/pc folder will it use my custom files or the stock shield, that is my problem every time I edit the stock shield files to something else no shield appeares in game it's gone.
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

Re: Droideka shield color

Post by Delta-1035 »

CT108 wrote: I don't think that you can change the color though the tga file, I tried with some other effects and it don't work.
You can.
User avatar
CT108
Rebel Sergeant
Rebel Sergeant
Posts: 186
Joined: Mon Aug 22, 2016 6:20 am
Projects :: None
Games I'm Playing :: CS2
xbox live or psn: Captain CT108
Location: Xanadu

Re: Droideka shield color

Post by CT108 »

Delta-1035 wrote: You can.
Alright, sorry :oops:
Post Reply