ai for scenario -1 reply

Please wait...

drointhewind69

I'm too cool to Post

50 XP

13th February 2003

0 Uploads

6 Posts

0 Threads

#1 15 years ago

how do u get the scenarion ai to work, whenver i download a scenario and start to play it the ai dosent work




FileJune

50 XP

2nd July 2002

0 Uploads

2,542 Posts

0 Threads

#2 15 years ago

some maps need the computers players to use Particular gods in order for the AI to work.




drointhewind69

I'm too cool to Post

50 XP

13th February 2003

0 Uploads

6 Posts

0 Threads

#3 15 years ago

learn to spell dude




drointhewind69

I'm too cool to Post

50 XP

13th February 2003

0 Uploads

6 Posts

0 Threads

#4 15 years ago

i got no freaken clue what u meant to say ok ima try to comprehend this hum u are trieng to say that in soe scenarios u need to be a specific god well thats not it because i have loaded many scenaions and it dosent wanna work ive tried puting in ai for the scenarios my self but nkow luck well it did one but the highes level of ai i could put it was easy and thats it




Mexmadman

[WITH_TEETH]

50 XP

16th November 2002

0 Uploads

1,264 Posts

0 Threads

#5 15 years ago

drointhewind69 i agree with that, happens to me as well and btw your spelling isn't too hot either.




drointhewind69

I'm too cool to Post

50 XP

13th February 2003

0 Uploads

6 Posts

0 Threads

#6 15 years ago

well at least u could understand my writing well anyways i was told u know that thing that u could only pick the easy difficulty for scenario well they told me that if i downloaded the new patch 1.04 it would fix it well no it dosent it is still the same and i got a new prob when i trie playing online with other people it says that they are all incompatable with my patch and im like what the crizap i just downloaded the newest pathc so i dont thow whats going on with these patches i think these patches are just making it worse




oE|Crusader

Addicted to GF

50 XP

29th September 2002

0 Uploads

261 Posts

0 Threads

#7 15 years ago

filejune was speaking tech talk, and btw:filejunes spelling was fine

loading the ai on maps is a bizatch, when i realease my mapping tutorial it will have how to add ai, look for that in 1-2 days




R0MeZ

I don't spend enough time here

50 XP

27th January 2003

0 Uploads

25 Posts

0 Threads

#8 15 years ago

If you release the tutorial on what the Quck "AI" is ill be da first 1 ta get it cause im a map maker and i need ta know what a "AI" script is!!!:dance:




FileJune

50 XP

2nd July 2002

0 Uploads

2,542 Posts

0 Threads

#9 15 years ago

*Copied from a AI help doc

The AoM AI scripting system is a very powerful system that allows the user to craft the AI using the same language as the folks at Ensemble Studios. While this is a useful enduser feature, it is officially unsupported.

The high level overview for creating your own random map AI scripts is as follows: • Write your random map script. • Add an XML file into your AI directory following the format of default.xml, defaultboom.xml, or defaultrush.xml. • See your AI appear in the list of dropdown choices when you run the game. • Debug it using the ingame debugging facilities: o Add “aiDebug” to your user.cfg file in the startup directory. o When the game is running, hit ALT+SHIFT+D to bring up the debugger. For a scenario, the steps are largely the same, except that you need to associate the AI script filename with the right player via the scenario editor (Player Data dialog).

A list of the type enumerations and function calls that can be made from the AI scripts is included at the end of this document.

AoM includes a source debugger for your XS scripts. This is accessed by including a line with “aiDebug” on it in the user.cfg in the Startup directory of your AoM installation. If you do not have a user.cfg file, create one with any text editor. Once this is in your user.cfg, hitting ALT+SHIFT+D will bring up the debugger. Different XS runtimes (AI for each player, triggers, etc.) will be available for debugging. The debugger is an unsupported feature.

You can also use the “aiEcho(…)” syscall (see the syscall reference at the end of this document) to print out debugging strings, etc. during the execution of your AI. To see these, you must put a “showAIEchoes” line in your user.cfg.