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

@@ -178,4 +178,5 @@ HQ:
MaxMoveDelay: 1000
ActorLostNotification:
Notification: CivilianKilled
TextNotification: Civilian killed.
NotifyAll: true

View File

@@ -68,6 +68,10 @@ airstrike.proxy:
SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower
IncomingSpeechNotification: EnemyPlanesApproaching
EndChargeTextNotification: Airstrike ready.
SelectTargetTextNotification: Select target.
InsufficientPowerTextNotification: Insufficient power.
IncomingTextNotification: Enemy planes approaching.
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike

View File

@@ -48,6 +48,7 @@
^GainsExperience:
GainsExperience:
LevelUpNotification: LevelUp
LevelUpTextNotification: Unit promoted.
Conditions:
250: rank-veteran
500: rank-veteran
@@ -245,6 +246,7 @@
Passenger:
CargoType: Vehicle
ActorLostNotification:
TextNotification: Unit lost.
HiddenUnderFog:
AttackMove:
WithDamageOverlay:
@@ -303,6 +305,7 @@
HiddenUnderFog:
Type: GroundPosition
ActorLostNotification:
TextNotification: Unit lost.
Explodes:
Weapon: HeliExplode
EmptyWeapon: HeliExplode
@@ -387,6 +390,7 @@
Margin: 5, 6
RequiresCondition: hazmatsuits
ActorLostNotification:
TextNotification: Unit lost.
SpawnActorOnDeath:
Probability: 5
Actor: vice
@@ -629,6 +633,7 @@
Type: GroundPosition
AlwaysVisibleRelationships: None
ActorLostNotification:
TextNotification: Unit lost.
AttackMove:
WithShadow:
Offset: 43, 128, 0
@@ -652,6 +657,7 @@
TargetTypes: Ground, Water
HiddenUnderFog:
ActorLostNotification:
TextNotification: Unit lost.
AttackMove:
WithDamageOverlay:
Explodes:
@@ -697,9 +703,11 @@
EmptyWeapon: BuildingExplode
CaptureNotification:
Notification: BuildingCaptured
TextNotification: Building captured.
NewOwnerVoice: false
ActorLostNotification:
Notification: BuildingLost
TextNotification: Structure lost.
ShakeOnDeath:
Guardable:
Range: 3c0
@@ -791,6 +799,7 @@
Types: building
CaptureNotification:
Notification: CivilianBuildingCaptured
TextNotification: Civilian building captured.
RepairableBuilding:
RepairPercent: 40
RepairStep: 1400

View File

@@ -271,6 +271,7 @@ PVICE:
UpdatesPlayerStatistics:
AddToArmyValue: true
ActorLostNotification:
TextNotification: Unit lost.
STEG:
Inherits: ^DINO

View File

@@ -14,6 +14,8 @@ Player:
PlaceBuilding:
NewOptionsNotification: NewOptions
CannotPlaceNotification: BuildingCannotPlaceAudio
NewOptionsTextNotification: New construction options.
CannotPlaceTextNotification: Cannot deploy here.
TechTree:
SupportPowerManager:
ScriptTriggers:
@@ -24,6 +26,7 @@ Player:
ConquestVictoryConditions:
PowerManager:
SpeechNotification: LowPower
TextNotification: Low power.
AllyRepair:
PlayerResources:
CashTickUpNotification: CashTickUp
@@ -33,6 +36,8 @@ Player:
DeveloperMode:
CheckboxDisplayOrder: 9
BaseAttackNotifier:
TextNotification: Base under attack.
AllyTextNotification: Our ally is under attack.
Shroud:
FogCheckboxDisplayOrder: 3
LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY:
@@ -70,6 +75,7 @@ Player:
Id: unrestricted
GrantConditionOnPrerequisiteManager:
ResourceStorageWarning:
TextNotification: Silos needed.
PlayerExperience:
GameSaveViewportManager:
PlayerRadarTerrain:

View File

@@ -49,8 +49,11 @@ FACT:
Group: Building
LowPowerModifier: 150
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
@@ -61,8 +64,11 @@ FACT:
Group: Building
LowPowerModifier: 150
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
@@ -73,8 +79,11 @@ FACT:
Group: Defence
LowPowerModifier: 150
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
@@ -85,8 +94,11 @@ FACT:
Group: Defence
LowPowerModifier: 150
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
@@ -334,8 +346,11 @@ PYLE:
Group: Infantry
LowPowerModifier: 150
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
@@ -389,8 +404,11 @@ HAND:
Group: Infantry
LowPowerModifier: 150
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
@@ -438,6 +456,7 @@ AFLD:
ProductionAirdrop:
Produces: Vehicle.Nod
ActorType: c17
ReadyTextNotification: Reinforcements have arrived.
WithBuildingBib:
WithIdleOverlay@DISH:
RequiresCondition: !build-incomplete
@@ -450,7 +469,9 @@ AFLD:
Group: Vehicle
LowPowerModifier: 150
BlockedAudio: NoBuild
BlockedTextNotification: Unable to build more.
LimitedAudio: BuildingInProgress
LimitedTextNotification: Unable to comply. Building in progress.
QueuedAudio: Training
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -507,8 +528,11 @@ WEAP:
Group: Vehicle
LowPowerModifier: 150
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
@@ -556,6 +580,7 @@ HPAD:
HpPerStep: 1000
PlayerExperience: 25
StartRepairingNotification: Repairing
StartRepairingTextNotification: Repairing.
WithResupplyAnimation:
RequiresCondition: !build-incomplete
RallyPoint:
@@ -566,8 +591,11 @@ HPAD:
Group: Aircraft
LowPowerModifier: 150
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
@@ -578,8 +606,11 @@ HPAD:
Group: Aircraft
LowPowerModifier: 150
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
@@ -643,6 +674,10 @@ HQ:
SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower
IncomingSpeechNotification: EnemyPlanesApproaching
EndChargeTextNotification: Airstrike ready.
SelectTargetTextNotification: Select target.
InsufficientPowerTextNotification: Insufficient power.
IncomingTextNotification: Enemy planes approaching.
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike
@@ -694,6 +729,7 @@ FIX:
Interval: 15
PlayerExperience: 25
StartRepairingNotification: Repairing
StartRepairingTextNotification: Repairing.
RallyPoint:
Power:
Amount: -20
@@ -750,6 +786,10 @@ EYE:
EndChargeSpeechNotification: IonCannonReady
SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower
BeginChargeTextNotification: Ion cannon charging.
EndChargeTextNotification: Ion cannon ready.
SelectTargetTextNotification: Select target.
InsufficientPowerTextNotification: Insufficient power.
OnFireSound: ion1.aud
DisplayRadarPing: True
CameraActor: camera.small
@@ -805,6 +845,11 @@ TMPL:
InsufficientPowerSpeechNotification: InsufficientPower
LaunchSpeechNotification: NuclearWeaponLaunched
IncomingSpeechNotification: NuclearWarheadApproaching
SelectTargetTextNotification: Select target.
EndChargeTextNotification: Nuclear weapon available.
InsufficientPowerTextNotification: Insufficient power.
LaunchTextNotification: Nuclear weapon launched.
IncomingTextNotification: Nuclear warhead approaching.
MissileWeapon: atomic
MissileImage: atomic
MissileDelay: 11

View File

@@ -29,6 +29,7 @@ MCV:
Facing: 432
TransformSounds: constru2.aud, hvydoor1.aud
NoTransformNotification: BuildingCannotPlaceAudio
NoTransformTextNotification: Cannot deploy here.
Voice: Unload
MustBeDestroyed:
RequiredForShortGame: true
@@ -75,6 +76,7 @@ HARV:
Range: 4c0
ActorLostNotification:
Notification: HarvesterLost
TextNotification: Harvester lost.
SpawnActorOnDeath:
Actor: HARV.Husk
OwnerType: InternalName