• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Melee AI; increased food limit

Status
Not open for further replies.
Level 2
Joined
Sep 11, 2016
Messages
10
Hi! I'm trying to set up a basic melee map but have the food limit increased to 300. I've noticed that the AI will not create armies larger than their original limit, and I'm wondering it there's a way to make them build more?

I tried looking over the AI Editor but it doesn't seem like it has a quick solution to the problem. If anyone has a simple solution I'd love any help you can give. :)

Thanks!
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
You can try modifying the melee AI scripts. These JASS scripts can be extracted from the game data MPQs using MPQ edit and then modified in a text editor.

The idea would be to change the army composition logic so that it either uses a new set of constant numbers appropriate for a 300 food cap (easy to do even with limited to no JASS knowledge), or that it dynamically scales the numbers based on the maximum food cap (more complex, might not even be possible).
 
Status
Not open for further replies.
Top