Controlling AI
Moderator: Moderators
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Controlling AI
Is it possible to give different classes different commands, so my assault troopers go out and attack enemy CPs while my support classes (sniper and engi) stay back and guard.
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: controlling AI
There's an odf property, UnitType or something like that. All I know for sure is that if the property is "scout", they will be much more likely to take sniper hintnodes, and 'defend' areas.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: controlling AI
illl try that...
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: controlling AI
You can use hint nodes and AI pathing to help control your AI. If you really want different objectives for the different unit types, stick each class on its own local team and use AI goals.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: controlling AI
In short, no. More or less, they may already do what you want in part, but there's no way to really fine tune anything dealing with how AI behaves beyond planning, barriers, hintnodes, certain types of regions, flyer splines, certain odf parameters, and a few lua tricks. Take a look at psych0fred's docs (one of them explains AIGoals), though. They hold some really useful info.
