Difference between revisions of "SoC Ideas New Alliance System"

From The Battle for Wesnoth Wiki
(Created page with ' '''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…')
 
Line 1: Line 1:
 +
Proposed by developer: Boucman
 +
 +
'''Description:''' Wesnoth currently has a very simple alliance system, players are either allied, neutral, or ennemies. The idea is to replace this with a system of privilege granting. Each player can grant privileges to other players but can't force other to grant the corresponding privilege. Thus it's only through diplomacy and trust that you can build an alliance.
  
 
'''WML Handling'''
 
'''WML Handling'''
Line 29: Line 32:
 
* do we enable it in MP ? make it an option ?
 
* do we enable it in MP ? make it an option ?
 
* handling of backstab (helping against an ally)
 
* handling of backstab (helping against an ally)
 +
 +
[[Category:Summer of Code 2010]]

Revision as of 09:41, 28 February 2010

Proposed by developer: Boucman

Description: Wesnoth currently has a very simple alliance system, players are either allied, neutral, or ennemies. The idea is to replace this with a system of privilege granting. Each player can grant privileges to other players but can't force other to grant the corresponding privilege. Thus it's only through diplomacy and trust that you can build an alliance.

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)