Units in map editor and recruit list

General feedback and discussion of the game.

Moderator: Forum Moderators

Post Reply
richardsimon
Posts: 1
Joined: June 25th, 2025, 4:37 pm

Units in map editor and recruit list

Post by richardsimon »

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??
User avatar
ChaosRider
Posts: 1222
Joined: April 15th, 2012, 1:15 pm

Re: Units in map editor and recruit list

Post by ChaosRider »

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.
User avatar
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

Post by Lord-Knightmare »

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??
Disregard previous reply.

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
User avatar
Saizo-Luz
Posts: 85
Joined: June 14th, 2024, 12:50 pm
Location: High Heavens

Re: Units in map editor and recruit list

Post by Saizo-Luz »

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.
WHAAAT????!!!! :shock: I DIDN'T KNOW THAT!

So how does it work? :hmm: 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}
User avatar
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

Post by Lord-Knightmare »

Saizo-Luz wrote: June 27th, 2025, 12:12 pm
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.
WHAAAT????!!!! :shock: I DIDN'T KNOW THAT!

So how does it work? :hmm: 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}
No, the output is raw WML. not macros.
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
Post Reply