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

                 Summary: Provide a list of faction id in random_faction for
faction definition
                 Project: Battle for Wesnoth
            Submitted by: None
            Submitted on: Thursday 12/27/2007 at 02:36 CET
                Category: Feature Request
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Multiplayer
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: all
        Operating System: all

    _______________________________________________________

Details:

I think it would be interesting that the random_faction definition inside
[multiplayer_side] tag could receive a list of id of the factions we want to
take randomly a faction out.
For example the random in the default era could be written:
  #define RANDOM_SIDE
      [multiplayer_side]
          id=Random
          name={MENU_IMG_TXT "random-enemy.png" _"Random"}
          random_faction=Loyalists, Rebels, Northerners, Undead, Knalgan
Alliance, Drakes
      [/multiplayer_side]
  #enddef
No random_faction=... setting would be handled as the current
random_faction=no.

This would have several advantages:
1/ possible to make several random choices coexist in the same era
For example, the following era definition :
   [era]
      # Default factions
      [multiplayer_side]
          id=Random
          name={MENU_IMG_TXT "random-enemy.png" _"Random"}
          random_faction=Loyalists, Rebels, Northerners, Undead, Knalgan
Alliance, Drakes
      [/multiplayer_side]
      # A New land factions
      [multiplayer_side]
          id=ANL_Random
          name={MENU_IMG_TXT "random-enemy.png" _"ANL Random"}
          random_faction=ANL_Loyalists, ANL_Orcs, ANL_Undead, ANL_Outlaws
      [/multiplayer_side]
   [/era]
This era could be used to build scenario where some players play the random
default factions (fight oriented) while others use A-New-Land factions
(building oriented)

2/ really easy to implement a wish from some players to include random
selection of a subset of faction
3/ make the random_faction definition works like random_leader

Hope this is clear enough.
I put my e-mail account so ask for more info if in doubt.

Vincent




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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