Excluding a faction in multiplayer
Moderator: Forum Moderators
Excluding a faction in multiplayer
Is it possible to exclude a faction in Multiplayer > Local game? I'd prefer that Knalgan Alliance would be excluded from the random choice of factions for either me and computer players (AIs).
Re: Excluding a faction in multiplayer
You can add
Example https://github.com/ProditorMagnus/Agele ... in.cfg#L14
except=Knalgan Alliance
to that [multiplayer_side].Example https://github.com/ProditorMagnus/Agele ... in.cfg#L14
Re: Excluding a faction in multiplayer
Is the file that should be edited (_main.cfg) a part of source code or a part of installed software?Ravana wrote: ↑January 3rd, 2020, 6:44 pm You can addexcept=Knalgan Alliance
to that [multiplayer_side].
Example https://github.com/ProditorMagnus/Agele ... in.cfg#L14
Re: Excluding a faction in multiplayer
If you dont care about mp safety you can find your local copy of https://github.com/wesnoth/wesnoth/blob ... ras.cfg#L4 and change that.
- Pentarctagon
- Project Manager
- Posts: 5565
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Excluding a faction in multiplayer
I suppose it depends on how you want to define those. If it helps, it's part of the configuration (cfg files), so changes to them take effect just by restarting wesnoth.regnbage wrote: ↑January 3rd, 2020, 9:18 pmIs the file that should be edited (_main.cfg) a part of source code or a part of installed software?Ravana wrote: ↑January 3rd, 2020, 6:44 pm You can addexcept=Knalgan Alliance
to that [multiplayer_side].
Example https://github.com/ProditorMagnus/Agele ... in.cfg#L14
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Excluding a faction in multiplayer
I don't care about MP safety.Ravana wrote: ↑January 3rd, 2020, 9:24 pm If you dont care about mp safety you can find your local copy of https://github.com/wesnoth/wesnoth/blob ... ras.cfg#L4 and change that.
With your help, I've edited my
/usr/share/games/wesnoth/1.10/data/multiplayer/eras.cfg
file and now it seems to work just as expected. Thank you very much!
Re: Excluding a faction in multiplayer
I'd rather go with editing of the installed files. Having edited this filePentarctagon wrote: ↑January 3rd, 2020, 10:18 pm I suppose it depends on how you want to define those. If it helps, it's part of the configuration (cfg files), so changes to them take effect just by restarting wesnoth.
/usr/share/games/wesnoth/1.10/data/multiplayer/eras.cfg
seems to work fine for me so far.