# Definitive Random Map Scripting Guide

**URL:** <https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902>\
**Category:** II - Modding\
**Created:** [October 20, 2020, 11:07pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902 "2020-10-20T23:07:50Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zetnus](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/zetnus/32/39780_2.png) [@Zetnus](https://forums.ageofempires.com/u/Zetnus)\
**Post date:** [October 20, 2020, 11:07pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/1 "2020-10-20T23:07:50Z")

</div>

Finally, almost a year after starting on this project, my Random Map Scripting Guide is basically feature complete. It is maintained as a Google Doc, so there will be updates and possibly even new sections, but at the moment, I have covered everything I wanted to.

Take a look if you are interested:

> **[Definitive Random Map Scripting Guide](https://docs.google.com/document/d/1jnhZXoeL9mkRUJxcGlKnO98fIwFKStP_OBozpr0CHXo/edit)**
>
> Age of Empires II Definitive Random Map Scripting Guide Quick Links Syntax Skeleton Constant Reference Scripting and Testing Links and Resources Appendix Introduction Foreword This guide is a complete rewrite of the Updated New RMS Guide, with the...

---

<div class="post-metadata">

**Author:** ![OxDBAOE2](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/oxdbaoe2/32/48553_2.png) [@OxDBAOE2](https://forums.ageofempires.com/u/OxDBAOE2)\
**Post date:** [October 22, 2020, 7:05am UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/2 "2020-10-22T07:05:04Z")

</div>

Thank you so much for putting that together. It will be an invaluable resource. 👍

---

<div class="post-metadata">

**Author:** ![AeneasauIlios](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/aeneasauilios/32/61840_2.png) [@AeneasauIlios](https://forums.ageofempires.com/u/AeneasauIlios)\
**Post date:** [November 10, 2020, 10:20am UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/3 "2020-11-10T10:20:16Z")

</div>

Amazing great job! 👏 🥳 Is there any officially maintained source of all the RMS scripting commands, or would I have to parse through every changelog to find new commands?

---

<div class="post-metadata">

**Author:** ![Zetnus](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/zetnus/32/39780_2.png) [@Zetnus](https://forums.ageofempires.com/u/Zetnus)\
**Post date:** [November 11, 2020, 12:29pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/4 "2020-11-11T12:29:04Z")

</div>

There are official sources, but they aren’t as well maintained and don’t list everything.  
There is also the non-localized-key-value-strings-utf8.txt file, which does have everything, including a few things that don’t work.

---

<div class="post-metadata">

**Author:** ![MerlinMadHat](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/merlinmadhat/32/44152_2.png) [@MerlinMadHat](https://forums.ageofempires.com/u/MerlinMadHat)\
**Post date:** [November 14, 2020, 4:44pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/5 "2020-11-14T16:44:54Z")

</div>

Doesn’t appear to acknowledge the nonsense of map size names. I always forget the answer and always have to test for myself to figure it out cause no online source gets it right.

All of these exist or existed, 2 of them had name changes when DE came out, change is shown in game but the RMS syntax remained with old name. I think its with Normal and Huge, something was not right with the naming convention, it’s something weird like Normal is actually Large now and Huge no longer exists or something like that, I wrote it down but I lost it.

Tiny  
Small  
Medium  
Normal  
Large  
Huge  
Gigantic  
Ludikris

---

<div class="post-metadata">

**Author:** ![Zetnus](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/zetnus/32/39780_2.png) [@Zetnus](https://forums.ageofempires.com/u/Zetnus)\
**Post date:** [November 14, 2020, 6:48pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/6 "2020-11-14T18:48:23Z")

</div>

Nothing has changed, but you are correct about the inconsistency. I do make note of it, for example here:

> **[Definitive Random Map Scripting Guide](https://docs.google.com/document/d/1jnhZXoeL9mkRUJxcGlKnO98fIwFKStP_OBozpr0CHXo/edit#heading=h.qannz915qgy5)**
>
> Age of Empires II Definitive Random Map Scripting Guide CLICK HERE for a lightweight read-only version CLICK HERE for the version where you can leave comments and edits TODO: Updates for the November patch (once it goes live) Quick Links Syntax...

normal is LARGE\_MAP  
large is HUGE\_MAP

---

<div class="post-metadata">

**Author:** ![Jimakus21](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/jimakus21/32/133037_2.png) [@Jimakus21](https://forums.ageofempires.com/u/Jimakus21)\
**Post date:** [June 23, 2023, 3:26pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/7 "2023-06-23T15:26:48Z")

</div>

Hey there. I am reading your guide, in the objects section. I want to make a map for the King of the Hill game, where you can find other (small) buildings around the Monument that are converted, just as the Monument. Is it possible?

---

<div class="post-metadata">

**Author:** ![Zetnus](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/zetnus/32/39780_2.png) [@Zetnus](https://forums.ageofempires.com/u/Zetnus)\
**Post date:** [June 25, 2023, 4:47pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/9 "2023-06-25T16:47:35Z")

</div>

Yes, this is possible. set\_building\_capturable is what you should use for that.

---

<div class="post-metadata">

**Author:** ![ThePikaKhan](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/thepikakhan/32/78734_2.png) [@ThePikaKhan](https://forums.ageofempires.com/u/ThePikaKhan)\
**Post date:** [July 2, 2023, 11:28am UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/10 "2023-07-02T11:28:33Z")

</div>

Hi. I do not speak English. Your document format is untranslatable by Google. A way to change that? 😕

---

<div class="post-metadata">

**Author:** ![Zetnus](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/zetnus/32/39780_2.png) [@Zetnus](https://forums.ageofempires.com/u/Zetnus)\
**Post date:** [July 15, 2023, 2:50pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/11 "2023-07-15T14:50:33Z")

</div>

Click on the first “CLICK HERE” and then have google translate that version

---

<div class="post-metadata">

**Author:** ![SpartanHoplite](https://forums.ageofempires.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@SpartanHoplite](https://forums.ageofempires.com/u/SpartanHoplite)\
**Post date:** [July 28, 2023, 12:20am UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/15 "2023-07-28T00:20:21Z")

</div>

Zetnus have you worked out a way to deploy to DE and ROR RMS in the same Zip file?

I just need the correct structure so the maps show up in game.

---

<div class="post-metadata">

**Author:** ![Zetnus](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/zetnus/32/39780_2.png) [@Zetnus](https://forums.ageofempires.com/u/Zetnus)\
**Post date:** [August 2, 2023, 11:00pm UTC](https://forums.ageofempires.com/t/definitive-random-map-scripting-guide/104902/16 "2023-08-02T23:00:25Z")

</div>

Yes, I think you need to use

```auto
modes\Pompeii\resources\_common\random-map-scripts

```
