Add classic-style tooltips for RA campaign missions.

This commit is contained in:
Paul Chote
2014-10-03 19:54:28 +13:00
parent 5f68a9c773
commit ece2b34f7d
4 changed files with 92 additions and 4 deletions

View File

@@ -604,6 +604,42 @@ Rules:
EINSTEIN: EINSTEIN:
Passenger: Passenger:
CargoType: Einstein CargoType: Einstein
^Vehicle:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Tank:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Infantry:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Ship:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Plane:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Helicopter:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Building:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Wall:
Tooltip:
ShowOwnerRow: false
^Husk:
Tooltip:
GenericVisibility: Enemy, Ally, Neutral
GenericStancePrefix: false
ShowOwnerRow: false
^CivInfantry: ^CivInfantry:
RevealsShroud: RevealsShroud:
Range: 0c0 Range: 0c0

View File

@@ -879,12 +879,45 @@ Rules:
LuaScripts: allies02.lua LuaScripts: allies02.lua
ObjectivesPanel: ObjectivesPanel:
PanelName: MISSION_OBJECTIVES PanelName: MISSION_OBJECTIVES
^Infantry:
MustBeDestroyed:
^Tank:
MustBeDestroyed:
^Vehicle: ^Vehicle:
MustBeDestroyed: MustBeDestroyed:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Tank:
MustBeDestroyed:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Infantry:
MustBeDestroyed:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Ship:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Plane:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Helicopter:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Building:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Wall:
Tooltip:
ShowOwnerRow: false
^Husk:
Tooltip:
GenericVisibility: Enemy, Ally, Neutral
GenericStancePrefix: false
ShowOwnerRow: false
APWR: APWR:
Buildable: Buildable:
Prerequisites: ~disabled Prerequisites: ~disabled

View File

@@ -38,6 +38,8 @@
Guard: Guard:
Guardable: Guardable:
BodyOrientation: BodyOrientation:
Tooltip:
GenericName: Vehicle
EjectOnDeath: EjectOnDeath:
PilotActor: e1 PilotActor: e1
SuccessRate: 20 SuccessRate: 20
@@ -101,6 +103,8 @@
Guard: Guard:
Guardable: Guardable:
BodyOrientation: BodyOrientation:
Tooltip:
GenericName: Tank
EjectOnDeath: EjectOnDeath:
PilotActor: e1 PilotActor: e1
SuccessRate: 20 SuccessRate: 20
@@ -171,6 +175,8 @@
Guard: Guard:
Guardable: Guardable:
BodyOrientation: BodyOrientation:
Tooltip:
GenericName: Soldier
SelfHealing@HOSPITAL: SelfHealing@HOSPITAL:
Step: 5 Step: 5
Ticks: 100 Ticks: 100
@@ -237,6 +243,8 @@
Guard: Guard:
Guardable: Guardable:
BodyOrientation: BodyOrientation:
Tooltip:
GenericName: Ship
Huntable: Huntable:
LuaScriptEvents: LuaScriptEvents:
ScriptTriggers: ScriptTriggers:
@@ -280,6 +288,8 @@
UpdatesPlayerStatistics: UpdatesPlayerStatistics:
CombatDebugOverlay: CombatDebugOverlay:
BodyOrientation: BodyOrientation:
Tooltip:
GenericName: Plane
Huntable: Huntable:
LuaScriptEvents: LuaScriptEvents:
ScriptTriggers: ScriptTriggers:
@@ -293,6 +303,8 @@
^Helicopter: ^Helicopter:
Inherits: ^Plane Inherits: ^Plane
Tooltip:
GenericName: Helicopter
GpsDot: GpsDot:
String: Helicopter String: Helicopter
@@ -339,6 +351,8 @@
Range: 3 Range: 3
BodyOrientation: BodyOrientation:
FrozenUnderFog: FrozenUnderFog:
Tooltip:
GenericName: Structure
GpsDot: GpsDot:
String: Structure String: Structure
Huntable: Huntable:
@@ -400,6 +414,7 @@
Type: Wood Type: Wood
Tooltip: Tooltip:
Name: Civilian Building Name: Civilian Building
GenericVisibility: None
ProximityCaptor: ProximityCaptor:
Types: CivilianBuilding Types: CivilianBuilding
-WithMakeAnimation: -WithMakeAnimation:
@@ -438,6 +453,7 @@
Cost: 70 Cost: 70
Tooltip: Tooltip:
Name: Civilian Name: Civilian
GenericVisibility: None
Health: Health:
HP: 20 HP: 20
Mobile: Mobile:
@@ -517,6 +533,8 @@
TargetableUnit: TargetableUnit:
TargetTypes: Ground TargetTypes: Ground
RequiresForceFire: true RequiresForceFire: true
Tooltip:
GenericName: Destroyed Vehicle
AutoTargetIgnore: AutoTargetIgnore:
Capturable: Capturable:
Type: husk Type: husk

View File

@@ -245,6 +245,7 @@ HARV:
Cost: 1100 Cost: 1100
Tooltip: Tooltip:
Name: Ore Truck Name: Ore Truck
GenericName: Harvester
Description: Collects Ore and Gems for processing.\n Unarmed Description: Collects Ore and Gems for processing.\n Unarmed
Selectable: Selectable:
Priority: 7 Priority: 7