AI Won't use shields [Solved]
Moderator: Moderators
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
AI Won't use shields [Solved]
1 Quick Question: How do you make the ai use the shields?
thanks
thanks
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Ai Wont Use Shields
If they're secondary they should automatically use them...such as the droideka.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Ai Wont Use Shields
Take a peek at the ODF for the Droideka's shield.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Ai Wont Use Shields
It's been months, but I think I remember solving this issue by changing the unit's healthtype to a droid. Put this in your unit's main ODF.
Code: Select all
HealthType = "droid"-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Ai Wont Use Shields
That doesn't seem to be the case anymore. I've fixed my solution here.
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
Re: Ai Wont Use Shields
that helps thanks,
btw how do you change max unit count?
btw how do you change max unit count?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Ai Wont Use Shields
Code: Select all
SetupTeams{
all = {
team = ALL,
units = 20, -- Determines max unit count
reinforcements = 150, -- Determines default ticket count threshold
soldier = { "all_inf_rifleman_snow",9, 25}, -- First number determines minimum amount of A.I. to spawn as this unit; second number determines max amount of A.I. for this unit
assault = { "all_inf_rocketeer_snow",1,4},
engineer = { "all_inf_engineer_snow",1,4},
sniper = { "all_inf_sniper_snow",1,4},
officer = { "all_inf_officer_snow",1,4},
special = { "all_inf_wookiee_snow",1,4},
},
imp = {
team = IMP,
units = 20,
reinforcements = 150,
soldier = { "imp_inf_rifleman_snow",9, 25},
assault = { "imp_inf_rocketeer_snow",1,4},
engineer = { "imp_inf_engineer_snow",1,4},
sniper = { "imp_inf_sniper_snow",1,4},
officer = { "imp_inf_officer_snow",1,4},
special = { "imp_inf_dark_trooper",1,4},
},
}I may be wrong about what the second number does, I can't remember.
-
Webster27
- Rebel Warrant Officer

- Posts: 312
- Joined: Tue Nov 08, 2011 11:14 am
- Projects :: The Republic Commando Mod
- xbox live or psn: No gamertag set
- Location: Germany
Re: Ai Wont Use Shields
Sounds correct to me.Marth8880 wrote:I may be wrong about what the second number does, I can't remember.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Ai Wont Use Shields
make sure to also add the enable ubermode line like in this tutorial: Enabling Ubermode (Or: How to have more than 32 AI at once)
