Technical issues - about modifying AI
Moderators: Developers, Auxillaries
Re: Technical issues - about modifying AI
Got another problem in AI...how can I make AI use custom abilities, like a newly designed call-in ability in commander tree? The ability itself was done and works properly.
-
I_am_a_Spoon
- Lieutenant Colonel

- Posts: 1480
- Joined: Sun May 05, 2013 10:58 pm
- Steam Username: I_am_a_Spoon
- Location: Perth, Western Australia
Re: Technical issues - about modifying AI
Add it to the following file:
"ModernCombat/Data/ai/personality/player_ability_defs_coh.ai"
"ModernCombat/Data/ai/personality/player_ability_defs_coh.ai"
- Darkbladecr
- 1st Lieutenant

- Posts: 894
- Joined: Sun May 05, 2013 11:57 am
- Steam Username: Darkbladecr
- Location: London
- Contact:
Re: Technical issues - about modifying AI
Or if its a doc ability look in the ability.rgd and check the AI section. You can then reuse one of the coded conditions that another ability uses to make it be used similarly like the AI. For example an Off-map barrage.
Re: Technical issues - about modifying AI
I_am_a_Spoon wrote:Add it to the following file:
"ModernCombat/Data/ai/personality/player_ability_defs_coh.ai"
Thank you, it works.

