You must be logged in to post messages.
Please login or register

Scenario Design
Moderated by Yeebaagooon, TAG, nottud

Hop to:    
Welcome! You are not logged in. Please Login or Register.6 replies
Age of Mythology Heaven » Forums » Scenario Design » AI scripting question for people with the press beta
Bottom
Topic Subject:AI scripting question for people with the press beta
Stormboy
Mortal
posted 25 September 2002 08:20 AM EDT (US)         
Did the press beta come with documentation on the AI scripting language? If there's no NDA, would it be possible to put that info up somewhere?
If there's no documentation, but you do have some example scripts, I'd be interested in seeing those as well.
AuthorReplies:
petard_rusher
Mortal
posted 26 September 2002 03:41 PM EDT (US)     1 / 6       
Im sure the NDA deffinitely says not to release files, or even section of them to the public, so you arent gonna get any AI. Of course if you had the alpha you can look at the RMS and trigger files contained there to get a good view of what the XS language is like, if you don't have the alpha than we cant tell you
Enrique Orduno
Banned
posted 26 September 2002 05:10 PM EDT (US)     2 / 6       
Actually, I could give you an AI file(well parts of it since I can't distribute game files(that's an EULA related thing that applies to any game in any stage)), but that would spoil the fun, so no I won't.
Stormboy
Mortal
posted 26 September 2002 06:01 PM EDT (US)     3 / 6       
Ok, fair enough, I guess. I do indeed have the alpha (still haven't uninstalled it ), so I do have the RM scripts, and some AI constant files that appear to have been generated during my SP sessions. It would have been nice to see how XS is being used in AI writing, but I guess I'll just have to wait .
Murph
Mortal
posted 27 September 2002 02:46 PM EDT (US)     4 / 6       
Hmmm, I guess you might misunderstood the XS concept. The AI files (and alspo triggers and RMS) are written in C or something very similar to it. I've also seen everything is combined with XML, actually the whole game is written in XML (XML being the "data-marker").
C is quite easy to learn, I suggest you just start either with C right away or of you are a website programmer you could also learn php which is very similar to C. Basicly it's just a language like Pascal, with if, else, while, variables, functions, etc.
XML is something different though. If you have a look at the source code of AoM you can see a lot of stuff looks just like html (with the tags and such). Of course the elements aren't existing ones, and this is what makes XML so great. With XML you make your own tags, and you use these tags to give info on certain data.
Example:
<myth_unit>Cyclops</myth_unit>
So, the tags say that a Cyclops is a myth unit. Anyway, thanks to this, and also other stuff EO found out about AoM will be very modable, or even total conversions won't be that hard to make.
Anyway, while waiting for AoM you could maybe start learning some XML: http://www.w3schools.com

Murph aka Rodrigo,
Founder of Dragon Gaming Design
Webmaster of Instrosurf Online
Co-managing director of SurfServer - hosting, web design and scripting
Member of Wildfire Games
Stormboy
Mortal
posted 27 September 2002 03:26 PM EDT (US)     5 / 6       
Murph, as I understand it XS is the C-like language you talked about. I don't think there's any misunderstanding on my part . No need to learn C either: I'm a professional programmer who's been coding in C for well over 10 years now . I just wanted to get a better picture of the structure of XS AI scripts and of AI-specific functions in the language.
Murph
Mortal
posted 27 September 2002 09:52 PM EDT (US)     6 / 6       
*blushes*

Murph aka Rodrigo,
Founder of Dragon Gaming Design
Webmaster of Instrosurf Online
Co-managing director of SurfServer - hosting, web design and scripting
Member of Wildfire Games
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Mythology Heaven | HeavenGames