Removing Races
Moderator: Forum Moderators
Removing Races
Hello there! I wasn't sure where would be best to post this, so I chose this place...please forgive if it is misplaced...
My question is pretty simple (but I'm aware the solution may not be): Is there a way in Multiplayer to remove a particular race from the Random picks? (e.g. Drakes) That's it - I just want certain races at certain times to never be picked with the Random function.
Thanks!
-Gidoza
My question is pretty simple (but I'm aware the solution may not be): Is there a way in Multiplayer to remove a particular race from the Random picks? (e.g. Drakes) That's it - I just want certain races at certain times to never be picked with the Random function.
Thanks!
-Gidoza
- Lord-Knightmare
- Discord Moderator
- Posts: 2359
- 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: Removing Races
Yeah, there might be. You could make an MP modification that excludes the faction from random pick.My question is pretty simple (but I'm aware the solution may not be): Is there a way in Multiplayer to remove a particular race from the Random picks? (e.g. Drakes) That's it - I just want certain races at certain times to never be picked with the Random function.
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: Removing Races
Modification would need to use Lua. Easier way is modifying your era,
except=
.Re: Removing Races
Ok this is a start. But where do I put this...?Ravana wrote:Modification would need to use Lua. Easier way is modifying your era,except=
.
- Lord-Knightmare
- Discord Moderator
- Posts: 2359
- 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: Removing Races
Inside theOk this is a start. But where do I put this...?
[multiplayer_side][/multiplayer_side]
tagexample:
Code: Select all
#define RANDOM_SIDE_GIDOZA
[multiplayer_side]
# Copied from data/multiplayer/eras.cfg
id=Random_gizoda
name= _"Random"
image="units/random-dice.png"
random_faction=yes
# Now, your edit
# Whatever the hell the faction ID is...
except=Drakes
[/multiplayer_side]
#enddef
[era]
id=era_default_edited
name= _ "Default"
description=_ "Modified Default Era..."
type=hybrid
{RANDOM_SIDE_GIZODA}
{multiplayer/factions/loyalists-default.cfg}
{multiplayer/factions/rebels-default.cfg}
{multiplayer/factions/northerners-default.cfg}
{multiplayer/factions/undead-default.cfg}
{multiplayer/factions/knalgans-default.cfg}
{multiplayer/factions/drakes-default.cfg}
{QUICK_4MP_LEADERS}
{TURNS_OVER_ADVANTAGE}
[/era]
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