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

Warcraft AI, acts different, when used in LAN game vs. used in Single Player Custom game.

Level 1
Joined
Mar 31, 2024
Messages
2
Hello fellow, Warcraft 3 lovers and nerds.

I started making amateur maps for myself and for fun, back before Reforged, but since Reforged appeared I've really gotten into it. I especially like making lore correct modified melee battle maps. I also have a normie cousin that likes to play. So let me get into it. I made a few maps, where I would be in a team with my cousin, and an AI team to support us (mainly because me and my cousin prefer to play with only one hero each, kinda like an RPG), and the AI would have an army. The enemy force would be composed of 2 or 3 enemy AI teams against us. The AI for the teams, (our AI support team and the enemy AI teams as well) is made by me in the AI editor. Now for the crux of the problem. I observed, that when I want to test my map and load it as a custom single player game (beforehand I transfer my cousins units into my ownership), the AI works perfect, it makes the exact armies I program it to make, it attacks with the frequency I program it to do so, the maps are a lot of fun and I am always very satisfied of my work, I can play it to the end (I like making maps that take 2 to 3 hours to finish) . However, when my cousin connects, and I create a game in LAN, everything starts off ok, but there's always one AI player, that after 2 or 3 attacks, just makes an army, and stays in his base, and the units just band together and flop around like some epileptic penguins. I never understood why, when I load the exact same map in single player, with the exact same settings, same triggers everything, same AI files, (only difference is that I control my cousins units too, in order to test the map), everything works fine. But as soon as I start up the map in LAN, where I control my units, and my cousin controls his, and the AI players remain untouched, after a few attacks, one of the AI's always has a brainfart and stays in his base, or on rare occasions, starts running out of his base with his units, just to turn and run back as soon as the last unit leaves the base. I also tested the map by, using full shared unit control, to see if the AI has population,food,gold etc. troubles, but there aren't any, I can see fully well that he built the exact army I programmed it to, yet it just fails to attack. And if it was some kind of food,gold,population or etc. conflict, then it wouldn't work in single player either. So please if someone can explain to me what might be causing this inexplicable change in AI behavior, I would be ever so gratefull. Cheers!!!
 
Level 5
Joined
Oct 5, 2012
Messages
73
I don't think LAN vs Single Player is the reason (you can test this by creating a LAN lobby and play alone and see if it works). It is more likely that you use triggers that refer to number of players or the like and that cause it to mess up.
 
Top