FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   Age of Mythology General Yib-Yab (Off Topic) (http://forums.filefront.com/age-mythology-general-discussion-265/)
-   -   ai for scenario (http://forums.filefront.com/age-mythology-general-discussion/62571-ai-scenario.html)

drointhewind69 February 12th, 2003 01:44 PM

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

FileJune February 12th, 2003 02:34 PM

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

drointhewind69 February 12th, 2003 02:49 PM

learn to spell dude

drointhewind69 February 12th, 2003 02:52 PM

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 February 13th, 2003 09:21 AM

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

drointhewind69 February 13th, 2003 01:46 PM

shiat
 
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 February 14th, 2003 03:33 PM

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 February 17th, 2003 10:56 AM

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 February 17th, 2003 11:32 AM

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


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.