Adding Add-On Units into the Map Editor

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
NeuroToxic
Posts: 1
Joined: December 17th, 2019, 10:08 pm

Adding Add-On Units into the Map Editor

Post by NeuroToxic »

Hey Everyone! I'm new to creating maps in this game. I recently installed the Ageless Era addon, and I wanted to start creating scenarios using these units. However, I can't figure out how to be able to use these units in the map editor (it currently only has the default units). How do I get these addon units to be available in the editor/game? I'm also new to map/campaign editing so a lot of the coding language will probably go over my head, so please explain to me like I'm an idiot :D
User avatar
Ravana
Forum Moderator
Posts: 3002
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Adding Add-On Units into the Map Editor

Post by Ravana »

Ageless has 10x more units than core, so be prepared for performance issues. That is the main reason why I will not add it there myself.

But it should be possible by changing https://github.com/ProditorMagnus/Agele ... in.cfg#L17 to #ifdef EDITOR and deleting ageless_4_25.preprocessed.cfg.

With 1.15 just changing https://github.com/ProditorMagnus/Agele ... ain.cfg#L8 should be enough.

Addons can be found following https://wiki.wesnoth.org/EditingWesnoth ... _directory
Post Reply