Add text notifications to many in-game events

This commit is contained in:
Ivaylo Draganov
2022-02-11 13:15:12 +02:00
committed by Paul Chote
parent ea0bcbd1cc
commit bc676fbf78
30 changed files with 245 additions and 3 deletions

View File

@@ -97,9 +97,14 @@ Player:
Name: Invulnerability
Description: Makes a unit invulnerable\nfor 3 seconds.
Duration: 75
SelectTargetSound: slcttgt1.aud
BeginChargeSound: ironchg1.aud
EndChargeSound: ironrdy1.aud
SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower
BeginChargeSpeechNotification: IronCurtainCharging
EndChargeSpeechNotification: IronCurtainReady
SelectTargetTextNotification: Select target.
InsufficientPowerTextNotification: Insufficient power.
BeginChargeTextNotification: Iron curtain charging.
EndChargeTextNotification: Iron curtain ready.
Condition: invulnerability
Sequence: idle
OnFireSound: ironcur9.aud

View File

@@ -164,6 +164,7 @@ MOBILETENT:
Facing: 384
TransformSounds: placbldg.aud, build5.aud
NoTransformNotification: BuildingCannotPlaceAudio
NoTransformTextNotification: Cannot deploy here.
RenderSprites:
Image: TRUK

View File

@@ -59,6 +59,8 @@ powerproxy.spyplane:
OneShot: true
SelectTargetSpeechNotification: SelectTarget
EndChargeSpeechNotification: SpyPlaneReady
SelectTargetTextNotification: Select target.
EndChargeTextNotification: Spy plane ready.
CameraActor: camera.spyplane
CameraRemoveDelay: 150
UnitType: u2

View File

@@ -47,6 +47,7 @@
^GainsExperience:
GainsExperience:
LevelUpNotification: LevelUp
LevelUpTextNotification: Unit promoted.
Conditions:
200: rank-veteran
400: rank-veteran
@@ -267,6 +268,7 @@
AttackMove:
HiddenUnderFog:
ActorLostNotification:
TextNotification: Unit lost.
ProximityCaptor:
Types: Vehicle
GpsDot:
@@ -283,7 +285,9 @@
CancelActivity: True
CaptureNotification:
Notification: UnitStolen
TextNotification: Unit stolen.
LoseNotification: UnitLost
LoseTextNotification: Unit lost.
MustBeDestroyed:
Voiced:
VoiceSet: VehicleVoice
@@ -367,6 +371,7 @@
RequiresCondition: disable-experience
HiddenUnderFog:
ActorLostNotification:
TextNotification: Unit lost.
GpsDot:
String: Infantry
Crushable:
@@ -513,6 +518,7 @@
AttackMove:
ActorLostNotification:
Notification: NavalUnitLost
TextNotification: Naval unit lost.
ProximityCaptor:
Types: Ship
Chronoshiftable:
@@ -573,6 +579,7 @@
Guardable:
ActorLostNotification:
Notification: AirUnitLost
TextNotification: Airborne unit lost.
ProximityCaptor:
Types: Plane
EjectOnDeath:
@@ -607,7 +614,9 @@
RequiresCondition: !airborne
CaptureNotification:
Notification: UnitStolen
TextNotification: Unit stolen.
LoseNotification: UnitLost
LoseTextNotification: Unit lost.
^Plane:
Inherits: ^NeutralPlane
@@ -666,6 +675,7 @@
Weapon: BuildingExplode
EmptyWeapon: BuildingExplode
CaptureNotification:
TextNotification: Structure captured.
ShakeOnDeath:
ProximityCaptor:
Types: Building
@@ -1306,6 +1316,7 @@
PrimaryBuilding:
PrimaryCondition: primary
SelectionNotification: PrimaryBuildingSelected
SelectionTextNotification: Primary building selected.
WithDecoration@primary:
RequiresCondition: primary
Position: Top

View File

@@ -332,6 +332,7 @@ SPY:
Infiltrates:
Types: SpyInfiltrate
Notification: BuildingInfiltrated
TextNotification: Building infiltrated.
PlayerExperience: 50
AutoTarget:
InitialStance: HoldFire
@@ -625,6 +626,7 @@ THF:
Infiltrates:
Types: ThiefInfiltrate
Notification: BuildingInfiltrated
TextNotification: Building infiltrated.
PlayerExperience: 50
Voiced:
VoiceSet: ThiefVoice

View File

@@ -351,6 +351,7 @@ powerproxy.parabombs:
AllowMultiple: true
UnitType: badr.bomber
SelectTargetSpeechNotification: SelectTarget
SelectTargetTextNotification: Select target.
QuantizedFacings: 8
DisplayBeacon: True
BeaconPoster: pbmbicon
@@ -369,6 +370,8 @@ powerproxy.sonarpulse:
ChargeInterval: 750
EndChargeSpeechNotification: SonarPulseReady
SelectTargetSpeechNotification: SelectTarget
EndChargeTextNotification: Sonar pulse ready.
SelectTargetTextNotification: Select target.
Actor: sonar
Terrain: Water
AllowUnderShroud: false
@@ -387,6 +390,7 @@ powerproxy.paratroopers:
Description: A Badger drops a squad of infantry\nanywhere on the map.
DropItems: E1,E1,E1,E3,E3
SelectTargetSpeechNotification: SelectTarget
SelectTargetTextNotification: Select target.
AllowImpassableCells: false
QuantizedFacings: 8
CameraActor: camera.paradrop

View File

@@ -17,8 +17,11 @@ Player:
DisplayOrder: 0
LowPowerModifier: 300
ReadyAudio: ConstructionComplete
ReadyTextNotification: Construction complete.
BlockedAudio: NoBuild
BlockedTextNotification: Unable to build more.
LimitedAudio: BuildingInProgress
LimitedTextNotification: Unable to comply. Building in progress.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -28,8 +31,11 @@ Player:
DisplayOrder: 1
LowPowerModifier: 300
ReadyAudio: ConstructionComplete
ReadyTextNotification: Construction complete.
BlockedAudio: NoBuild
BlockedTextNotification: Unable to build more.
LimitedAudio: BuildingInProgress
LimitedTextNotification: Unable to comply. Building in progress.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -39,8 +45,11 @@ Player:
DisplayOrder: 3
LowPowerModifier: 300
ReadyAudio: UnitReady
ReadyTextNotification: Unit ready.
BlockedAudio: NoBuild
BlockedTextNotification: Unable to build more.
LimitedAudio: BuildingInProgress
LimitedTextNotification: Unable to comply. Building in progress.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -51,8 +60,11 @@ Player:
DisplayOrder: 2
LowPowerModifier: 300
ReadyAudio: UnitReady
ReadyTextNotification: Unit ready.
BlockedAudio: NoBuild
BlockedTextNotification: Unable to build more.
LimitedAudio: BuildingInProgress
LimitedTextNotification: Unable to comply. Building in progress.
QueuedAudio: Training
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -62,8 +74,11 @@ Player:
DisplayOrder: 5
LowPowerModifier: 300
ReadyAudio: UnitReady
ReadyTextNotification: Unit ready.
BlockedAudio: NoBuild
BlockedTextNotification: Unable to build more.
LimitedAudio: BuildingInProgress
LimitedTextNotification: Unable to comply. Building in progress.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -73,8 +88,11 @@ Player:
DisplayOrder: 4
LowPowerModifier: 300
ReadyAudio: UnitReady
ReadyTextNotification: Unit ready.
BlockedAudio: NoBuild
BlockedTextNotification: Unable to build more.
LimitedAudio: BuildingInProgress
LimitedTextNotification: Unable to comply. Building in progress.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -82,6 +100,8 @@ Player:
PlaceBuilding:
NewOptionsNotification: NewOptions
CannotPlaceNotification: BuildingCannotPlaceAudio
NewOptionsTextNotification: New construction options.
CannotPlaceTextNotification: Cannot deploy here.
SupportPowerManager:
ScriptTriggers:
MissionObjectives:
@@ -91,9 +111,11 @@ Player:
ConquestVictoryConditions:
PowerManager:
SpeechNotification: LowPower
TextNotification: Low power.
AllyRepair:
PlayerResources:
InsufficientFundsNotification: InsufficientFunds
InsufficientFundsTextNotification: Insufficient funds.
CashTickUpNotification: CashTickUp
CashTickDownNotification: CashTickDown
DeveloperMode:
@@ -124,6 +146,8 @@ Player:
Prerequisites: global-reusable-engineers
FrozenActorLayer:
BaseAttackNotifier:
TextNotification: Base under attack.
AllyTextNotification: Our ally is under attack.
PlayerStatistics:
PlaceBeacon:
ProvidesTechPrerequisite@infonly:
@@ -152,6 +176,7 @@ Player:
Image: iconchevrons
Sequence: veteran
ResourceStorageWarning:
TextNotification: Silos needed.
PlayerExperience:
GameSaveViewportManager:
PlayerRadarTerrain:

View File

@@ -44,6 +44,11 @@ MSLO:
SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower
IncomingSpeechNotification: AbombLaunchDetected
SelectTargetTextNotification: Select target.
InsufficientPowerTextNotification: Insufficient power.
BeginChargeTextNotification: A-bomb prepping.
EndChargeTextNotification: A-bomb ready.
IncomingTextNotification: A-bomb launch detected.
MissileWeapon: atomic
MissileImage: atomic
MissileDelay: 5
@@ -206,7 +211,9 @@ SPEN:
RepairsUnits:
HpPerStep: 1000
StartRepairingNotification: Repairing
StartRepairingTextNotification: Repairing.
FinishRepairingNotification: UnitRepaired
FinishRepairingTextNotification: Unit repaired.
PlayerExperience: 15
RallyPoint:
ForceSetType: Ship
@@ -321,7 +328,9 @@ SYRD:
RepairsUnits:
HpPerStep: 1000
StartRepairingNotification: Repairing
StartRepairingTextNotification: Repairing.
FinishRepairingNotification: UnitRepaired
FinishRepairingTextNotification: Unit repaired.
PlayerExperience: 15
RallyPoint:
ForceSetType: Ship
@@ -425,6 +434,10 @@ IRON:
InsufficientPowerSpeechNotification: InsufficientPower
BeginChargeSpeechNotification: IronCurtainCharging
EndChargeSpeechNotification: IronCurtainReady
SelectTargetTextNotification: Select target.
InsufficientPowerTextNotification: Insufficient power.
BeginChargeTextNotification: Iron curtain charging.
EndChargeTextNotification: Iron curtain ready.
DisplayRadarPing: True
Condition: invulnerability
OnFireSound: ironcur9.aud
@@ -495,6 +508,10 @@ PDOX:
InsufficientPowerSpeechNotification: InsufficientPower
BeginChargeSpeechNotification: ChronosphereCharging
EndChargeSpeechNotification: ChronosphereReady
SelectTargetTextNotification: Select target.
InsufficientPowerTextNotification: Insufficient power.
BeginChargeTextNotification: Chronosphere charging.
EndChargeTextNotification: Chronosphere ready.
Duration: 400
KillCargo: true
DisplayRadarPing: True
@@ -513,6 +530,10 @@ PDOX:
InsufficientPowerSpeechNotification: InsufficientPower
BeginChargeSpeechNotification: ChronosphereCharging
EndChargeSpeechNotification: ChronosphereReady
SelectTargetTextNotification: Select target.
InsufficientPowerTextNotification: Insufficient power.
BeginChargeTextNotification: Chronosphere charging.
EndChargeTextNotification: Chronosphere ready.
Duration: 400
KillCargo: true
DisplayRadarPing: True
@@ -985,6 +1006,7 @@ ATEK:
Description: Reveals map terrain and provides tactical\ninformation. Requires power and active radar.
RevealDelay: 375
LaunchSpeechNotification: SatelliteLaunched
LaunchTextNotification: Satellite launched.
DisplayTimerRelationships: Ally, Neutral, Enemy
SupportPowerPaletteOrder: 90
SupportPowerChargeBar:
@@ -1264,6 +1286,7 @@ PROC:
Percentage: 50
Types: SpyInfiltrate, ThiefInfiltrate
InfiltratedNotification: CreditsStolen
InfiltratedTextNotification: Credits stolen.
WithBuildingBib:
WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
@@ -1326,6 +1349,7 @@ SILO:
Percentage: 50
Types: ThiefInfiltrate
InfiltratedNotification: CreditsStolen
InfiltratedTextNotification: Credits stolen.
WithBuildingBib:
HasMinibib: true
-WithSpriteBody:
@@ -1506,6 +1530,8 @@ AFLD:
Description: Reveals an area of the map.
SelectTargetSpeechNotification: SelectTarget
EndChargeSpeechNotification: SpyPlaneReady
SelectTargetTextNotification: Select target.
EndChargeTextNotification: Spy plane ready.
CameraActor: camera.spyplane
CameraRemoveDelay: 150
UnitType: u2
@@ -1528,6 +1554,8 @@ AFLD:
DropItems: E1R1,E1R1,E1R1,E3R1,E3R1
ReinforcementsArrivedSpeechNotification: ReinforcementsArrived
SelectTargetSpeechNotification: SelectTarget
ReinforcementsArrivedTextNotification: Reinforcements have arrived.
SelectTargetTextNotification: Select target.
AllowImpassableCells: false
QuantizedFacings: 8
CameraActor: camera.paradrop
@@ -1547,6 +1575,7 @@ AFLD:
Name: Parabombs
Description: A squad of Badgers drop parachuted\nbombs on your target.
SelectTargetSpeechNotification: SelectTarget
SelectTargetTextNotification: Select target.
CameraActor: camera
CameraRemoveDelay: 150
UnitType: badr.bomber
@@ -1989,7 +2018,9 @@ FIX:
HpPerStep: 1000
Interval: 7
StartRepairingNotification: Repairing
StartRepairingTextNotification: Repairing.
FinishRepairingNotification: UnitRepaired
FinishRepairingTextNotification: Unit repaired.
PlayerExperience: 15
WithBuildingBib:
HasMinibib: true

View File

@@ -377,6 +377,7 @@ MCV:
Facing: 384
TransformSounds: placbldg.aud, build5.aud
NoTransformNotification: BuildingCannotPlaceAudio
NoTransformTextNotification: Cannot deploy here.
MustBeDestroyed:
RequiredForShortGame: true
BaseBuilding: