The core gameplay won’t change at all, since fans seem to like it just fine the way it is. If you’ve ever dreamed of leading the army of Tamburlaine the Great (all seven or eight of you), this is your chance.Ĭoncatenating all of the campaigns is a good start, but AOEII: DE will also add a number of small mechanical upgrades. Rather than taking control of the Chinese and Mongol civilizations that tried to defend the doomed regime, you’ll play as the Eastern European and Central Asian races that carved up the region for themselves. The Last Khans will actually introduce four brand-new civilizations: the Bulgarians, the Lithuanians, the Tatars and the Cumans.Īccording to the AOE team, The Last Khans will tell the story of Genghis Khan’s empire, which began to crumble shortly after his death. Note that dynamic in-game use of the script (such as adding triggers) is not supported at this time.Between the core game and its four expansions, Age of Empires II now covers just about every civilization on Earth at the time: the Britons, the Huns, the Slavs, the Ethiopians, the Mongols, the Koreans, the Aztecs and more.
You can use all general functions and RMS-specific functions (described at the top of this document).
All of its content will be executed upon loading the Random map script. In the XS file, create a void main() function definition.Paths relative to the “xs” folder are allowed. You can put the file name in quotation marks if it contains spaces. “scriptname.xs” is the name of the file located in your resources\_common\xs folder.At the top of your RMS file (before ) add #includeXS scriptname.xs.To use an XS script in a Random Map Script, do the following: you want to chat the amount of food a player has) you must initialize your parameter variables.Įxample on how a function written inside the editor looks: If you want to write a function which accepts parameters (e.g.
How to write functions which accept parameters: if there is 2 players in a match, only 2 is returned. Returns the number of players in a match (Excluding Gaia) E.g. XsSetPlayerAttribute(long playerId, long attribute, float value) Sets the desired player attribute to the value specified. XsPlayerAttribute(long playerId, long attribute) Returns the value of the desired player attribute. XsChatData(“Player one food: %d”, food) Sends a chat with the desired message/variable. XsEffectAmount(cModResource, cAttributeStone, cSetAttribute, 50, -1) Modify players starting resources, in this case, set starting stone to 50. XsEffectAmount(long effect, long itemName, long type, float value, long playerId) Set playerId to -1 to apply the change to all players. XsSetTriggerVariable(long triggerVariableId, long value)Īllows you to modify a unit or building with research-style type effects. Sets a trigger variable to the desired value. Returns the value of Trigger Variable 0. XsTriggerVariable(long triggerVariableId)
Returns the value of the desired Trigger Variable. if you had a function called doesPlayerHaveFood() you will only need to write doesPlayerHaveFood in the Script Call textbox.)