Page 1 of 1
Weapons and Shields
Posted: Fri Aug 12, 2011 3:29 pm
by Nobandwidth25
Is there a way to make weapons that either only reduce shields (Like Ion Cannons) or bypass shields (Like Proton Torpedos)? What line in the odf would you need to change to make this happen?
Re: Weapons and Shields
Posted: Fri Aug 12, 2011 4:06 pm
by DarthD.U.C.K.
you can define the damage the weapon does with these values:
Code: Select all
VehicleScale = "0.1"
ShieldScale = "1.0"
PersonScale = "1.0"
AnimalScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.1"
if you set all scale biut the shieldscale to 0 it will only reduce the shield. i think its not possible to have a weapon bypass shields though.
Re: Weapons and Shields
Posted: Fri Aug 12, 2011 5:11 pm
by Bob
once upon a time I did
and the shot damaged the unit without damaging the shield. I just don't know if it was a bug or not, the map was laggin' (to many units).
Re: Weapons and Shields
Posted: Sat Aug 13, 2011 1:47 pm
by Tears2Roses
Now that you mention shields, which ODF'S/ODF lines do I need to add to make my character have a shield? since there is already a topic on this I may as well ask. Otherwise I would look at the droideka ODF when I get enough time.
Re: Weapons and Shields
Posted: Sat Aug 13, 2011 2:06 pm
by Bob
The droideka's shield is actually a weapon called "cis_weap_walk_droideka_shield", but if you want a shield to be attached to the unit itself you can add
Code: Select all
MaxShield = number
AddShield = number
to the unit's odf.
This shield will lay on the unit instead of being a sphere, like on the ships in space assault.
Re: Weapons and Shields
Posted: Sat Aug 13, 2011 3:00 pm
by Tears2Roses
Bob wrote:The droideka's shield is actually a weapon called "cis_weap_walk_droideka_shield", but if you want a shield to be attached to the unit itself you can add
Code: Select all
MaxShield = number
AddShield = number
to the unit's odf.
This shield will lay on the unit instead of being a sphere, like on the ships in space assault.
can it be any number or does the number matter? I will give this a try

Re: Weapons and Shields
Posted: Sat Aug 13, 2011 4:07 pm
by Bob
any number you want, from 0 to
or higher. AddShield heals the shield.
Re: Weapons and Shields
Posted: Sat Aug 13, 2011 6:49 pm
by Tears2Roses
Bob wrote:any number you want, from 0 to
or higher. AddShield heals the shield.
Thats helpfull. I roflmaoed at the infinite 9's
EDIT: i tried just adding those lines but it didnt work. I'm thinking I need some mesh or ODF files (duh)

I will have to do some searching around maybe. Looking at space cruisiers ODF's didnt turn up anything usefull unless I missed something...
Re: Weapons and Shields
Posted: Sun Aug 14, 2011 1:58 pm
by DarthD.U.C.K.
these lines will work if you add them to the units odf. the shieldenergy is displayed on the right side of the screen the same way the jetenergy is displayed.
Re: Weapons and Shields
Posted: Sun Aug 14, 2011 2:35 pm
by Noobasaurus
Bob wrote:AddShield heals the shield.
So
that's what it does!