Page 1 of 1

Droideka shield color [Solved]

Posted: Mon Jun 26, 2017 4:35 pm
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"

Re: Droideka shield color

Posted: Mon Jun 26, 2017 4:41 pm
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.

Re: Droideka shield color

Posted: Mon Jun 26, 2017 5:37 pm
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?

Re: Droideka shield color

Posted: Mon Jun 26, 2017 5:42 pm
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.

Re: Droideka shield color

Posted: Mon Jun 26, 2017 5:53 pm
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);
}

Re: Droideka shield color

Posted: Tue Jun 27, 2017 1:27 am
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:

Re: Droideka shield color

Posted: Tue Jun 27, 2017 6:36 am
by Delta-1035
../sides/cis/effects/cis_inf_droideka_shield.tga

Change the texture in photoshop to whatever colour you want.

Re: Droideka shield color

Posted: Tue Jun 27, 2017 7:02 am
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.

Re: Droideka shield color

Posted: Tue Jun 27, 2017 7:58 am
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.

Re: Droideka shield color

Posted: Tue Jun 27, 2017 8:13 am
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.

Re: Droideka shield color

Posted: Tue Jun 27, 2017 8:27 am
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.

Re: Droideka shield color

Posted: Tue Jun 27, 2017 11:26 am
by CT108
Delta-1035 wrote: You can.
Alright, sorry :oops: