Add a per-player handicap option to the lobby.
Handicaps reduce unit health, firepower, and build speed.
This commit is contained in:
@@ -35,6 +35,13 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Text: Team
|
||||
Align: Center
|
||||
Font: Bold
|
||||
Label@LABEL_LOBBY_HANDICAP:
|
||||
X: 478
|
||||
Width: 72
|
||||
Height: 25
|
||||
Text: Handicap
|
||||
Align: Center
|
||||
Font: Bold
|
||||
Label@LABEL_LOBBY_SPAWN:
|
||||
X: 560
|
||||
Width: 48
|
||||
@@ -139,6 +146,12 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Width: 48
|
||||
Height: 25
|
||||
Text: Team
|
||||
DropDownButton@HANDICAP_DROPDOWN:
|
||||
X: 478
|
||||
Width: 72
|
||||
Height: 25
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
TooltipText: A handicap decreases the combat effectiveness of the player's forces
|
||||
DropDownButton@SPAWN_DROPDOWN:
|
||||
X: 560
|
||||
Width: 48
|
||||
@@ -249,6 +262,17 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Width: 48
|
||||
Height: 25
|
||||
Visible: false
|
||||
Label@HANDICAP:
|
||||
X: 478
|
||||
Width: 47
|
||||
Height: 25
|
||||
Align: Center
|
||||
DropDownButton@HANDICAP_DROPDOWN:
|
||||
X: 478
|
||||
Width: 72
|
||||
Height: 25
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
TooltipText: A handicap decreases the combat effectiveness of the player's forces
|
||||
Label@SPAWN:
|
||||
X: 560
|
||||
Width: 23
|
||||
|
||||
@@ -184,10 +184,16 @@
|
||||
AttackMoveCondition: attack-move
|
||||
AssaultMoveCondition: assault-move
|
||||
|
||||
^PlayerHandicaps:
|
||||
HandicapFirepowerMultiplier:
|
||||
HandicapDamageMultiplier:
|
||||
HandicapProductionTimeMultiplier:
|
||||
|
||||
^Vehicle:
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@2: ^SpriteActor
|
||||
Inherits@selection: ^SelectableCombatUnit
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Tooltip:
|
||||
GenericName: Unit
|
||||
Huntable:
|
||||
@@ -298,6 +304,7 @@
|
||||
Inherits@2: ^GainsExperience
|
||||
Inherits@3: ^SpriteActor
|
||||
Inherits@selection: ^SelectableCombatUnit
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Tooltip:
|
||||
GenericName: Unit
|
||||
Huntable:
|
||||
@@ -366,6 +373,7 @@
|
||||
^Plane:
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@2: ^SpriteActor
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Interactable:
|
||||
Tooltip:
|
||||
GenericName: Unit
|
||||
@@ -391,6 +399,7 @@
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@2: ^SpriteActor
|
||||
Inherits@selection: ^SelectableBuilding
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Tooltip:
|
||||
GenericName: Structure
|
||||
Huntable:
|
||||
|
||||
Reference in New Issue
Block a user