Is it possible to make AI soldiers use shields?
Here is my samples of soldier odf:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "soldier"
GeometryName = "nab_inf_gungan.msh"
[Properties]
FootWaterSplashEffect = "watersplash_sm"
WaterSplashEffect = "watersplash_md"
WakeWaterSplashEffect = "watersplash_wade"
UnitType = "assault"
IconTexture = "rep_trooper_icon"
MapTexture = "troop_icon"
MapScale = 1.4
HealthTexture = "HUD_gungan_icon"
GeometryName = "nab_inf_gungan"
AnimationName = "all_inf_snowtrooper"
GeometryLowRes = "nab_inf_gungan_low1"
SkeletonName = "nab_inf_gungan"
SkeletonRootScale = "1.1"
FirstPerson = "IMP\heroes;all_1st_gungan"
FirstPersonFOV = "70"
ThirdPersonFOV = "65"
OverrideTexture = "gungan"
CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 3.5"
TiltValue = "5.0"
CAMERASECTION = "STANDZOOM"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"
CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "5.0"
CAMERASECTION = "CROUCHZOOM"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"
CAMERASECTION = "PRONE"
EyePointOffset = "0.0 0.33 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.0 0.0 3.0"
TiltValue = "5.0"
CAMERASECTION = "PRONEZOOM"
EyePointOffset = "0.0 0.33 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"
MaxHealth = 310.0
Acceleraton = 30.0
MaxSpeed = 6.0
MaxStrafeSpeed = 4.0
MaxTurnSpeed = 2.25
PCMaxTurnSpeed = 20.0
PCMaxStrafeSpeed = 20.0
WeaponName1 = "all_weap_inf_atlatl"
WeaponAmmo1 = 50
WeaponName2 = "all_weap_inf_cesta"
WeaponAmmo2 = 0
WeaponName3 = "all_weap_inf_powerup_dispenser"
WeaponAmmo3 = 5
WeaponName4 = "all_weap_inf_shield_gungan"
WeaponAmmo4 = 0
WeaponChannel4 = 1
AimFactorPostureSpecial = 50
AimFactorPostureStand = 100
AimFactorPostureCrouch = 140
AimFactorPostureProne = 160
AimFactorStrafe = 60
AimFactorMove = 70
HurtSound = "gungan_hurt"
DeathSound = "gungan_die"
AcquiredTargetSound = "gungan_chatter_acquired"
HidingSound = "gungan_chatter_hide"
ApproachingTargetSound = "gungan_chatter_approach"
FleeSound = "gungan_chatter_flee"
PreparingForDamageSound = "gungan_chatter_predamage"
HeardEnemySound = "gungan_chatter_heard"
WaterWadingSound = "com_inf_wading"
ShockFadeOutTime = ""
ShockFadeOutGain = ""
ShockFadeInTime = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = "gungan_chatter_heartbeat"
LowHealthThreshold = "1.1"
ClassLabel = "soldier"
GeometryName = "nab_inf_gungan.msh"
[Properties]
FootWaterSplashEffect = "watersplash_sm"
WaterSplashEffect = "watersplash_md"
WakeWaterSplashEffect = "watersplash_wade"
UnitType = "assault"
IconTexture = "rep_trooper_icon"
MapTexture = "troop_icon"
MapScale = 1.4
HealthTexture = "HUD_gungan_icon"
GeometryName = "nab_inf_gungan"
AnimationName = "all_inf_snowtrooper"
GeometryLowRes = "nab_inf_gungan_low1"
SkeletonName = "nab_inf_gungan"
SkeletonRootScale = "1.1"
FirstPerson = "IMP\heroes;all_1st_gungan"
FirstPersonFOV = "70"
ThirdPersonFOV = "65"
OverrideTexture = "gungan"
CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 3.5"
TiltValue = "5.0"
CAMERASECTION = "STANDZOOM"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"
CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "5.0"
CAMERASECTION = "CROUCHZOOM"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"
CAMERASECTION = "PRONE"
EyePointOffset = "0.0 0.33 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.0 0.0 3.0"
TiltValue = "5.0"
CAMERASECTION = "PRONEZOOM"
EyePointOffset = "0.0 0.33 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"
MaxHealth = 310.0
Acceleraton = 30.0
MaxSpeed = 6.0
MaxStrafeSpeed = 4.0
MaxTurnSpeed = 2.25
PCMaxTurnSpeed = 20.0
PCMaxStrafeSpeed = 20.0
WeaponName1 = "all_weap_inf_atlatl"
WeaponAmmo1 = 50
WeaponName2 = "all_weap_inf_cesta"
WeaponAmmo2 = 0
WeaponName3 = "all_weap_inf_powerup_dispenser"
WeaponAmmo3 = 5
WeaponName4 = "all_weap_inf_shield_gungan"
WeaponAmmo4 = 0
WeaponChannel4 = 1
AimFactorPostureSpecial = 50
AimFactorPostureStand = 100
AimFactorPostureCrouch = 140
AimFactorPostureProne = 160
AimFactorStrafe = 60
AimFactorMove = 70
HurtSound = "gungan_hurt"
DeathSound = "gungan_die"
AcquiredTargetSound = "gungan_chatter_acquired"
HidingSound = "gungan_chatter_hide"
ApproachingTargetSound = "gungan_chatter_approach"
FleeSound = "gungan_chatter_flee"
PreparingForDamageSound = "gungan_chatter_predamage"
HeardEnemySound = "gungan_chatter_heard"
WaterWadingSound = "com_inf_wading"
ShockFadeOutTime = ""
ShockFadeOutGain = ""
ShockFadeInTime = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = "gungan_chatter_heartbeat"
LowHealthThreshold = "1.1"
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "shield"
[Properties]
IconTexture = "HUD_shield_icon"
Label = "Shield"
//GeometryName = "gun_gungan_shield"
//HighResGeometry = "gun_gungan_shield"
//AnimationBank = "lightsabre"
MaxShield = 3000
AddShield = -10
AddShieldOff = 300
ShieldOffset = "0.0 1.0 0.125"
ShieldRadius = "0.7 1.3"
FireSound = "cis_droideka_shield_on"
FireEmptySound = ""
FireLoopSound = ""
ReloadSound = ""
ChargeSound = ""
ChangeModeSound = ""
WeaponChangeSound = ""
ShieldSound = "cis_droideka_shield"
//ShieldSound = "droid_fx7_hum"
ShieldOffSound = ""
ShieldEffect = "gungan_shield"
ClassLabel = "shield"
[Properties]
IconTexture = "HUD_shield_icon"
Label = "Shield"
//GeometryName = "gun_gungan_shield"
//HighResGeometry = "gun_gungan_shield"
//AnimationBank = "lightsabre"
MaxShield = 3000
AddShield = -10
AddShieldOff = 300
ShieldOffset = "0.0 1.0 0.125"
ShieldRadius = "0.7 1.3"
FireSound = "cis_droideka_shield_on"
FireEmptySound = ""
FireLoopSound = ""
ReloadSound = ""
ChargeSound = ""
ChangeModeSound = ""
WeaponChangeSound = ""
ShieldSound = "cis_droideka_shield"
//ShieldSound = "droid_fx7_hum"
ShieldOffSound = ""
ShieldEffect = "gungan_shield"