Enable player experience tracking in mod rules

This commit is contained in:
Oliver Brakmann
2016-06-18 13:45:19 +02:00
parent dab7276601
commit d292f15cc2
20 changed files with 38 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
UpdatesPlayerStatistics:
CombatDebugOverlay:
GivesExperience:
PlayerExperienceModifier: 1
ScriptTriggers:
UpgradeManager:
Huntable:
@@ -515,6 +516,7 @@
RepairableBuilding:
RepairPercent: 40
RepairStep: 14
PlayerExperience: 15
WithDeathAnimation:
DeathSequence: dead
UseDeathTypeSuffix: false
@@ -560,6 +562,7 @@
RepairableBuilding:
RepairPercent: 40
RepairStep: 14
PlayerExperience: 15
EngineerRepairable:
RevealsShroud:
Range: 3c0

View File

@@ -146,6 +146,7 @@ E6:
RepairsBridges:
Captures:
CaptureTypes: building, husk
PlayerExperience: 50
-AutoTarget:
-GainsExperience:

View File

@@ -34,3 +34,4 @@ Player:
Id: unrestricted
GlobalUpgradeManager:
ResourceStorageWarning:
PlayerExperience:

View File

@@ -425,6 +425,7 @@ HPAD:
Produces: Aircraft.GDI, Aircraft.Nod
Reservable:
RepairsUnits:
PlayerExperience: 25
WithRepairAnimation:
RallyPoint:
ProductionQueue@GDI:
@@ -532,6 +533,7 @@ FIX:
Reservable:
RepairsUnits:
Interval: 15
PlayerExperience: 25
RallyPoint:
WithRepairAnimation:
Power:

View File

@@ -3,6 +3,7 @@
UpdatesPlayerStatistics:
CombatDebugOverlay:
GivesExperience:
PlayerExperienceModifier: 1
ScriptTriggers:
UpgradeManager:
Huntable:
@@ -262,6 +263,7 @@
WithBuildingExplosion:
Sequences: building, self_destruct, large_explosion
RepairableBuilding:
PlayerExperience: 25
EmitInfantryOnSell:
ActorTypes: light_inf
MustBeDestroyed:

View File

@@ -44,6 +44,7 @@ engineer:
EngineerRepair:
Captures:
CaptureTypes: building, husk
PlayerExperience: 50
-AutoTarget:
Voiced:
VoiceSet: EngineerVoice

View File

@@ -91,3 +91,4 @@ Player:
GlobalUpgradeManager:
ResourceStorageWarning:
AdviceInterval: 26
PlayerExperience:

View File

@@ -769,6 +769,7 @@ repair_pad:
Interval: 10
HpPerStep: 80
FinishRepairingNotification: UnitRepaired
PlayerExperience: 15
RallyPoint:
Offset: 1,3
RenderSprites:

View File

@@ -33,6 +33,8 @@ BADR:
Interval: 2
-EjectOnDeath:
RejectsOrders:
GivesExperience:
Experience: 1000
BADR.Bomber:
Inherits: ^Plane
@@ -72,6 +74,8 @@ BADR.Bomber:
RejectsOrders:
RenderSprites:
Image: badr
GivesExperience:
Experience: 1000
MIG:
Inherits: ^Plane

View File

@@ -2,6 +2,7 @@
AppearsOnRadar:
CombatDebugOverlay:
GivesExperience:
PlayerExperienceModifier: 1
ScriptTriggers:
UpgradeManager:
Huntable:
@@ -449,6 +450,7 @@
UpdatesPlayerStatistics:
GivesBuildableArea:
RepairableBuilding:
PlayerExperience: 25
EngineerRepairable:
AcceptsSupplies:
WithMakeAnimation:

View File

@@ -179,6 +179,7 @@ E6:
RepairsBridges:
ExternalCaptures:
Type: building
PlayerExperience: 25
-AutoTarget:
Voiced:
VoiceSet: EngineerVoice
@@ -209,6 +210,7 @@ SPY:
Voice: Move
Infiltrates:
Types: SpyInfiltrate
PlayerExperience: 50
-AutoTarget:
-WithInfantryBody:
WithDisguisingInfantryBody:
@@ -240,6 +242,8 @@ SPY.England:
Prerequisites: ~infantry.england, dome, ~tent, ~techlevel.medium
Valued:
Cost: 250
GivesExperience:
Experience: 500
DisguiseToolTip:
Name: British Spy
RenderSprites:
@@ -354,6 +358,7 @@ MECH:
Voice: Move
Captures:
CaptureTypes: husk
PlayerExperience: 25
WithInfantryBody:
AttackSequence: repair
StandSequences: stand
@@ -424,6 +429,7 @@ THF:
PipType: Yellow
Infiltrates:
InfiltrateTypes: Cash
PlayerExperience: 50
-AutoTarget:
Voiced:
VoiceSet: ThiefVoice
@@ -451,6 +457,7 @@ HIJACKER:
PipType: Yellow
Captures:
CaptureTypes: vehicle
PlayerExperience: 50
-AutoTarget:
Voiced:
VoiceSet: ThiefVoice

View File

@@ -81,3 +81,4 @@ Player:
Image: iconchevrons
Sequence: veteran
ResourceStorageWarning:
PlayerExperience:

View File

@@ -136,6 +136,7 @@ SPEN:
-EmitInfantryOnSell:
RepairsUnits:
FinishRepairingNotification: UnitRepaired
PlayerExperience: 15
RallyPoint:
ProductionBar:
Power:
@@ -225,6 +226,7 @@ SYRD:
-EmitInfantryOnSell:
RepairsUnits:
FinishRepairingNotification: UnitRepaired
PlayerExperience: 15
RallyPoint:
ProductionBar:
Power:
@@ -1569,6 +1571,7 @@ FIX:
RepairsUnits:
Interval: 10
FinishRepairingNotification: UnitRepaired
PlayerExperience: 15
WithRepairAnimation:
Power:
Amount: -30

View File

@@ -488,6 +488,7 @@ TRUK:
Range: 4c0
SupplyTruck:
Payload: 500
PlayerExperience: 50
SpawnActorOnDeath:
Actor: moneycrate

View File

@@ -3,6 +3,7 @@
UpdatesPlayerStatistics:
CombatDebugOverlay:
GivesExperience:
PlayerExperienceModifier: 1
ScriptTriggers:
UpgradeManager:
Huntable:
@@ -125,6 +126,7 @@
Capturable:
RepairableBuilding:
IndicatorPalette: mouse
PlayerExperience: 25
WithDeathAnimation:
DeathSequence: dead
UseDeathTypeSuffix: false

View File

@@ -210,6 +210,7 @@ GAHPAD:
PrimaryBuilding:
Reservable:
RepairsUnits:
PlayerExperience: 15
ProductionBar:
WithIdleOverlay@PLATFORM:
Sequence: idle-platform
@@ -256,6 +257,7 @@ GADEPT:
Range: 5c0
Reservable:
RepairsUnits:
PlayerExperience: 15
RallyPoint:
Palette: mouse
IsPlayerPalette: false

View File

@@ -117,6 +117,7 @@ MHIJACK:
-Crushable:
Captures:
CaptureTypes: Vehicle
PlayerExperience: 50
RevealsShroud:
Range: 6c0
-AutoTarget:

View File

@@ -215,6 +215,7 @@ NAHPAD:
PrimaryBuilding:
Reservable:
RepairsUnits:
PlayerExperience: 15
ProductionBar:
WithIdleOverlay@PLATFORM:
Sequence: idle-platform

View File

@@ -52,3 +52,4 @@ Player:
PlayerStatistics:
PlaceSimpleBeacon:
ResourceStorageWarning:
PlayerExperience:

View File

@@ -58,6 +58,7 @@ ENGINEER:
RepairNotification: BridgeRepaired
Captures:
CaptureTypes: building
PlayerExperience: 50
-AutoTarget:
-GainsExperience:
RenderSprites: