Page 1 of 1
Add droideka shield as a unit's weapon? [Solved]
Posted: Sun Jul 05, 2009 7:53 am
by CodaRez
Are there any requirements in the .odf in order to add a droideka shield to their weapons?
I want it to be a primary weapon(along with the rifle, for example)
When I applied it and played ingame it is fine.
I see my bots use it fine, but when I switch my weapon to it it crashes.....
Any help?
--------------------------
On another note, how would you replace/remove weapons on a shipped unit to be replaced with your own choosing?(.odf meddling)
Maybe meddling with the parent file may help, if so how?
Re: Droideka Shield prob
Posted: Sun Jul 05, 2009 7:55 am
by Par3210
CodaRez wrote:Are tehre any requirements in the .odf in order to add a droideka shield to their weapons?
I want it to be a primary weapon(along with the rifle, for example)
When I applied it and played ingame iz fine.
I see my bots use it fine
But when I switch weapon to it it crashes.....
Any help?
Well when I have played on mods, the shield is the ONLY secondary weapon there, and there is only one primary weapon there too. So that's why I guess, you have got more than one primary and secondary weapon.
Re: Droideka Shield prob
Posted: Sun Jul 05, 2009 8:04 am
by CodaRez
yes I do have 2 secondary and primary weapons
But SWBF1 Conversion pack had Ord Ibanna, a Gammorean with a shield AND thermal detonator as secondarys in Classic Conquest
Re: Droideka Shield prob/ Overriding Weapon cutomizations
Posted: Mon Jul 06, 2009 2:37 am
by Jaspo
It's certainly possible, I just did it, with my Bothan Scout. hmm, odf would be good, 1 moment...
note: it may not be possible to put it in the primary slot though, it IS a bit finicky about that.
sda_inf_bothan.odf
Code: Select all
[GameObjectClass]
ClassParent = "all_inf_default_officer2"
[Properties]
GeometryName = "rebel_bothan2"
GeometryLowRes = "rebel_bothan_low2"
FirstPerson = "all\allbothn;all_1st_bothanspy"
all_inf_default_officer2.odf
Code: Select all
[GameObjectClass]
ClassParent = "all_inf_default"
[Properties]
PointsToUnlock = 16
UnitType = "pilot"
AnimationName = "bothanspy"
EnergyRestore = 12.0 // energy regained per second if moving
ScanningRange = 30.0
TransmitRange = 300.0
MaxHealth = 300.0
WEAPONSECTION = 1
WeaponName = "all_weap_inf_commando_pistol"
WeaponAmmo = 4
WEAPONSECTION = 4
WeaponName = "cis_weap_walk_droideka_shield"
WeaponAmmo = 0
WeaponChannel = 1
WEAPONSECTION = 2
WeaponName = "all_weap_inf_fusioncutter"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "cis_weap_inf_debuff_poison"
WeaponAmmo = 3
WeaponChannel = 1
WEAPONSECTION = 5
WeaponName = "all_weap_award_pistol"
WeaponAmmo = 4
VOUnitType = 3
VOSound = "all1_inf_pc_com_hostile SpottedVO"
VOSound = "all1_inf_pc_com_bacta NeedMedicVO"
VOSound = "all1_inf_pc_com_mechanic NeedRepairVO"
VOSound = "all1_inf_pc_com_ammo NeedAmmoVO"
VOSound = "all1_inf_pc_com_transport NeedPickupVO"
VOSound = "all1_inf_pc_com_backup NeedBackupVO"
VOSound = "all1_inf_pc_com_clear_area AttackPositionVO"
VOSound = "all1_inf_pc_com_defend DefendPositionVO"
VOSound = "all1_inf_pc_com_hostile_inVehicle SpottedVO +InVehicle"
VOSound = "all1_inf_pc_com_bacta_inVehicle NeedMedicVO +InVehicle"
VOSound = "all1_inf_pc_com_mechanic_inVehicle NeedRepairVO +InVehicle"
VOSound = "all1_inf_pc_com_ammo_inVehicle NeedAmmoVO +InVehicle"
VOSound = "all1_inf_pc_com_transport_inVehicle NeedPickupVO +InVehicle"
VOSound = "all1_inf_pc_com_backup_inVehicle NeedBackupVO +InVehicle"
VOSound = "all1_inf_pc_com_clear_area_inVehicle AttackPositionVO +InVehicle"
VOSound = "all1_inf_pc_com_defend_inVehicle DefendPositionVO +InVehicle"
and in the droideka shield odf I made it 1/6th as poweful and also adjusted the recharge rates, because otherwise its waaay too powerful on any unit which can easily move around with it deployed:
cis_weap_walk_droideka_shield
Code: Select all
[WeaponClass]
ClassLabel = "shield"
[Properties]
HUDTag = "hud_droideka_shield"
Label = "Shield"
RoundsPerClip = "1"
ReloadTime = "0.0"
MaxShield = 500
AddShield = -50
AddShieldOff = 100
ShieldOffset = "0.0 1.0 0.125"
ShieldRadius = 1.10
FireSound = "cis_droideka_shield_on"
FireEmptySound = ""
FireLoopSound = ""
ReloadSound = ""
ChargeSound = ""
ChangeModeSound = ""
WeaponChangeSound = ""
ShieldSound = "cis_droideka_shield"
//ShieldSound = "droid_fx7_hum"
ShieldOffSound = ""
ShieldEffect = "droidekashield"