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

made my first melee custom map and...

Status
Not open for further replies.
Level 2
Joined
Feb 4, 2014
Messages
7
when i got to test the map everything seems to be working fine... til i go to check the computer players base to make sure they are working properly and they aren't... 5 acolytes, 1 ghould, 1 necropolis, 1 ziggurat, 1 haunted gold mine, and 1 crypt. thats all the happens no attacking or building anything. no harvesting of gold or wood. im not sure what i have done wrong. any help would be greatly appreciated.
 
Level 10
Joined
Apr 18, 2009
Messages
601
Have you added a second player?

a4pkl1.jpg
s4p1fl.jpg
Edit:
If you have done that, it is also important that you have the "Melee Initialization" trigger that comes with the map intact.

I've added an example map with these default settings. The computer player seems to be doing what it's supposed to do.
 

Attachments

  • Example Map.w3m
    13 KB · Views: 65
Level 2
Joined
Feb 4, 2014
Messages
7
yea those are all set and still nothing... im not sure what it is... they build all that and then they just stand around.

Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
 
Level 30
Joined
Nov 29, 2012
Messages
6,635
Just a question, does this happen in just your map or all of the map because the possible error here is that you maybe touched the AI scripts at the MPQ; either deleted or corrupted files.

If that is not the case, you might just want to work with the AI Editor as a last resort because it is not possible for a melee AI to work unless you touched some AI Melee scripts from the MPQ
 
Status
Not open for further replies.
Top