[Solved] Undefined Macros for Units with Custom Abilities in Map/Scenario Editor

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Nyanyanyan
Posts: 73
Joined: May 11th, 2018, 10:40 pm

[Solved] Undefined Macros for Units with Custom Abilities in Map/Scenario Editor

Post by Nyanyanyan »

Hi, I'm trying to make a scenario using custom units, but when I open the map editor I get the Macro/File missing error and the custom units from my era don't show up.
The era in itself works perfectly fine without errors.

It seems the abilities.cfg file I'm using to store ability/special macros is somehow not being included when using the map editor.

Any way to fix this?

Thanks in advance for any help.
Last edited by Nyanyanyan on August 22nd, 2021, 4:51 pm, edited 1 time in total.
Author of Age of Lords and the Revolution and Civil War and Expendable Leaders 2 multiplayer mods.
User avatar
Nyanyanyan
Posts: 73
Joined: May 11th, 2018, 10:40 pm

Re: Undefined Macros for Units with Custom Abilities in Map/Scenario Editor

Post by Nyanyanyan »

I found the solution already.
I did not include the abilities.cfg in the editor section of the _main.cfg.
Now that I included it, everything works as intended.

Should I delete this thread or keep it up for people googling the issue?
Author of Age of Lords and the Revolution and Civil War and Expendable Leaders 2 multiplayer mods.
Post Reply