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

[General] Add more difficulty to AI

Level 25
Joined
Mar 29, 2020
Messages
1,466
There are some "hacky" things you can do to raise the difficulty level such as
  • giving the AI bonus resources
  • giving the AI imbalanced units.
  • giving the AI units better stats.
  • giving the AI units that build faster.

these will not change the way the AI behaves, but will artificially make the game somewhat harder.

However, if you wish to actually have a level playing field in terms of the base game mechanics and just have the AI behave smarter - that is not a simple task. In essence it requires reprogramming the whole AI from scratch.

If you want to do that (and not have to personally program the whole thing) I think this system is the best thing available, but takes some effort to implement:

 
Level 34
Joined
May 14, 2021
Messages
1,598
For standard melee AI (4 races):
Use Casc Viewer (or MPQ Editor, if your game is still using the MPQ files) and extract the following files:
-scripts\common.ai
-scripts\elf.ai
-scripts\human.ai
-scripts\orc.ai
-scripts\undead.ai
Then open those files with Notepad or JassCraft (recommended).

For more enhanced melee AI:
Use AMAI as Chesire suggested. It enables the AI to do some difficult stuffs like using the neutral heroes, etc.
 
Level 2
Joined
Sep 4, 2024
Messages
3
There are some "hacky" things you can do to raise the difficulty level such as
  • giving the AI bonus resources
  • giving the AI imbalanced units.
  • giving the AI units better stats.
  • giving the AI units that build faster.

these will not change the way the AI behaves, but will artificially make the game somewhat harder.

However, if you wish to actually have a level playing field in terms of the base game mechanics and just have the AI behave smarter - that is not a simple task. In essence it requires reprogramming the whole AI from scratch.

If you want to do that (and not have to personally program the whole thing) I think this system is the best thing available, but takes some effort to implement:

thank you for the help and is there away to change the imbalance of the AI units?
 
Level 2
Joined
Sep 4, 2024
Messages
3
For standard melee AI (4 races):
Use Casc Viewer (or MPQ Editor, if your game is still using the MPQ files) and extract the following files:
-scripts\common.ai
-scripts\elf.ai
-scripts\human.ai
-scripts\orc.ai
-scripts\undead.ai
Then open those files with Notepad or JassCraft (recommended).

For more enhanced melee AI:
Use AMAI as Chesire suggested. It enables the AI to do some difficult stuffs like using the neutral heroes, etc.
oh i see what you mean thank you
 
Top