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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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