Skip to content

Commit

Permalink
Implement Enemy <Hero> Detected notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR committed Aug 20, 2024
1 parent 8df0fe9 commit 453c8aa
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mods/gen/audio/notifications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,12 @@ Speech:
HijackerCreated: ihijsef

BurtonCreated: icolsei
EnemyBurtonDetected: ecolbd
JarmenCreated: ijarsec
EnemyJarmenDetected: ejarmd
DemoJarmenCreated: ijadseb
LotusCreated: iblasef
EnemyLotusDetected: eblacd

USAMCCCreated: vdousej
PRCMCCCreated: vdocsef
Expand Down Expand Up @@ -292,7 +295,7 @@ Sounds:
RadarUp: radaron2
RadarDown: radardn1
CashTickUp: cashup1
CashTickDown:cashdn1
CashTickDown: cashdn1
LevelUp: hydrod1
DisablePower: bleep11
EnablePower: bleep12
Expand Down
Binary file added mods/gen/bits/audio/speech/eceblacd.aud
Binary file not shown.
Binary file added mods/gen/bits/audio/speech/ececolbd.aud
Binary file not shown.
Binary file added mods/gen/bits/audio/speech/ecejarmd.aud
Binary file not shown.
Binary file added mods/gen/bits/audio/speech/egeblacd.aud
Binary file not shown.
Binary file added mods/gen/bits/audio/speech/egecolbd.aud
Binary file not shown.
Binary file added mods/gen/bits/audio/speech/egejarmd.aud
Binary file not shown.
Binary file added mods/gen/bits/audio/speech/eueblacd.aud
Binary file not shown.
Binary file added mods/gen/bits/audio/speech/euecolbd.aud
Binary file not shown.
Binary file added mods/gen/bits/audio/speech/euejarmd.aud
Binary file not shown.
1 change: 1 addition & 0 deletions mods/gen/languages/rules/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ resource-minerals = Valuable Minerals
## Defaults
notification-unit-lost = Unit lost.
notification-building-being-captured = One of our buildings is being captured.
notification-enemy-stealth-unit-detected = Enemy stealth unit detected.
## ai.yaml
bot-easy-ai-name = Easy AI
Expand Down
12 changes: 12 additions & 0 deletions mods/gen/rules/infantry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2044,6 +2044,10 @@ infantry.colonel_burton:
Prerequisite: prerequisite.enough_colonel_burton
RenderSprites:
Image: infantry.colonel_burton
AnnounceOnSeen:
PingRadar: true
Notification: EnemyBurtonDetected
TextNotification: notification-enemy-stealth-unit-detected
Voiced:
VoiceSet: BurtonVoice
ActorStatValues:
Expand Down Expand Up @@ -2163,6 +2167,10 @@ infantry.jarmen_kell:
CargoType: GLAInfantry
Garrisoner:
Voice: Garrison
AnnounceOnSeen:
PingRadar: true
Notification: EnemyJarmenDetected
TextNotification: notification-enemy-stealth-unit-detected
Voiced:
VoiceSet: JarmenVoice
RenderSprites:
Expand Down Expand Up @@ -2413,6 +2421,10 @@ infantry.black_lotus:
WithProductionIconOverlay@Merged:
Types: Veterancy2
Prerequisites: prerequisite.mergegenerals
AnnounceOnSeen:
PingRadar: true
Notification: EnemyLotusDetected
TextNotification: notification-enemy-stealth-unit-detected
Voiced:
VoiceSet: LotusVoice
ActorStatValues:
Expand Down

0 comments on commit 453c8aa

Please sign in to comment.