UIComponentLobby.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- *********************************************************************** -->
  3. <!-- * Provides callbacks for ActionScript to setup and launch a skirmish * -->
  4. <!-- * game. * -->
  5. <!-- *********************************************************************** -->
  6. <UIComponentLobby xmlns="uri:ea.com:eala:asset" xmlns:xi="http://www.w3.org/2001/XInclude"
  7. Priority="490">
  8. <!-- Used for random AI personality option -->
  9. <RandomStringLabel>GUI:Random</RandomStringLabel>
  10. <!-- These need to match labels used in the Flash/ActionScript files -->
  11. <FactionLabelSpec>APT:LobbyPlayer%dFaction_%d</FactionLabelSpec>
  12. <AIPersonalityLabelSpec>APT:LobbyPlayer%dAIPersonality_%d</AIPersonalityLabelSpec>
  13. <AIDifficultyLabelSpec>APT:LobbyAIDifficulty_%d</AIDifficultyLabelSpec>
  14. <TeamLabelSpec>APT:LobbyTeam_%d</TeamLabelSpec>
  15. <MapListSpec>APT:MapList_%d</MapListSpec>
  16. <GameplayTypeSpec>APT:GameplayType_%d</GameplayTypeSpec>
  17. <GameTimeLimitSpec>APT:GameTimeLimit_%d</GameTimeLimitSpec>
  18. <GameResourcesSpec>APT:GameResources_%d</GameResourcesSpec>
  19. <HillTimeSpec>APT:HillTime_%d</HillTimeSpec>
  20. <CapturePointsSpec>APT:CapturePoints_%d</CapturePointsSpec>
  21. <BarrierTimeSpec>APT:BarrierTime_%d</BarrierTimeSpec>
  22. <CaptureFlagsSpec>APT:CaptureFlag_%d</CaptureFlagsSpec>
  23. <!-- Define which factions are available in MP & Skirmish lobbies -->
  24. <!--
  25. These must correspond to factions in PlayerTempate.ini
  26. Once PlayerTemplate.ini is converted to XML we'll make these asset references,
  27. so the data build will tell you if you screw up a faction name.
  28. -->
  29. <Faction>RANDOM</Faction>
  30. <Faction>Allies</Faction>
  31. <Faction>Soviet</Faction>
  32. <Faction>Japan</Faction>
  33. <!-- Define the different AI difficulties -->
  34. <AIDifficulty Label="GUI:EasyAI" Value="EASY"/>
  35. <AIDifficulty Label="GUI:MediumAI" Value="MEDIUM"/>
  36. <AIDifficulty Label="GUI:HardAI" Value="HARD"/>
  37. <AIDifficulty Label="GUI:BrutalAI" Value="BRUTAL"/>
  38. <!-- Define the different options for the team setting -->
  39. <Team Label="Team:0" Value="-1"/> <!-- no team selected -->
  40. <Team Label="Team:1" Value="0"/>
  41. <Team Label="Team:2" Value="1"/>
  42. <Team Label="Team:3" Value="2"/>
  43. <!-- Import the different game types available in the MP/Skirmish lobbies -->
  44. <xi:include
  45. href="DATA:Shell/MultiplayerCommonUIData.xml"
  46. xpointer="xmlns(n=uri:ea.com:eala:asset) xpointer(/n:MultiplayerCommonUIData/child::*)" />
  47. <!-- Define the different options for the game time setting -->
  48. <GameTime Label="GUI:10Minutes" Value="600"/>
  49. <GameTime Label="GUI:20Minutes" Value="1200"/>
  50. <GameTime Label="GUI:30Minutes" Value="1800"/>
  51. <GameTime Label="GUI:Unlimited" Value="0" Default="true"/>
  52. <!-- Define the different options for the game starting resources setting -->
  53. <GameResources Value="10000" Default="true"/>
  54. <GameResources Value="15000"/>
  55. <GameResources Value="20000"/>
  56. <GameResources Value="30000"/>
  57. <GameResources Value="40000"/>
  58. <!-- Define the different options for the time with hill setting -->
  59. <HillTime Label="GUI:5Minutes" Value="300" Default="true"/>
  60. <HillTime Label="GUI:10Minutes" Value="600" MinGameTimeValue="1200"/>
  61. <HillTime Label="GUI:20Minutes" Value="1200" MinGameTimeValue="1800"/>
  62. <HillTime Label="GUI:30Minutes" Value="1800" MinGameTimeValue="3000"/>
  63. <!-- Define the different options for the barrier timer setting -->
  64. <BarrierTime Label="GUI:3Minutes" Value="180" Default="true"/>
  65. <BarrierTime Label="GUI:5Minutes" Value="300"/>
  66. <BarrierTime Label="GUI:10Minutes" Value="600"/>
  67. <BarrierTime Label="GUI:15Minutes" Value="900"/>
  68. <!-- Define the different options for the capture points setting -->
  69. <CapturePoints Value="15000" Default="true"/>
  70. <CapturePoints Value="20000"/>
  71. <CapturePoints Value="30000"/>
  72. <CapturePoints Value="40000"/>
  73. <!-- Define the different options for the capture flags setting -->
  74. <CaptureFlags Value="1"/>
  75. <CaptureFlags Value="3" Default="true"/>
  76. <CaptureFlags Value="5"/>
  77. <CaptureFlags Value="10"/>
  78. <!-- Define MP-specific data -->
  79. <MultiplayerLobbySettings>
  80. <LobbyTitleLabelSpec>APT:ST_LIVE_MULTIPLAYER_LOBBY</LobbyTitleLabelSpec>
  81. <UnmoderatedLobbyTitleTemplateSpec>APT:ST_XBOXLIVE_MULTIPLAYER_LOBBY</UnmoderatedLobbyTitleTemplateSpec>
  82. <ModeratedLobbyTitleTemplateSpec>APT:ST_MULTIPLAYER_LOBBY_MODERATOR</ModeratedLobbyTitleTemplateSpec>
  83. <PlayerNameLabelSpec>APT:LobbyPlayerName_%d</PlayerNameLabelSpec>
  84. <SlotLabelSpec>APT:LobbyPlayerSlotState_%d</SlotLabelSpec>
  85. <!-- Define the different slot states that can be chosen -->
  86. <SlotState Label="GUI:Open" Value="OPEN" AvailableInRanked="true" AvailableInModerated="false"/>
  87. <SlotState Label="GUI:Closed" Value="CLOSED" AvailableInRanked="true" AvailableInModerated="true"/>
  88. <SlotState Label="GUI:Private" Value="PRIVATE" AvailableInRanked="false" AvailableInModerated="true"/>
  89. <SlotState Label="GUI:AI" Value="AI" AvailableInRanked="false" AvailableInModerated="false"/>
  90. </MultiplayerLobbySettings>
  91. <!-- Define Skirmish-specific data -->
  92. <SkirmishLobbySettings>
  93. <LoadMusic>TEMP_RAM_Music360_LoadScreen</LoadMusic>
  94. <SlotLabelSpec>APT:LobbyPlayerSlotState_%d</SlotLabelSpec>
  95. <!-- Define the different slot states that can be chosen -->
  96. <SlotState Label="GUI:Closed" Value="CLOSED" />
  97. <SlotState Label="GUI:AI" Value="AI" />
  98. </SkirmishLobbySettings>
  99. </UIComponentLobby>