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@HANDICAP:
|
||||
X: 491
|
||||
Width: 75
|
||||
Height: 25
|
||||
Text: Handicap
|
||||
Align: Center
|
||||
Font: Bold
|
||||
Label@SPAWN:
|
||||
X: 571
|
||||
Width: 50
|
||||
@@ -142,6 +149,13 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Width: 50
|
||||
Height: 25
|
||||
Font: Regular
|
||||
DropDownButton@HANDICAP_DROPDOWN:
|
||||
X: 491
|
||||
Width: 75
|
||||
Height: 25
|
||||
Font: Regular
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
TooltipText: A handicap decreases the combat effectiveness of the player's forces
|
||||
DropDownButton@SPAWN_DROPDOWN:
|
||||
X: 571
|
||||
Width: 50
|
||||
@@ -252,6 +266,18 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Height: 25
|
||||
Font: Regular
|
||||
Visible: false
|
||||
Label@HANDICAP:
|
||||
X: 491
|
||||
Width: 50
|
||||
Height: 25
|
||||
Align: Center
|
||||
DropDownButton@HANDICAP_DROPDOWN:
|
||||
X: 491
|
||||
Width: 75
|
||||
Height: 25
|
||||
Font: Regular
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
TooltipText: A handicap decreases the combat effectiveness of the player's forces
|
||||
Label@SPAWN:
|
||||
X: 571
|
||||
Width: 25
|
||||
|
||||
@@ -187,6 +187,11 @@
|
||||
AttackMove:
|
||||
AssaultMoveCondition: assault-move
|
||||
|
||||
^PlayerHandicaps:
|
||||
HandicapFirepowerMultiplier:
|
||||
HandicapDamageMultiplier:
|
||||
HandicapProductionTimeMultiplier:
|
||||
|
||||
^AcceptsCloakCrate:
|
||||
Cloak:
|
||||
InitialDelay: 15
|
||||
@@ -224,6 +229,7 @@
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@3: ^ClassicFacingSpriteActor
|
||||
Inherits@selection: ^SelectableCombatUnit
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Huntable:
|
||||
OwnerLostAction:
|
||||
Action: Kill
|
||||
@@ -269,6 +275,7 @@
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@3: ^ClassicFacingSpriteActor
|
||||
Inherits@selection: ^SelectableCombatUnit
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Huntable:
|
||||
OwnerLostAction:
|
||||
Action: Kill
|
||||
@@ -323,6 +330,7 @@
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@3: ^SpriteActor
|
||||
Inherits@selection: ^SelectableCombatUnit
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Huntable:
|
||||
OwnerLostAction:
|
||||
Action: Kill
|
||||
@@ -492,6 +500,7 @@
|
||||
Inherits@2: ^SpriteActor
|
||||
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
|
||||
Inherits@selection: ^SelectableCombatUnit
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Huntable:
|
||||
OwnerLostAction:
|
||||
Action: Kill
|
||||
@@ -546,6 +555,7 @@
|
||||
Inherits@2: ^SpriteActor
|
||||
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
|
||||
Inherits@selection: ^SelectableCombatUnit
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Huntable:
|
||||
Health:
|
||||
HP: 40000
|
||||
@@ -601,6 +611,7 @@
|
||||
^Plane:
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@2: ^ClassicFacingSpriteActor
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Huntable:
|
||||
OwnerLostAction:
|
||||
Action: Kill
|
||||
@@ -626,6 +637,7 @@
|
||||
Inherits@1: ^ExistsInWorld
|
||||
Inherits@3: ^SpriteActor
|
||||
Inherits@selection: ^SelectableCombatUnit
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Huntable:
|
||||
OwnerLostAction:
|
||||
Action: Kill
|
||||
@@ -653,6 +665,7 @@
|
||||
Inherits@2: ^SpriteActor
|
||||
Inherits@shape: ^1x1Shape
|
||||
Inherits@selection: ^SelectableBuilding
|
||||
Inherits@handicaps: ^PlayerHandicaps
|
||||
Huntable:
|
||||
OwnerLostAction:
|
||||
Action: Kill
|
||||
|
||||
Reference in New Issue
Block a user