You must be logged in to post messages.
Please login or register

Modding Discussions
Moderated by Alexastor, MosheLevi, Mister SCP

Hop to:    
Welcome! You are not logged in. Please Login or Register.2 replies
Age of Empires III Heaven » Forums » Modding Discussions » Help with modifying AI
Topic Subject:Help with modifying AI
posted 12-17-18 02:24 AM EDT (US)         
Hi all,

I'm trying to modify the Spanish AI so that it only trains Rodeleros and no other military units.

I've made some changes to techtreey, homecityspanish and protoy.

I deleted most of the techs from Age0Spanish, only allowing them to build settlers, Houses, Barracks and rodeleros.

I deleted most of the cards from homecityspanish, only allowing for Rodeleros and villagers to be sent from the Spanish homecity.

I also made changes so that the Spanish Barracks can only train Rodeleros.

When I start a skirmish, The AI seems to build houses, barracks and settlers but no Rodeleros ever appear.

In fact, the AI would never train any infantry from the barracks at all.

My suspicion is this:
-I'm messing up the techtreey so the Spanish AI doesn't know what to do.

-I need to modify the AiMain or another AI related file so the AI only uses Rodeleros.

I know I'm probably royally screwing something up. Can anyone provide some insight into what I need to do?

For context, I'm trying to eventually turn this into a zombie mod. The Spanish will be renamed to The Plague and they will rush you with hordes of low HP zombies.

Any help with this problem is much appreciated. Thank you!
posted 12-21-18 02:03 PM EDT (US)     1 / 2       
Hey, hope you still check this thread.

Have you tried forcing the unit picker to pick rodeleros in aiMain.xs?
posted 12-21-18 09:26 PM EDT (US)     2 / 2       
Faster to start over from nothing.
Just need 6 rules/functions for training settlers, gathering, building houses, barracks, training rodoleros and attacking plus the usual boiler plate stuff.
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Empires III Heaven | HeavenGames