Units in map editor and recruit list
Moderator: Forum Moderators
-
- Posts: 1
- Joined: June 25th, 2025, 4:37 pm
Units in map editor and recruit list
Hello,
I have two questions. How can I make placed units passive in map editor? When I assigned my recruit list and went in game, I was able to recruit orcs even though I didn't put orcs to my recall list. In other words: If I custom my recruit list, the game still gives me some nation. How can I fix this??
I have two questions. How can I make placed units passive in map editor? When I assigned my recruit list and went in game, I was able to recruit orcs even though I didn't put orcs to my recall list. In other words: If I custom my recruit list, the game still gives me some nation. How can I fix this??
- ChaosRider
- Posts: 1222
- Joined: April 15th, 2012, 1:15 pm
Re: Units in map editor and recruit list
I don't think it's possible to do it with map editor. You'll have to edit scenario file and use WML or LUA (coding is required here).
Creator of WOTG (+5500 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.18 Wesnoth server.
- Lord-Knightmare
- Discord Moderator
- Posts: 2490
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Units in map editor and recruit list
Disregard previous reply.richardsimon wrote: ↑June 25th, 2025, 4:44 pm Hello,
I have two questions. How can I make placed units passive in map editor? When I assigned my recruit list and went in game, I was able to recruit orcs even though I didn't put orcs to my recall list. In other words: If I custom my recruit list, the game still gives me some nation. How can I fix this??
You have to convert your map file to scenario. This is available in the top menu. Then you have to define sides in the map editor, you can also see it in the top menu tool bar. Then you can place units for that side on the map.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: Units in map editor and recruit list
WHAAAT????!!!!Lord-Knightmare wrote: ↑June 27th, 2025, 9:16 am You have to convert your map file to scenario. This is available in the top menu. Then you have to define sides in the map editor, you can also see it in the top menu tool bar. Then you can place units for that side on the map.

So how does it work?

Code: Select all
{GENERIC_UNIT 1 EL_Clasher 35 27} {FACING nw}
{GENERIC_UNIT 2 EL_Striker 36 27} {FACING nw}
{CAPTURE_VILLAGES 1 35 28 8}
- Lord-Knightmare
- Discord Moderator
- Posts: 2490
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Units in map editor and recruit list
No, the output is raw WML. not macros.Saizo-Luz wrote: ↑June 27th, 2025, 12:12 pmWHAAAT????!!!!Lord-Knightmare wrote: ↑June 27th, 2025, 9:16 am You have to convert your map file to scenario. This is available in the top menu. Then you have to define sides in the map editor, you can also see it in the top menu tool bar. Then you can place units for that side on the map.I DIDN'T KNOW THAT!
So how does it work?Is it the same thing we do coding?
Code: Select all
{GENERIC_UNIT 1 EL_Clasher 35 27} {FACING nw} {GENERIC_UNIT 2 EL_Striker 36 27} {FACING nw} {CAPTURE_VILLAGES 1 35 28 8}
I think there was a good amount of discussion on how people got an editable ScenarioWML file from the editor into a scenario CFG file. Sadly, nobody compiled to a medium article or a wiki page yet.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium