making AI work -1 reply

Please wait...

diablo0331

I'm too cool to Post

50 XP

17th May 2004

0 Uploads

2 Posts

0 Threads

#1 14 years ago

Hey, just wondering if someone could give me a basic rundown on the triggers. I'm having trouble after making a map, when it starts up nobody does anything. No gathering or building etc. What do I have to do in the triggers to do the basics like that and get the ai going. Like I said, if someone could just give me a quick rundown on how to use the triggers or guide me in the right direction I would be greatful, thanks




SCG

I want to be like the Admins

50 XP

8th June 2004

0 Uploads

201 Posts

0 Threads

#2 14 years ago

AI isn't a trigger. You can set the player's AI by going to the 'scenario' menu at the top. Select 'player data'. On the right of the window you will see a button that says 'AI'. Click this, select one of the AIs that are listed and click 'open'. Now the computer should do basic things like build and collect resources. My advice would be to download additional AIs from AOMH or AOMFiles as the default AIs that come with the game are hopeless.




Auron_2

Fade to Black

50 XP

23rd December 2003

0 Uploads

91 Posts

0 Threads

#3 14 years ago

actually, you can control a player civilization via triggers, but doing this wont make it exactly an AI.

like Random Map Scripting, AI requires programming skills, such as C++. but the bad news, it that AI scripting is even harder than Random Map Scripting..anyways, go to player data in the editor, select the computer player, and arrange the following AI:

aomdefaultai.xs

also, when you select this AI, click Open. if you double click, the AI wont load.




Imperial Jazz

Me the Emperor

50 XP

12th December 2004

0 Uploads

13 Posts

0 Threads

#4 14 years ago

Hey, ur right. no double clicking. Because i always doubleclick