Difference between revisions of "SoC Ideas New Alliance System"

From The Battle for Wesnoth Wiki
m
m (Description)
Line 4: Line 4:
 
<h3>New Alliance system</h3>
 
<h3>New Alliance system</h3>
 
Wesnoth currently has a very simple alliance system, players are either allied, neutral, or enemies. 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.
 
Wesnoth currently has a very simple alliance system, players are either allied, neutral, or enemies. 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.
 +
 +
{{#dpl:
 +
|resultsheader=''There are %PAGES% student proposals for this idea''
 +
|category=Summer of Code 2010 Student Page&New Alliance system
 +
|include=#Description
 +
|mode=userformat
 +
|format=,,<br/>See [[%PAGE%|%TITLE%]] for more information.<br/><br/>,
 +
}}
  
 
=WML Handling=
 
=WML Handling=

Revision as of 13:02, 28 March 2010


This page is related to Summer of Code 2010
See the list of Summer of Code 2010 Ideas



This is a Summer of Code 2010 Idea



Description

New Alliance system

Wesnoth currently has a very simple alliance system, players are either allied, neutral, or enemies. 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.

Extension:DynamicPageList (DPL), version 3.3.2: Warning: No results.

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)

Whom to ask about this

Ask Boucman on #wesnoth-dev