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
LitFam
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
Post
by LitFam » Mon Jun 26, 2017 4:35 pm
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.
CT108
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
Post
by CT108 » Mon Jun 26, 2017 4:41 pm
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
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
Post
by LitFam » Mon Jun 26, 2017 5:37 pm
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?
CT108
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
Post
by CT108 » Mon Jun 26, 2017 5:42 pm
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
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
Post
by LitFam » Mon Jun 26, 2017 5:53 pm
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);
}
CT108
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
Post
by CT108 » Tue Jun 27, 2017 1:27 am
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
Delta-1035
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
Post
by Delta-1035 » Tue Jun 27, 2017 6:36 am
../sides/cis/effects/cis_inf_droideka_shield.tga
Change the texture in photoshop to whatever colour you want.
CT108
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
Post
by CT108 » Tue Jun 27, 2017 7:02 am
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
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
Post
by ForceMaster » Tue Jun 27, 2017 7:58 am
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
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
Post
by LitFam » Tue Jun 27, 2017 8:13 am
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.
Delta-1035
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
Post
by Delta-1035 » Tue Jun 27, 2017 8:27 am
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.
CT108
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
Post
by CT108 » Tue Jun 27, 2017 11:26 am
Delta-1035 wrote:
You can.
Alright, sorry