Weapons and Shields
Moderator: Moderators
-
Nobandwidth25
- Private
- Posts: 32
- Joined: Mon Jul 04, 2011 12:22 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Weapons and Shields
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?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Weapons and Shields
you can define the damage the weapon does with these values:
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.
Code: Select all
VehicleScale = "0.1"
ShieldScale = "1.0"
PersonScale = "1.0"
AnimalScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.1"-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: Weapons and Shields
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).
Code: Select all
ShieldScale = "0.0"- Tears2Roses
- Chief Warrant Officer

- Posts: 336
- Joined: Thu Jul 07, 2011 9:20 am
- Projects :: Oh some random stuff who knows
- xbox live or psn: PC beats xbox.
Re: Weapons and Shields
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.
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: Weapons and Shields
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
to the unit's odf.
This shield will lay on the unit instead of being a sphere, like on the ships in space assault.
Code: Select all
MaxShield = number
AddShield = numberThis shield will lay on the unit instead of being a sphere, like on the ships in space assault.
- Tears2Roses
- Chief Warrant Officer

- Posts: 336
- Joined: Thu Jul 07, 2011 9:20 am
- Projects :: Oh some random stuff who knows
- xbox live or psn: PC beats xbox.
Re: Weapons and Shields
can it be any number or does the number matter? I will give this a tryBob 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 addto the unit's odf.Code: Select all
MaxShield = number AddShield = number
This shield will lay on the unit instead of being a sphere, like on the ships in space assault.
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: Weapons and Shields
any number you want, from 0 to
or higher. AddShield heals the shield.
Hidden/Spoiler:
- Tears2Roses
- Chief Warrant Officer

- Posts: 336
- Joined: Thu Jul 07, 2011 9:20 am
- Projects :: Oh some random stuff who knows
- xbox live or psn: PC beats xbox.
Re: Weapons and Shields
Thats helpfull. I roflmaoed at the infinite 9'sBob wrote:any number you want, from 0 toor higher. AddShield heals the shield.Hidden/Spoiler:
EDIT: i tried just adding those lines but it didnt work. I'm thinking I need some mesh or ODF files (duh)
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Weapons and Shields
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.
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Weapons and Shields
So that's what it does!Bob wrote:AddShield heals the shield.
