RM Script as a mod - broken groupings

Hi, is it somehow possible to add custom made groupings into a new RM script file? My file structure looks like this:

All the groupings are part of the mod, but it doesn’t work with groupings in the mod folder. Just the groupings in the root folder are placed.

I initiate the groupings like that:

int piratesVillageID = -1;
piratesVillageID = rmCreateGrouping("pirate city", "pirate_village01");

Should I maybe change the address? And how should then such address look like when I want to target a specific player’s ID like:

C:/users/username/games/aoe3de/646465465/mods/subscribed/42687_tortuga alpha test/randmaps/groupings/pirate_village01 ?

I don’t even know if such an address is valid and if it will work for me, it doesn’t mean it will work for others as well.

2 Likes

So, no answer… Should I make a bug report out of it or it’s possible to solve this issue somehow? I’m afraid any custom RM is not playable because of that issue right now.

Thanks for answer.

What was your solution to this? I’m having the same issue.

Nevermind, I figured it out. Just need the “game” folder in the file path

___mod/game/randmaps/groupings/___grouping

Hey, you need a special folder structure. Once you place it not in randmaps/groupings but in game/randmaps/groupings, it works.

1 Like

Thanks man. I’ve also got a few other workflow questions if you don’t mind me asking.

Are you able to get your maps to show up in the scenario editor to load them form there? That way is a lot nicer that loading a skirmish each time but I’m not sure how to get it to show up in that list.

Do you use the debugger? If so, how do you activate it? I didn’t have any luck following the steps here (https://support.ageofempires.com/hc/en-us/articles/8478444858388-Custom-Maps-Guide) and I’m not even sure what debugging mode is supposed to look like.