SoC Ideas New Alliance System
From The Battle for Wesnoth Wiki
WML Handling To allow UMC to work with the alliance parameters, each of them
- should be setable by WML
- should be lockable/unlockable by WML
- unlocked parameters can be set by player via a table.
- There should be an easy way to emmulate the old alliance system in MP game (a way for the game-creator to set and lock the parameters before the game)
List of parameters
- can unit attack this side
- do we take village from that side
- can this side use our healers
- can this side use our leaders
- do we give this side our shroud information
- do we give this side our fog information
- can this side use our villages to teleport
- is this side affected by our ZOCs
- is team-chat/team-labels shared
Victory handling
- add a "share victory" button
- a side is victorious when all remaining sides share victory with him
Open questions
- do we see what the other give us ?
- victory : how do we handle some sides winning before others
- defeat : i'm not sure if we need special handling for that, what would be the point of sharing defeat (unless forced by WML, in which case it's better to do it with events)
- do we enable it in MP ? make it an option ?
- handling of backstab (helping against an ally)