Technical issues - about modifying AI

Moderators: Developers, Auxillaries

South
First Sergeant
First Sergeant
Posts: 503
Joined: Sun May 12, 2013 3:45 pm
Location: Changchun

Re: Technical issues - about modifying AI

Post by South »

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
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

Post by I_am_a_Spoon »

Add it to the following file:

"ModernCombat/Data/ai/personality/player_ability_defs_coh.ai"
User avatar
Darkbladecr
1st Lieutenant
1st Lieutenant
Posts: 894
Joined: Sun May 05, 2013 11:57 am
Steam Username: Darkbladecr
Location: London
Contact:

Re: Technical issues - about modifying AI

Post by Darkbladecr »

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.
Image
South
First Sergeant
First Sergeant
Posts: 503
Joined: Sun May 12, 2013 3:45 pm
Location: Changchun

Re: Technical issues - about modifying AI

Post by South »

I_am_a_Spoon wrote:Add it to the following file:

"ModernCombat/Data/ai/personality/player_ability_defs_coh.ai"

Thank you, it works. :D
Post Reply