HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Weird computer AI behavior?

10-24-2006, 05:30 AM#1
skatj
Hey guys let me first introduce my project. It's basically a singleplayer virtual "boardgame" designed for real life use (It's for a group presentation). The person who does all the controls is Player 12 (Brown). The "players", are set as computers.

Unfortunately having them as computers has some serious gameplay flaws, such as going back to it's original start position if the destination it is ordered to move to is either obstructed or unpathable. I've also had one rare case where it fired on it's own (all movements are triggered). For now i've them set to empty player slots.

The problem with that however, is that when I present this game to my class (it's for a group project), I want to launch it from the editor via Test Map, to bypass the selecting map etc thing. Since most of the class has not played WC3 before, launching it via the game would look unprofessional (at least in my opinion). As you already know though, Test Map always puts you in Player 1 (Red)'s position.

So here's my question. Is there a way for a computer to act like an empty player slot? I have the melee AI trigger deleted of course, but I can't seem to find a way to get rid of the computer thinking on it's own and i'm completely unfamiliar with the AI editor.

Or if there is a way to make it so that the world editor will put you in Player 12 (Brown)'s position when you use the Test Map feature.

I realize this is sort of a trivial detail, but I want everything completely polished before I present this game to my class.

Oh and I hope you don't mind me squeezing in another question, in the trigger editor you can have it detect whether a player presses the up, down, left, and right keys, is there a way to make it detect letter keys as well?

If this is supposed to be in the AI forums, my apologies, please move it if it is. It just seemed more fitting here to me.

Edit: Actually delete this post mods, I solved it by changing the player slots to no controller.
10-24-2006, 04:20 PM#2
Panto
Glad you sorted it out. Incidentally, there is a way to start the player in a different slot, using an "enhancement" mod to the WE. I don't remember the name of the thing anymore, but it's pretty handy for using the test map feature. If you wind up still needing it, I'll have a look see to track down the name.