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

@@ -113,6 +113,7 @@ sandworm:
IgnoresCloak:
AnnounceOnSeen:
Notification: WormSign
TextNotification: Worm sign.
PingRadar: True
RevealsShroud:
Range: 5c0

View File

@@ -15,6 +15,7 @@
^GainsExperience:
GainsExperience:
LevelUpNotification: LevelUp
LevelUpTextNotification: Unit promoted.
Conditions:
200: rank-veteran
400: rank-veteran
@@ -212,6 +213,7 @@
AttackMove:
HiddenUnderFog:
ActorLostNotification:
TextNotification: Unit lost.
Repairable:
RepairActors: repair_pad
Guard:
@@ -352,6 +354,7 @@
CargoType: Infantry
HiddenUnderFog:
ActorLostNotification:
TextNotification: Unit lost.
Crushable:
CrushSound: CRUSH1.WAV
Guard:
@@ -393,6 +396,7 @@
Type: GroundPosition
AlwaysVisibleRelationships: None
ActorLostNotification:
TextNotification: Unit lost.
AttackMove:
WithFacingSpriteBody:
WithShadow:
@@ -455,8 +459,11 @@
RequiredForShortGame: true
FrozenUnderFog:
CaptureNotification:
TextNotification: Enemy building captured.
LoseTextNotification: One of our buildings has been captured.
ActorLostNotification:
Notification: BuildingLost
TextNotification: Building lost.
ShakeOnDeath:
Demolishable:
Condition: being-demolished
@@ -600,6 +607,7 @@
PrimaryCondition: primary
ProductionQueues: Building
SelectionNotification: PrimaryBuildingSelected
SelectionTextNotification: Primary building selected.
WithTextDecoration@primary:
RequiresCondition: primary
Position: Top

View File

@@ -16,7 +16,9 @@ Player:
DisplayOrder: 0
LowPowerModifier: 300
ReadyAudio: BuildingReady
ReadyTextNotification: Construction complete.
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -27,7 +29,9 @@ Player:
DisplayOrder: 1
LowPowerModifier: 300
ReadyAudio: UnitReady
ReadyTextNotification: Unit ready.
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
QueuedAudio: Training
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -38,7 +42,9 @@ Player:
DisplayOrder: 2
LowPowerModifier: 300
ReadyAudio: UnitReady
ReadyTextNotification: Unit ready.
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -49,7 +55,9 @@ Player:
DisplayOrder: 3
LowPowerModifier: 300
ReadyAudio: UnitReady
ReadyTextNotification: Unit ready.
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -60,6 +68,7 @@ Player:
DisplayOrder: 4
BuildDurationModifier: 212
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
QueuedAudio: OrderPlaced
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -68,7 +77,9 @@ Player:
DisplayOrder: 5
LowPowerModifier: 300
ReadyAudio: UnitReady
ReadyTextNotification: Unit ready.
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
QueuedAudio: Building
OnHoldAudio: OnHold
CancelledAudio: Cancelled
@@ -77,13 +88,17 @@ Player:
ClassicProductionQueue@Upgrade: # Upgrade is defined after others so it won't be automatically selected by ProductionQueueFromSelection.
Type: Upgrade
ReadyAudio: NewOptions
ReadyTextNotification: New construction options.
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
QueuedAudio: Upgrading
OnHoldAudio: OnHold
CancelledAudio: Cancelled
PlaceBuilding:
NewOptionsNotification: NewOptions
CannotPlaceNotification: BuildingCannotPlaceAudio
NewOptionsTextNotification: New construction options.
CannotPlaceTextNotification: Cannot build here.
SupportPowerManager:
ScriptTriggers:
MissionObjectives:
@@ -94,15 +109,19 @@ Player:
PowerManager:
AdviceInterval: 26000
SpeechNotification: LowPower
TextNotification: Low power.
AllyRepair:
PlayerResources:
SelectableCash: 2500, 5000, 7000, 10000, 20000
InsufficientFundsNotification: InsufficientFunds
InsufficientFundsTextNotification: Insufficient funds.
CashTickUpNotification: CashTickUp
CashTickDownNotification: CashTickDown
DeveloperMode:
CheckboxDisplayOrder: 8
BaseAttackNotifier:
TextNotification: Base under attack.
AllyTextNotification: Our ally is under attack.
Shroud:
FogCheckboxDisplayOrder: 3
LobbyPrerequisiteCheckbox@AUTOCONCRETE:
@@ -114,6 +133,7 @@ Player:
Prerequisites: global-auto-concrete
FrozenActorLayer:
HarvesterAttackNotifier:
TextNotification: Harvester under attack.
PlayerStatistics:
PlaceBeacon:
ProvidesPrerequisite@atreides:
@@ -158,6 +178,7 @@ Player:
GrantConditionOnPrerequisiteManager:
ResourceStorageWarning:
AdviceInterval: 26000
TextNotification: Silos needed.
PlayerExperience:
GameSaveViewportManager:
PlayerRadarTerrain:

View File

@@ -608,6 +608,7 @@ starport:
ProductionAirdrop:
Produces: Starport
ActorType: frigate
ReadyTextNotification: Reinforcements have arrived.
RenderSprites:
Image: starport.ordos
FactionImages:
@@ -836,7 +837,9 @@ repair_pad:
Interval: 10
HpPerStep: 800
StartRepairingNotification: Repairing
StartRepairingTextNotification: Repairing.
FinishRepairingNotification: UnitRepaired
FinishRepairingTextNotification: Unit repaired.
PlayerExperience: 15
RallyPoint:
RenderSprites:
@@ -929,6 +932,8 @@ high_tech_factory:
ArrowSequence: arrow
CircleSequence: circles
SupportPowerPaletteOrder: 10
EndChargeTextNotification: Airstrike ready.
SelectTargetTextNotification: Select target.
Power:
Amount: -75
GrantConditionOnPrerequisite@UPGRADEABLE:
@@ -1065,6 +1070,10 @@ palace:
BeginChargeSpeechNotification: DeathHandMissilePrepping
EndChargeSpeechNotification: DeathHandMissileReady
IncomingSpeechNotification: MissileLaunchDetected
BeginChargeTextNotification: Death Hand missile prepping.
EndChargeTextNotification: Death Hand missile ready.
IncomingTextNotification: Missile launch detected.
SelectTargetTextNotification: Select target.
MissileWeapon: deathhand
MissileImage: deathhand
MissileDelay: 18
@@ -1091,8 +1100,11 @@ palace:
Actors: fremen, fremen
Type: Fremen
ChargeInterval: 2250
EndChargeTextNotification: Fremen ready.
ReadyAudio: Reinforce
ReadyTextNotification: Reinforcements have arrived.
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
OrderName: ProduceActorPower.Fremen
SupportPowerPaletteOrder: 20
ProduceActorPower@saboteur:
@@ -1105,8 +1117,11 @@ palace:
Actors: saboteur
Type: Saboteur
ChargeInterval: 2250
EndChargeTextNotification: Saboteur ready.
ReadyAudio: Reinforce
ReadyTextNotification: Reinforcements have arrived.
BlockedAudio: NoRoom
BlockedTextNotification: No room for new unit.
OrderName: ProduceActorPower.Saboteur
SupportPowerPaletteOrder: 30
Exit@1:

View File

@@ -35,6 +35,7 @@ mcv:
Offset: -1,-1
TransformSounds: BUILD1.WAV
NoTransformNotification: CannotDeploy
NoTransformTextNotification: Cannot deploy here.
SpawnActorOnDeath:
Actor: mcv.husk
OwnerType: InternalName