

Random Map Scripting, or RMS for short, isn't a very easy. Unlike the Scenario Editor, there are no availible tools you can use to help you in your work. There is, however, this Article Library. If you are new to RM Scripting, there really is no other way to learn besides expiramentation and already having knowledge of a programing language. In this section however, you will learn to improve your techiques and explore the more powerful concepts and methods you can use in AOM RM scripting.
A demonstration of Trigonametry functions in an RMS instead of lines and lines of If then statements. |
|
A list of useful tools and resources that can be used in Random Map Scripting. |
|
This article introduces you to Random Map scripting and explains what the Advanced RMS article serries contains. Matei talks about some of the advanced features in the new scritping system AOM uses and how to make use of them in your Random Map Scripts. |
|
Matei explains Variables and how to use them to your advantage in RMS |
|
Control Statements are useful if you want to place an object 5 times for every player, or you want to do different things depending on which enviromnent you've randomly chosen, or you want to give players different units if they're different civilizations. Learn more about them, here. |
|
Often you have a piece of code that you want to use several times, perhaps with slightly different parameters. For example, you might use some code to add a "send chat" trigger in various places in your script. To do this, you can define a function, which can be called later in the script and can be passed arguments to work with or can return a result value to wherever it was called. |
|
A trigger is essentially a "rule" that has several conditions and several effects. If the trigger is active and all its conditions are true, then it will fire and perform its effects. Though Triggers belong to the scenario editor, they can also be used in RMS |
|
In programming, an array is a kind of variable which stores multiple values under one name. For example, you might have an array of 10 integers called ar. Then you could write ar[1], ar[2], ar[3], etc to access each integer in the array. This feature is vital anywhere you might be dealing with multiple numbered objects - and a Random Map Script is such a place. |
|
Math functions in RMS, weeeee. |
|
WARNING: Content Distribution is Prohibited
Copyright © 2001–2023 HeavenGames LLC. All Rights Reserved. HeavenGames LLC. The graphical images and content enclosed with this document are viewable for private use only. All other rights-including, but not limited to, distribution, duplication, and publish by any means -
are retained by HeavenGames LLC. Federal law provides criminal and civil penalties for those found
to be in violation. In addition, please read our Disclaimer & Privacy Statement.
Age of Mythology™ is a game by Ensemble Studios / Microsoft.
AoM Heaven best viewed with a HTML 4.0 / CSS 1.0 compatible browser.