How to use default races with Era of Magic races?

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
yebar16037
Posts: 2
Joined: July 11th, 2023, 7:48 am

How to use default races with Era of Magic races?

Post by yebar16037 »

Hi!

So I wanted to play with expanded roster of races and add Era of Magic races to the core ones. So far the only way to do this I found is through the Ageless era. But Ageless era also introduce a lot of other factions including few different versions of core races.

Is there any way to combine Era of Magic with core races - other than by using Ageless Era?
Commanding armies, forging legends, and shaping destiny in the realm of Wesnoth!
User avatar
Ravana
Forum Moderator
Posts: 3016
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: How to use default races with Era of Magic races?

Post by Ravana »

Provided you play alone, in Ageless_Era/eras/ageless_era.cfg out of lines

Code: Select all

    {RANDOM_WITHOUT_ZWS ({BFW_FACTIONS},AE_side_ext_loyalist,AE_side_ext_sylvans,AE_side_ext_dwarves,AE_side_ext_outlaws,AE_side_ext_northerns,AE_side_ext_undead,AE_side_agl_desertelves,AE_side_imp_cavernei,AE_side_chs_quenoth,AE_side_chs_sylvans,AE_side_chs_wildhumans,AE_RHY_Regis,AE_RHY_Dwarves,AE_RHY_Undead) "Defaultlike" AE_set_notdefaultlike}
    {RANDOM_ONLY_ZWS {AE_BALANCED_FACTIONS} "Balanced" AE_set_balanced} # needs zero width space
    [multiplayer_side]
        id=AE_set_notdefault
        name= _"Random"
        image="units/random-dice.png"
        random_faction=yes
        except={BFW_FACTIONS}
    [/multiplayer_side]
    {RANDOM_ONLY {AE_FACTIONS} "AE" AE_set_ae}
    {RANDOM_ONLY {BMR_FACTIONS} "Archaic" AE_set_bmr}
    {RANDOM_ONLY {BEEM_FACTIONS} "BEEM" AE_set_beem}
    {RANDOM_ONLY {BFW_FACTIONS} _"Default" AE_set_default}
    {RANDOM_ONLY {EE_FACTIONS} "EE" AE_set_ee}
    {RANDOM_ONLY {EFM_FACTIONS} "EFM" AE_set_efm}
    {RANDOM_ONLY {ELE_FACTIONS} "ELE" AE_set_ele}
    {RANDOM_ONLY {EoC_FACTIONS} "EoC" AE_set_eoc}
    {RANDOM_ONLY {EoM_FACTIONS} "EoM" AE_set_eom}
    {RANDOM_ONLY {EoMa_FACTIONS} "EoMa" AE_set_eoma}
    {RANDOM_ONLY {EoS_FACTIONS} "EoS" AE_set_eos}
    {RANDOM_ONLY {EotF_FACTIONS} "EotF" AE_set_eotf}
    {RANDOM_ONLY {FE_FACTIONS} "FE" AE_set_fe}
    {RANDOM_ONLY {FL_FACTIONS} "FL" AE_set_fl}
    {RANDOM_ONLY {IE_FACTIONS} "IE" AE_set_ie}
    {RANDOM_ONLY {ME_FACTIONS} "ME" AE_set_me}
    {RANDOM_ONLY {MiE_FACTIONS} "MiE" AE_set_mie}
    {RANDOM_ONLY {RE_FACTIONS} "RE" AE_set_re}
    {MP_DEFAULT_SIDE AE}
    {MP_DEFAULT_SIDE BMR}
    {MP_DEFAULT_SIDE BEEM}
    {MP_DEFAULT_SIDE BFW}
    {MP_DEFAULT_SIDE EE}
    {MP_DEFAULT_SIDE EFM}
    {MP_DEFAULT_SIDE ELE}
    {MP_DEFAULT_SIDE EoC}
    {MP_DEFAULT_SIDE EoM}
    {MP_DEFAULT_SIDE EoMa}
    {MP_DEFAULT_SIDE EoS}
    {MP_DEFAULT_SIDE EotF}
    {MP_DEFAULT_SIDE FE}
    {MP_DEFAULT_SIDE FL}
    {MP_DEFAULT_SIDE IE}
    {MP_DEFAULT_SIDE ME}
    {MP_DEFAULT_SIDE MiE}
    {MP_DEFAULT_SIDE RE}
keep only those you want to play with currently.
For example

Code: Select all

    {RANDOM_ONLY {BFW_FACTIONS} _"Default" AE_set_default}
    {RANDOM_ONLY {EoMa_FACTIONS} "EoMa" AE_set_eoma}
    {MP_DEFAULT_SIDE BFW}
    {MP_DEFAULT_SIDE EoMa}
User avatar
Atreides
Posts: 1075
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Re: How to use default races with Era of Magic races?

Post by Atreides »

Alternately you can edit the EoMa_eras.cfg in the Era of Magic and insert this section at the bottom:

Code: Select all


[era]
    id=era_magic_default
    name= _ "Era of Magic + Default"
    description=_"The Era of Magic consists currently of 8 unique, fully animated factions: Barbarians, Darkblooded, Destroyers, Kharos, Runemasters, Sky Kingdom, Summoners and Tharis. Many units have fancy custom abilities/weapon specials."

    require_era=yes

    {ERA_DEFAULT}
    {multiplayer/factions/dunefolk-default.cfg}

    {EOMA_SIDE default skykingdom}
    {EOMA_SIDE default summoners}
    {EOMA_SIDE default tharis}
    {EOMA_SIDE default kharos}
    {EOMA_SIDE default barbarians}
    {EOMA_SIDE default darkblood}
    {EOMA_SIDE default runemasters}
    {EOMA_SIDE default destroyers}

    {EOMA_EVENTS}
[/era]
Post Reply