Page 1 of 2
Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 3:49 pm
by Cerfon Rournes
I was messing around my units odf, and i wanted to add a passive shield to him. So i looked on GT and found this:
http://www.gametoast.com/forums/viewtop ... 70#p247570
i wanted it with the bubble, so i tried adding PsYcH0_]-[aMsT3r's odf to my unit's:
- [WeaponClass]
ClassLabel = "shield"
[Properties]
HUDTag = "hud_droideka_shield"
Label = "Shield"
RoundsPerClip = "1"
ReloadTime = "0.0"
MaxShield = 3000
AddShield = -100
AddShieldOff = 300
ShieldOffset = "0.0 1.0 0.125"
ShieldRadius = 0
FireSound = "cis_droideka_shield_on"
FireEmptySound = ""
FireLoopSound = ""
ReloadSound = ""
ChargeSound = ""
ChangeModeSound = ""
WeaponChangeSound = ""
//ShieldSound = "cis_droideka_shield"
//ShieldSound = "droid_fx7_hum"
ShieldOffSound = ""
ShieldEffect = "droidekashield"
However, when I tried this, it didn't work. I still get the Shield, but no bubble

I messed around with it more, and still no bubble. Any help on this would be great thanks

Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 3:56 pm
by DarthD.U.C.K.
maybe you dont load the actual effect/model of the shield..
Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 4:00 pm
by genaral_mitch
He did, look at the bottom of his odf.
Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 4:07 pm
by Cerfon Rournes
yeah, i added the effect, here is my unit's odf(changed)
what am i doing wrong

Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 4:27 pm
by DarthD.U.C.K.
genaral_mitch wrote:He did, look at the bottom of his odf.
i meant loading in the memory by the .lua
Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 4:35 pm
by Cerfon Rournes
DarthD.U.C.K. wrote:genaral_mitch wrote:He did, look at the bottom of his odf.
i meant loading in the memory by the .lua
Uh....

, so how would i do that?
Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 4:48 pm
by MetalcoreRancor
probably because it's the wrong odf line.
WeaponShield
MaxShield
AddShield
AddShieldOff
ShieldOffset
ShieldRadius xyz
ShieldEffect
ShieldSound
ShieldOffSound
These are weapon properties.
Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 5:08 pm
by Cerfon Rournes
MetalcoreRancor wrote:probably because it's the wrong odf line.
WeaponShield
MaxShield
AddShield
AddShieldOff
ShieldOffset
ShieldRadius xyz
ShieldEffect
ShieldSound
ShieldOffSound
These are weapon properties.
thanks i'll try it
Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 5:08 pm
by DarthD.U.C.K.
Cerfon Rournes wrote:DarthD.U.C.K. wrote:genaral_mitch wrote:He did, look at the bottom of his odf.
i meant loading in the memory by the .lua
Uh....

, so how would i do that?
either by putting it into your sides effectsfolder or by loading the droideka in the lua
Re: Personal shields WITH the bubble?
Posted: Mon Aug 02, 2010 6:06 pm
by Cerfon Rournes
Cerfon Rournes wrote:MetalcoreRancor wrote:probably because it's the wrong odf line.
WeaponShield
MaxShield
AddShield
AddShieldOff
ShieldOffset
ShieldRadius xyz
ShieldEffect
ShieldSound
ShieldOffSound
These are weapon properties.
thanks i'll try it
well, i tried this, but im still getting the same thing. the effects are there, but no blue bubble.
here is the new unit odf(im only showing the parts you need to see:D)
[GameObjectClass]
ClassParent = "all_inf_default"
[Properties]
UnitType = "Trooper"
MaxHealth = 2000.0
WeaponShield ="cis_droideka_shield"
MaxShield =3000
AddShield =25
AddShieldOff =300
ShieldOffset ="0.0 1.0 0.125"
ShieldRadius xyz =1.25
ShieldEffect = "droidekashield"
ShieldSound ="cis_droideka_shield"
ShieldOffSound = "droid_fx7_hum"
Btw Darth duck, Im not sure what your talking about. Move what to where?
Re: Personal shields WITH the bubble?
Posted: Tue Aug 03, 2010 5:06 am
by DarthD.U.C.K.
copy the droidekashieldeffect-stuff from the effectsfolder of the cis side to the effects folder of your side
if you didnt do that and you dont load a droideka the shieldeffect cant work because the effects was never loaded
Re: Personal shields WITH the bubble?
Posted: Tue Aug 03, 2010 12:15 pm
by Cerfon Rournes
DarthD.U.C.K. wrote:copy the droidekashieldeffect-stuff from the effectsfolder of the cis side to the effects folder of your side
if you didnt do that and you dont load a droideka the shieldeffect cant work because the effects was never loaded
It didn't work

i added everything from the cis effects folder, which included this
cis_droideka_shield
cis_inf_droideka_shield
droidekashield
The 2 first ones should be the shield model, so idk whats going on. i also tried adding the files to /sides/common/effects, and data_*** Common/effects. still nothing

Re: Personal shields WITH the bubble?
Posted: Tue Aug 03, 2010 2:44 pm
by DarthD.U.C.K.
you put them in your sides effectfolder?
Re: Personal shields WITH the bubble?
Posted: Tue Aug 03, 2010 7:40 pm
by Cerfon Rournes
DarthD.U.C.K. wrote:you put them in your sides effectfolder?
Yes, i did. i tried lots of stuff:P i'm still getting the shield, with the effects, but i'm STILL not getting the model(bubble) over him.

Re: Personal shields WITH the bubble?
Posted: Tue Aug 03, 2010 7:53 pm
by fasty
Why don't you have
in your units odf?
Re: Personal shields WITH the bubble?
Posted: Tue Aug 03, 2010 9:18 pm
by Cerfon Rournes
fasty wrote:Why don't you have
in your units odf?
well, i did this and i got a VERY strange result:P
first of all, now my shield isn't passive anymore
second, THE BUBBLE COMES UP WOOT! but, it activates when i shoot my rifle, and deactivates when i shoot it again.
http://www.xfire.com/video/3276ef/
also, when i try to swich weapons back to the rifle gun from the sniper gun, game crash. Here is the unit odf.
Please hide large bodies of text/code, -Staff
Re: Personal shields WITH the bubble?
Posted: Tue Aug 03, 2010 11:00 pm
by skelltor
this
WEAPONSECTION = "6"
WeaponName = "cis_weap_walk_droideka_shield"
WeaponAmmo = "0"
should be this
WEAPONSECTION = "6"
WeaponName = "cis_weap_walk_droideka_shield"
WeaponAmmo = "0"
WeaponChannel = 1
Re: Personal shields WITH the bubble?
Posted: Wed Aug 04, 2010 12:43 pm
by Cerfon Rournes
skelltor wrote:this
WEAPONSECTION = "6"
WeaponName = "cis_weap_walk_droideka_shield"
WeaponAmmo = "0"
should be this
WEAPONSECTION = "6"
WeaponName = "cis_weap_walk_droideka_shield"
WeaponAmmo = "0"
WeaponChannel = 1
yes, this works fine as another weapon, but as i said at the beginning, i want the shield passive.aka it works in the backround, without the player having to turn it on
EDIT
lol, while this is still up, is there anyway to change the shield Geometry?
Re: Personal shields WITH the bubble?
Posted: Wed Aug 04, 2010 12:53 pm
by DarthD.U.C.K.
yes, change the msh the effect uses (the one in the effects-folder)
ways to change the droideka shield Geometry?
Posted: Thu Aug 05, 2010 5:13 pm
by Cerfon Rournes
DarthD.U.C.K. wrote:yes, change the msh the effect uses (the one in the effects-folder)
and this is cis_droideka_shield.msh right? It didn't work
EDIT
Here is a good question GT. Is there a way to change the droideka shield geometry? like make the shield In-game something else(like change it from the bubble shield model to a human model or something)? Ive tried EVERYTHING,and I mean everything, and I can't seem to get it to work
Thanks in advance for the help!