URL:
  <http://gna.org/bugs/?14232>

                 Summary: Pre-setting game variables from within game hall
                 Project: Battle for Wesnoth
            Submitted by: iinscrutabilis
            Submitted on: Среда 02.09.2009 at 13:42
                Category: Feature Request
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Multiplayer
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7
        Operating System: Any

    _______________________________________________________

Details:

Many multiplayer scenarios require 1st player to set up game at start. This
really slows down the process, makes 1st player appear as sleeping or
disconnected, and other players can't discuss game settings until everything
is done and there is no way back (except of remaking game).

I wish host player to be able to set some game variables right in the game
hall screen, and other players to be able to see those settings, just like
they can see faction/leader/gold settings now.

Scenario definition may contain following tag (example for abstract
scenario):
[receive_variables]
  [input_control]    # input box accepting integer values within [1 .. 10]
range, with default 5
    user_name= _ "Gold for each kill"    # players will see this name
    name=predef_gold    # actual variable where value will be stored
    type=input_int    # type of input control
    min=1
    max=10
    default=5
  [/input_control]
  [input_control]    # input box accepting text values with length from 1 to
20 characters. Default is "Dungeon Keeper". Default can not be marked as
translatable because of OOS possibility
    user_name= _ "Name of the big evil boss"
    name=predef_boss
    type=input_text
    min=1
    max=20
    default= "Dungeon Keeper"
  [/input_control]
  [input_control]    # listbox control with 4 named positions. Default
position is Moderate. Index of selected position will be stored in variable,
so names can be translated without risk of OOS
    user_name= _ "Difficulty level"
    name=predef_diff
    type=list
    list= _"Easy", _"Moderate", _"Hard", _"Impossible"
    default=2
  [/input_control]
[/receive_variables]
# attached file contains (ugly) example of layout

Where to put those controls? I think it is good idea to truncate buddy list
when in the game hall screen, because there will not be hundreds of players
in a single game anyway. So, we need to list only 9 players + few observers,
and truncating buddy list to the half of its length is ok. Extra free space
under the buddy list can be used to display new controls.

I think it is relatively easy to impletent this new functionality, since
Wesnoth already contains necessary gui controls and this feature does not
require huge changes (it seems that the only changed parts are gui, wml, and
network protocol).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Среда 02.09.2009 at 13:42  Name: Example.jpg  Size: 35kB   By:
iinscrutabilis
Ugly example of layout
<http://gna.org/bugs/download.php?file_id=6556>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14232>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to