Extract strings from support power name and description.

This commit is contained in:
Matthias Mailänder
2024-04-02 11:58:57 +02:00
committed by Gustas
parent 0c43801a2c
commit 188f0e2451
25 changed files with 174 additions and 68 deletions

View File

@@ -30,8 +30,11 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Palette used for the icon.")] [Desc("Palette used for the icon.")]
public readonly string IconPalette = "chrome"; public readonly string IconPalette = "chrome";
public readonly string Name = ""; [TranslationReference(optional: true)]
public readonly string Description = ""; public readonly string Name = null;
[TranslationReference(optional: true)]
public readonly string Description = null;
[Desc("Allow multiple instances of the same support power.")] [Desc("Allow multiple instances of the same support power.")]
public readonly bool AllowMultiple = false; public readonly bool AllowMultiple = false;
@@ -46,6 +49,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("If set to true, the support power will be fully charged when it becomes available. " + [Desc("If set to true, the support power will be fully charged when it becomes available. " +
"Normal rules apply for subsequent charges.")] "Normal rules apply for subsequent charges.")]
public readonly bool StartFullyCharged = false; public readonly bool StartFullyCharged = false;
public readonly string[] Prerequisites = Array.Empty<string>(); public readonly string[] Prerequisites = Array.Empty<string>();
public readonly string DetectedSound = null; public readonly string DetectedSound = null;

View File

@@ -53,11 +53,11 @@ namespace OpenRA.Mods.Common.Widgets.Logic
if (sp == lastPower && hotkey == lastHotkey && lastRemainingSeconds == remainingSeconds) if (sp == lastPower && hotkey == lastHotkey && lastRemainingSeconds == remainingSeconds)
return; return;
var nameText = sp.Info.Name; var nameText = TranslationProvider.GetString(sp.Info.Name);
nameLabel.GetText = () => nameText; nameLabel.GetText = () => nameText;
var nameSize = nameFont.Measure(nameText); var nameSize = nameFont.Measure(nameText);
var descText = sp.Info.Description.Replace("\\n", "\n"); var descText = TranslationProvider.GetString(sp.Info.Description);
descLabel.GetText = () => descText; descLabel.GetText = () => descText;
var descSize = descFont.Measure(descText); var descSize = descFont.Measure(descText);

View File

@@ -21,8 +21,10 @@ namespace OpenRA.Mods.Common.Widgets
{ {
public class SupportPowerTimerWidget : Widget public class SupportPowerTimerWidget : Widget
{ {
[TranslationReference("player", "support-power", "time")]
const string Format = "support-power-timer";
public readonly string Font = "Bold"; public readonly string Font = "Bold";
public readonly string Format = "{0}'s {1}: {2}";
public readonly TextAlign Align = TextAlign.Left; public readonly TextAlign Align = TextAlign.Left;
public readonly TimerOrder Order = TimerOrder.Descending; public readonly TimerOrder Order = TimerOrder.Descending;
@@ -57,7 +59,9 @@ namespace OpenRA.Mods.Common.Widgets
{ {
var self = p.Instances[0].Self; var self = p.Instances[0].Self;
var time = WidgetUtils.FormatTime(p.RemainingTicks, false, self.World.Timestep); var time = WidgetUtils.FormatTime(p.RemainingTicks, false, self.World.Timestep);
var text = Format.FormatCurrent(self.Owner.PlayerName, p.Info.Name, time); var supportPowerName = TranslationProvider.GetString(p.Info.Name);
var text = TranslationProvider.GetString(Format, Translation.Arguments("player", self.Owner.PlayerName, "support-power", supportPowerName, "time", time));
var playerColor = self.Owner.Color; var playerColor = self.Owner.Color;
if (Game.Settings.Game.UsePlayerStanceColors) if (Game.Settings.Game.UsePlayerStanceColors)

View File

@@ -333,6 +333,9 @@ actor-hq =
.description = Provides radar and Air Strike support power. .description = Provides radar and Air Strike support power.
Unlocks higher-tech units and buildings. Unlocks higher-tech units and buildings.
Requires power to operate. Requires power to operate.
.airstrikepower-name = Air Strike
.airstrikepower-description = Deploy an aerial napalm strike.
Burns buildings and infantry along a line.
actor-fix = actor-fix =
.name = Repair Facility .name = Repair Facility
@@ -343,12 +346,18 @@ actor-eye =
.description = Provides radar and Orbital Ion Cannon support power. .description = Provides radar and Orbital Ion Cannon support power.
Unlocks Mammoth Tank and Commando. Unlocks Mammoth Tank and Commando.
Requires power to operate. Requires power to operate.
.ioncannonpower-name = Ion Cannon
.ioncannonpower-description = Initiate an Ion Cannon strike.
Applies instant damage to a small area.
actor-tmpl = actor-tmpl =
.name = Temple of Nod .name = Temple of Nod
.description = Provides Nuclear Strike support power. .description = Provides Nuclear Strike support power.
Unlocks Stealth Tank, Chem. Warrior and Obelisk of Light. Unlocks Stealth Tank, Chem. Warrior and Obelisk of Light.
Requires power to operate. Requires power to operate.
.nukepower-name = Nuclear Strike
.nukepower-description = Launch a tactical nuclear warhead.
Applies heavy damage over a large area.
actor-gun = actor-gun =
.name = Turret .name = Turret

View File

@@ -83,8 +83,8 @@ Astk.proxy:
ChargeInterval: 5250 ChargeInterval: 5250
SquadSize: 3 SquadSize: 3
QuantizedFacings: 8 QuantizedFacings: 8
Name: Air Strike Name: actor-hq.airstrikepower-name
Description: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. Description: actor-hq.airstrikepower-description
EndChargeSpeechNotification: AirstrikeReady EndChargeSpeechNotification: AirstrikeReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower InsufficientPowerSpeechNotification: InsufficientPower

View File

@@ -62,8 +62,8 @@ airstrike.proxy:
ChargeInterval: 3000 ChargeInterval: 3000
SquadSize: 3 SquadSize: 3
QuantizedFacings: 8 QuantizedFacings: 8
Name: Air Strike Name: actor-hq.airstrikepower-name
Description: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. Description: actor-hq.airstrikepower-description
EndChargeSpeechNotification: AirstrikeReady EndChargeSpeechNotification: AirstrikeReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower InsufficientPowerSpeechNotification: InsufficientPower

View File

@@ -681,8 +681,8 @@ HQ:
ChargeInterval: 7500 ChargeInterval: 7500
SquadSize: 3 SquadSize: 3
QuantizedFacings: 8 QuantizedFacings: 8
Name: Air Strike Name: actor-hq.airstrikepower-name
Description: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. Description: actor-hq.airstrikepower-description
EndChargeSpeechNotification: AirstrikeReady EndChargeSpeechNotification: AirstrikeReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower InsufficientPowerSpeechNotification: InsufficientPower
@@ -795,8 +795,8 @@ EYE:
Icon: ioncannon Icon: ioncannon
Cursor: ioncannon Cursor: ioncannon
ChargeInterval: 9000 ChargeInterval: 9000
Name: Ion Cannon Name: actor-eye.ioncannonpower-name
Description: Initiate an Ion Cannon strike.\nApplies instant damage to a small area. Description: actor-eye.ioncannonpower-description
BeginChargeSpeechNotification: IonCannonCharging BeginChargeSpeechNotification: IonCannonCharging
EndChargeSpeechNotification: IonCannonReady EndChargeSpeechNotification: IonCannonReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
@@ -853,8 +853,8 @@ TMPL:
Icon: abomb Icon: abomb
Cursor: nuke Cursor: nuke
ChargeInterval: 11250 ChargeInterval: 11250
Name: Nuclear Strike Name: actor-tmpl.nukepower-name
Description: Launch a tactical nuclear warhead.\nApplies heavy damage over a large area. Description: actor-tmpl.nukepower-description
EndChargeSpeechNotification: NuclearWeaponAvailable EndChargeSpeechNotification: NuclearWeaponAvailable
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower InsufficientPowerSpeechNotification: InsufficientPower

View File

@@ -526,4 +526,3 @@ label-game-admin = Game Admin
## gamesave-loading.yaml ## gamesave-loading.yaml
label-gamesave-loading-screen-title = Loading Saved Game label-gamesave-loading-screen-title = Loading Saved Game
label-gamesave-loading-screen-desc = Press Escape to cancel loading and return to the main menu label-gamesave-loading-screen-desc = Press Escape to cancel loading and return to the main menu

View File

@@ -857,3 +857,6 @@ notification-player-is-defeated = { $player } is defeated.
## OrderManager ## OrderManager
notification-desync-compare-logs = Out of sync in frame { $frame }. notification-desync-compare-logs = Out of sync in frame { $frame }.
Compare syncreport.log with other players. Compare syncreport.log with other players.
## SupportPowerTimerWidget
support-power-timer = { $player }'s { $support-power }: { $time }

View File

@@ -339,6 +339,8 @@ actor-high-tech-factory =
.encyclopedia = The High Tech Factory produces airborne units, and is required for the production of Carryalls. House Atreides can upgrade the High Tech Factory to build Ornithopters for an air strike in later missions. .encyclopedia = The High Tech Factory produces airborne units, and is required for the production of Carryalls. House Atreides can upgrade the High Tech Factory to build Ornithopters for an air strike in later missions.
The High Tech Factory is vulnerable to most types of weapons. The High Tech Factory is vulnerable to most types of weapons.
.airstrikepower-name = Air Strike
.airstrikepower-description = Ornithopters hit the target with bombs
actor-research-centre = actor-research-centre =
.description = Unlocks advanced tanks. .description = Unlocks advanced tanks.
@@ -353,6 +355,19 @@ actor-palace =
.encyclopedia = The Palace serves as the command center once it is constructed. Palaces feature unique additional options, making available advanced special weapons. .encyclopedia = The Palace serves as the command center once it is constructed. Palaces feature unique additional options, making available advanced special weapons.
Armor is heavy, but the Palace is vulnerable to most types of weapons. Armor is heavy, but the Palace is vulnerable to most types of weapons.
.nukepower-name = Death Hand
.nukepower-description = Launches an atomic missile at a target location
.produceactorpower-fremen-name = Recruit Fremen
.produceactorpower-fremen-description = Elite infantry unit armed with assault rifles and rockets
Strong vs Infantry, Vehicles
Weak vs Artillery
Special Ability: Invisibility
.produceactorpower-saboteur-name = Recruit Saboteur
.produceactorpower-saboteur-description = Sneaky infantry, armed with explosives.
Can be deployed to become invisible for a limited time.
Strong vs Buildings
Weak vs Everything
Special Ability: destroy buildings
## vehicles.yaml ## vehicles.yaml
actor-mcv = actor-mcv =

View File

@@ -996,12 +996,12 @@ high_tech_factory:
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
AirstrikePower: AirstrikePower:
Icon: ornistrike Icon: ornistrike
Name: Air Strike Name: actor-high-tech-factory.airstrikepower-name
Prerequisites: ~techlevel.superweapons, upgrade.hightech Prerequisites: ~techlevel.superweapons, upgrade.hightech
ChargeInterval: 7500 ChargeInterval: 7500
SquadSize: 3 SquadSize: 3
SquadOffset: -1536, 1024, 0 SquadOffset: -1536, 1024, 0
Description: Ornithopters hit the target with bombs Description: actor-high-tech-factory.airstrikepower-description
UnitType: ornithopter UnitType: ornithopter
DisplayBeacon: True DisplayBeacon: True
CameraActor: camera CameraActor: camera
@@ -1155,8 +1155,8 @@ palace:
RequiresCondition: harkonnen RequiresCondition: harkonnen
Prerequisites: ~techlevel.superweapons, ~palace.nuke Prerequisites: ~techlevel.superweapons, ~palace.nuke
ChargeInterval: 7500 ChargeInterval: 7500
Name: Death Hand Name: actor-palace.nukepower-name
Description: Launches an atomic missile at a target location Description: actor-palace.nukepower-description
BeginChargeSpeechNotification: DeathHandMissilePrepping BeginChargeSpeechNotification: DeathHandMissilePrepping
EndChargeSpeechNotification: DeathHandMissileReady EndChargeSpeechNotification: DeathHandMissileReady
IncomingSpeechNotification: MissileLaunchDetected IncomingSpeechNotification: MissileLaunchDetected
@@ -1182,8 +1182,8 @@ palace:
TrailSequences: idle TrailSequences: idle
SupportPowerPaletteOrder: 40 SupportPowerPaletteOrder: 40
ProduceActorPower@fremen: ProduceActorPower@fremen:
Name: Recruit Fremen Name: actor-palace.produceactorpower-fremen-name
Description: Elite infantry unit armed with assault rifles and rockets\n Strong vs Infantry, Vehicles\n Weak vs Artillery\n Special Ability: Invisibility Description: actor-palace.produceactorpower-fremen-description
Icon: fremen Icon: fremen
PauseOnCondition: disabled PauseOnCondition: disabled
RequiresCondition: atreides RequiresCondition: atreides
@@ -1199,8 +1199,8 @@ palace:
OrderName: ProduceActorPower.Fremen OrderName: ProduceActorPower.Fremen
SupportPowerPaletteOrder: 20 SupportPowerPaletteOrder: 20
ProduceActorPower@saboteur: ProduceActorPower@saboteur:
Name: Recruit Saboteur Name: actor-palace.produceactorpower-saboteur-name
Description: Sneaky infantry, armed with explosives.\nCan be deployed to become invisible for a limited time.\n Strong vs Buildings\n Weak vs Everything\n Special Ability: destroy buildings Description: actor-palace.produceactorpower-saboteur-description
Icon: saboteur Icon: saboteur
PauseOnCondition: disabled PauseOnCondition: disabled
RequiresCondition: ordos RequiresCondition: ordos

View File

@@ -420,6 +420,9 @@ actor-mslo =
Requires power to operate. Requires power to operate.
Maximum 1 can be built. Maximum 1 can be built.
Special Ability: Atom Bomb Special Ability: Atom Bomb
.nukepower-name = Atom Bomb
.nukepower-description = Launches a devastating atomic bomb
at a target location.
actor-gap = actor-gap =
.name = Gap Generator .name = Gap Generator
@@ -443,6 +446,9 @@ actor-iron =
Maximum 1 can be built. Maximum 1 can be built.
Special Ability: Invulnerability Special Ability: Invulnerability
.name = Iron Curtain .name = Iron Curtain
.grantexternalconditionpower-ironcurtain-name = Invulnerability
.grantexternalconditionpower-ironcurtain-description = Makes a group of units invulnerable
for 20 seconds.
actor-pdox = actor-pdox =
.description = Teleports a group of units across the .description = Teleports a group of units across the
@@ -451,6 +457,12 @@ actor-pdox =
Maximum 1 can be built. Maximum 1 can be built.
Special Ability: Chronoshift Special Ability: Chronoshift
.name = Chronosphere .name = Chronosphere
.chronoshiftpower-chronoshift-name = Chronoshift
.chronoshiftpower-chronoshift-description = Teleports a group of units across
the map for 20 seconds.
.chronoshiftpower-advancedchronoshift-name = Advanced Chronoshift
.chronoshiftpower-advancedchronoshift-description = Teleports a large group of units across
the map for 20 seconds.
actor-tsla = actor-tsla =
.description = Advanced base defense. .description = Advanced base defense.
@@ -514,6 +526,9 @@ actor-atek =
.description = Provides Allied advanced technologies. .description = Provides Allied advanced technologies.
Special Ability: GPS Satellite Special Ability: GPS Satellite
.name = Allied Tech Center .name = Allied Tech Center
.gpspower-name = GPS Satellite
.gpspower-description = Reveals map terrain and provides tactical
information. Requires power and active radar.
actor-weap = actor-weap =
.description = Produces vehicles. .description = Produces vehicles.
@@ -543,6 +558,14 @@ actor-afld =
Special Ability: Spy Plane Special Ability: Spy Plane
Special Ability: Paratroopers Special Ability: Paratroopers
.name = Airfield .name = Airfield
.airstrikepower-spyplane-name = Spy Plane
.airstrikepower-spyplane-description = Reveals an area of the map.
.paratrooperspower-paratroopers-name = Paratroopers
.paratrooperspower-paratroopers-description = A Badger drops a squad of infantry
at the selected location.
.airstrikepower-parabombs-name = Parabombs
.airstrikepower-parabombs-description = A Badger drops a load of parachuted bombs
at the selected location.
actor-afld-ukraine-description = Produces and reloads aircraft. actor-afld-ukraine-description = Produces and reloads aircraft.
Special Ability: Spy Plane Special Ability: Spy Plane
@@ -752,7 +775,23 @@ actor-bio =
.captured-desc = Provides prerequisite for Bio-Lab units. .captured-desc = Provides prerequisite for Bio-Lab units.
.capturable-desc = Capture to produce Bio-Lab units. .capturable-desc = Capture to produce Bio-Lab units.
actor-oilb = actor-oilb =
.name = Oil Derrick .name = Oil Derrick
.captured-desc = Provides additional funds. .captured-desc = Provides additional funds.
.capturable-desc = Capture to receive additional funds. .capturable-desc = Capture to receive additional funds.
## misc.yaml
actor-powerproxy-parabombs =
.name = Parabombs (Single Use)
.description = A Badger drops a load of parachuted bombs
at the selected location.
actor-powerproxy-sonarpulse =
.name = Sonar Pulse
.description = Reveals all submarines in the vicinity for a
short time.
actor-powerproxy-paratroopers =
.name = Paratroopers
.description = A Badger drops a squad of infantry
anywhere on the map.

View File

@@ -8,3 +8,12 @@ actor-mnlyr-name = Bomber
actor-minvv = actor-minvv =
.description = Bomb which explodes after 8 seconds .description = Bomb which explodes after 8 seconds
.name = Bomb .name = Bomb
## rules.yaml
actor-player =
.chronoshiftpower-name = Chronoshift
.chronoshiftpower-description = Teleport a group of vehicles across
the map.
.grantexternalconditionpower-ironcurtain-name = Invulnerability
.grantexternalconditionpower-ironcurtain-description = Makes a unit invulnerable
for 3 seconds.

View File

@@ -83,8 +83,8 @@ Player:
ChronoshiftPower: ChronoshiftPower:
Icon: chrono Icon: chrono
ChargeInterval: 1500 ChargeInterval: 1500
Name: Chronoshift Name: actor-player.chronoshiftpower-name
Description: Teleport a group of vehicles across\nthe map. Description: actor-player.chronoshiftpower-description
SelectTargetSound: slcttgt1.aud SelectTargetSound: slcttgt1.aud
BeginChargeSound: chrochr1.aud BeginChargeSound: chrochr1.aud
EndChargeSound: chrordy1.aud EndChargeSound: chrordy1.aud
@@ -94,8 +94,8 @@ Player:
GrantExternalConditionPower@IRONCURTAIN: GrantExternalConditionPower@IRONCURTAIN:
Icon: invuln Icon: invuln
ChargeInterval: 750 ChargeInterval: 750
Name: Invulnerability Name: actor-player.grantexternalconditionpower-ironcurtain-name
Description: Makes a unit invulnerable\nfor 3 seconds. Description: actor-player.grantexternalconditionpower-ironcurtain-description
Duration: 75 Duration: 75
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower InsufficientPowerSpeechNotification: InsufficientPower

View File

@@ -8,3 +8,6 @@ actor-sniper =
Weak vs Vehicles, Aircraft Weak vs Vehicles, Aircraft
actor-mig-bomber-name = MiG Bomber actor-mig-bomber-name = MiG Bomber
## rules.yaml
actor-powerproxy-parabombs-description = A MiG bomber drops a load of parachuted bombs on your target.

View File

@@ -392,7 +392,7 @@ V2RL:
powerproxy.parabombs: powerproxy.parabombs:
AirstrikePower: AirstrikePower:
Description: A MiG bomber drops a load of parachuted bombs on your target. Description: actor-powerproxy-parabombs-description
CameraRemoveDelay: 50 CameraRemoveDelay: 50
BADR.Bomber: BADR.Bomber:

View File

@@ -0,0 +1,4 @@
## rules.yaml
actor-powerproxy-spyplane =
.airstrikepower-name = Spy Plane (Single Use)
.airstrikepower-description = Reveals an area of the map and cloaked enemy units.

View File

@@ -897,4 +897,4 @@ Rules: ra|rules/campaign-rules.yaml, ra|rules/campaign-tooltips.yaml, ra|rules/c
Weapons: weapons.yaml Weapons: weapons.yaml
Translations: ra|languages/lua/en.ftl, ra|languages/campaign/en.ftl Translations: ra|languages/lua/en.ftl, ra|languages/campaign/en.ftl, en.ftl

View File

@@ -54,8 +54,8 @@ powerproxy.spyplane:
OrderName: SovietSpyPlane OrderName: SovietSpyPlane
Icon: spyplane Icon: spyplane
ChargeInterval: 4500 ChargeInterval: 4500
Name: Spy Plane (Single Use) Name: actor-powerproxy-spyplane.airstrikepower-name
Description: Reveals an area of the map and cloaked enemy units. Description: actor-powerproxy-spyplane.airstrikepower-description
OneShot: true OneShot: true
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
EndChargeSpeechNotification: SpyPlaneReady EndChargeSpeechNotification: SpyPlaneReady

View File

@@ -346,8 +346,8 @@ powerproxy.parabombs:
AlwaysVisible: AlwaysVisible:
AirstrikePower: AirstrikePower:
Icon: parabombs Icon: parabombs
Name: Parabombs (Single Use) Name: actor-powerproxy-parabombs.name
Description: A Badger drops a load of parachuted bombs\nat the selected location. Description: actor-powerproxy-parabombs.description
OneShot: true OneShot: true
AllowMultiple: true AllowMultiple: true
UnitType: badr.bomber UnitType: badr.bomber
@@ -366,8 +366,8 @@ powerproxy.sonarpulse:
AlwaysVisible: AlwaysVisible:
SpawnActorPower: SpawnActorPower:
Icon: sonar Icon: sonar
Name: Sonar Pulse Name: actor-powerproxy-sonarpulse.name
Description: Reveals all submarines in the vicinity for a \nshort time. Description: actor-powerproxy-sonarpulse.description
ChargeInterval: 750 ChargeInterval: 750
EndChargeSpeechNotification: SonarPulseReady EndChargeSpeechNotification: SonarPulseReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
@@ -387,8 +387,8 @@ powerproxy.paratroopers:
AlwaysVisible: AlwaysVisible:
ParatroopersPower: ParatroopersPower:
Icon: paratroopers Icon: paratroopers
Name: Paratroopers Name: actor-powerproxy-paratroopers.name
Description: A Badger drops a squad of infantry\nanywhere on the map. Description: actor-powerproxy-paratroopers.description
DropItems: E1,E1,E1,E3,E3 DropItems: E1,E1,E1,E3,E3
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
SelectTargetTextNotification: notification-select-target SelectTargetTextNotification: notification-select-target

View File

@@ -37,8 +37,8 @@ MSLO:
Cursor: nuke Cursor: nuke
Icon: abomb Icon: abomb
ChargeInterval: 13500 ChargeInterval: 13500
Name: Atom Bomb Name: actor-mslo.nukepower-name
Description: Launches a devastating atomic bomb\nat a target location. Description: actor-mslo.nukepower-description
BeginChargeSpeechNotification: AbombPrepping BeginChargeSpeechNotification: AbombPrepping
EndChargeSpeechNotification: AbombReady EndChargeSpeechNotification: AbombReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
@@ -433,8 +433,8 @@ IRON:
PauseOnCondition: disabled PauseOnCondition: disabled
Icon: invuln Icon: invuln
ChargeInterval: 3000 ChargeInterval: 3000
Name: Invulnerability Name: actor-iron.grantexternalconditionpower-ironcurtain-name
Description: Makes a group of units invulnerable\nfor 20 seconds. Description: actor-iron.grantexternalconditionpower-ironcurtain-description
Duration: 400 Duration: 400
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower InsufficientPowerSpeechNotification: InsufficientPower
@@ -509,8 +509,8 @@ PDOX:
Prerequisites: !pdox.germany Prerequisites: !pdox.germany
Icon: chrono Icon: chrono
ChargeInterval: 3000 ChargeInterval: 3000
Name: Chronoshift Name: actor-pdox.chronoshiftpower-chronoshift-name
Description: Teleports a group of units across\nthe map for 20 seconds. Description: actor-pdox.chronoshiftpower-chronoshift-description
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower InsufficientPowerSpeechNotification: InsufficientPower
BeginChargeSpeechNotification: ChronosphereCharging BeginChargeSpeechNotification: ChronosphereCharging
@@ -531,8 +531,8 @@ PDOX:
Prerequisites: pdox.germany Prerequisites: pdox.germany
Icon: chrono Icon: chrono
ChargeInterval: 3000 ChargeInterval: 3000
Name: Advanced Chronoshift Name: actor-pdox.chronoshiftpower-advancedchronoshift-name
Description: Teleports a large group of units across\nthe map for 20 seconds. Description: actor-pdox.chronoshiftpower-advancedchronoshift-description
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
InsufficientPowerSpeechNotification: InsufficientPower InsufficientPowerSpeechNotification: InsufficientPower
BeginChargeSpeechNotification: ChronosphereCharging BeginChargeSpeechNotification: ChronosphereCharging
@@ -1016,8 +1016,8 @@ ATEK:
Icon: gps Icon: gps
OneShot: true OneShot: true
ChargeInterval: 12000 ChargeInterval: 12000
Name: GPS Satellite Name: actor-atek.gpspower-name
Description: Reveals map terrain and provides tactical\ninformation. Requires power and active radar. Description: actor-atek.gpspower-description
RevealDelay: 375 RevealDelay: 375
LaunchSpeechNotification: SatelliteLaunched LaunchSpeechNotification: SatelliteLaunched
LaunchTextNotification: notification-satellite-launched LaunchTextNotification: notification-satellite-launched
@@ -1556,8 +1556,8 @@ AFLD:
Prerequisites: aircraft.soviet Prerequisites: aircraft.soviet
Icon: spyplane Icon: spyplane
ChargeInterval: 3750 ChargeInterval: 3750
Name: Spy Plane Name: actor-afld.airstrikepower-spyplane-name
Description: Reveals an area of the map. Description: actor-afld.airstrikepower-spyplane-description
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
EndChargeSpeechNotification: SpyPlaneReady EndChargeSpeechNotification: SpyPlaneReady
SelectTargetTextNotification: notification-select-target SelectTargetTextNotification: notification-select-target
@@ -1579,8 +1579,8 @@ AFLD:
Prerequisites: aircraft.soviet Prerequisites: aircraft.soviet
Icon: paratroopers Icon: paratroopers
ChargeInterval: 7500 ChargeInterval: 7500
Name: Paratroopers Name: actor-afld.paratrooperspower-paratroopers-name
Description: A Badger drops a squad of infantry\nat the selected location. Description: actor-afld.paratrooperspower-paratroopers-description
DropItems: E1R1,E1R1,E1R1,E3R1,E3R1 DropItems: E1R1,E1R1,E1R1,E3R1,E3R1
ReinforcementsArrivedSpeechNotification: ReinforcementsArrived ReinforcementsArrivedSpeechNotification: ReinforcementsArrived
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
@@ -1602,8 +1602,8 @@ AFLD:
Prerequisites: aircraft.ukraine Prerequisites: aircraft.ukraine
Icon: parabombs Icon: parabombs
ChargeInterval: 7500 ChargeInterval: 7500
Name: Parabombs Name: actor-afld.airstrikepower-parabombs-name
Description: A Badger drops a load of parachuted bombs\nat the selected location. Description: actor-afld.airstrikepower-parabombs-description
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
SelectTargetTextNotification: notification-select-target SelectTargetTextNotification: notification-select-target
CameraActor: camera CameraActor: camera

View File

@@ -338,6 +338,15 @@ actor-gatech =
actor-gaplug = actor-gaplug =
.name = GDI Upgrade Center .name = GDI Upgrade Center
.description = Can be upgraded for additional technology. .description = Can be upgraded for additional technology.
.ioncannonpower-name = Ion Cannon
.ioncannonpower-description = Initiate an Ion Cannon strike.
Applies instant damage to a small area.
.droppodspower-name = Drop Pods
.droppodspower-description = Drop Pod reinforcements.
Small team of elite soldiers orbital drops
to target location.
.produceactorpower-name = Hunter Seeker
.produceactorpower-description = Releases a drone that will acquire and destroy an enemy target.
actor-gaplug-socket-ioncannon-name = GDI Upgrade Center socket actor-gaplug-socket-ioncannon-name = GDI Upgrade Center socket
actor-gaplug-socket-hunterseeker-name = GDI Upgrade Center socket actor-gaplug-socket-hunterseeker-name = GDI Upgrade Center socket
@@ -524,6 +533,8 @@ actor-nastlh =
actor-natmpl = actor-natmpl =
.description = Provides access to advanced Nod technologies. .description = Provides access to advanced Nod technologies.
.name = Temple of Nod .name = Temple of Nod
.produceactorpower-name = Hunter Seeker
.produceactorpower-description = Releases a drone that will acquire and destroy an enemy target.
actor-namisl = actor-namisl =
.description = Launches a devastating missile .description = Launches a devastating missile
@@ -531,6 +542,9 @@ actor-namisl =
Requires power to operate. Requires power to operate.
Maximum 1 can be built. Maximum 1 can be built.
.name = Nod Missile Silo .name = Nod Missile Silo
.nukepower-name = Cluster Missile
.nukepower-description = Launches an explosive cluster warhead
at a target location.
actor-nawast = actor-nawast =
.name = Waste Refinery .name = Waste Refinery
@@ -679,6 +693,9 @@ actor-napuls =
.name = E.M. Pulse Cannon .name = E.M. Pulse Cannon
.description = Disables mechanical units in an area. .description = Disables mechanical units in an area.
Requires power to operate. Requires power to operate.
.attackorderpower-name = E.M. Pulse
.attackorderpower-description = Fires a pulse blast which disables
all mechanical units in the area.
## shared-vehicles.yaml ## shared-vehicles.yaml
actor-mcv = actor-mcv =

View File

@@ -564,8 +564,8 @@ GAPLUG:
EffectSequence: ionring EffectSequence: ionring
WeaponDelay: 0 WeaponDelay: 0
ChargeInterval: 12750 ChargeInterval: 12750
Name: Ion Cannon Name: actor-gaplug.ioncannonpower-name
Description: Initiate an Ion Cannon strike.\nApplies instant damage to a small area. Description: actor-gaplug.ioncannonpower-description
EndChargeSpeechNotification: IonCannonReady EndChargeSpeechNotification: IonCannonReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
EndChargeTextNotification: notification-ion-cannon-ready EndChargeTextNotification: notification-ion-cannon-ready
@@ -577,8 +577,8 @@ GAPLUG:
PauseOnCondition: disabled || empdisable PauseOnCondition: disabled || empdisable
RequiresCondition: plug.droppoda || plug.droppodb RequiresCondition: plug.droppoda || plug.droppodb
Icon: droppods Icon: droppods
Name: Drop Pods Name: actor-gaplug.droppodspower-name
Description: Drop Pod reinforcements.\nSmall team of elite soldiers orbital drops\nto target location. Description: actor-gaplug.droppodspower-description
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
SelectTargetTextNotification: notification-select-target SelectTargetTextNotification: notification-select-target
DisplayRadarPing: true DisplayRadarPing: true
@@ -588,8 +588,8 @@ GAPLUG:
ProduceActorPower: ProduceActorPower:
PauseOnCondition: disabled || empdisable PauseOnCondition: disabled || empdisable
RequiresCondition: plug.hunterseekera || plug.hunterseekerb RequiresCondition: plug.hunterseekera || plug.hunterseekerb
Name: Hunter Seeker Name: actor-gaplug.produceactorpower-name
Description: Releases a drone that will acquire and destroy an enemy target. Description: actor-gaplug.produceactorpower-description
Icon: hunterseeker Icon: hunterseeker
Actors: hunter Actors: hunter
Type: HunterSeeker Type: HunterSeeker

View File

@@ -476,8 +476,8 @@ NATMPL:
Palette: bright Palette: bright
ProduceActorPower: ProduceActorPower:
PauseOnCondition: empdisable || disabled PauseOnCondition: empdisable || disabled
Name: Hunter Seeker Name: actor-natmpl.produceactorpower-name
Description: Releases a drone that will acquire and destroy an enemy target. Description: actor-natmpl.produceactorpower-description
Prerequisites: ~techlevel.superweapons Prerequisites: ~techlevel.superweapons
Icon: hunterseeker Icon: hunterseeker
Actors: hunter Actors: hunter
@@ -534,8 +534,8 @@ NAMISL:
Cursor: nuke Cursor: nuke
Icon: clustermissile Icon: clustermissile
ChargeInterval: 13500 ChargeInterval: 13500
Name: Cluster Missile Name: actor-namisl.nukepower-name
Description: Launches an explosive cluster warhead\nat a target location. Description: actor-namisl.nukepower-description
EndChargeSpeechNotification: ClusterMissileReady EndChargeSpeechNotification: ClusterMissileReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
IncomingSpeechNotification: MissileLaunchDetected IncomingSpeechNotification: MissileLaunchDetected

View File

@@ -50,8 +50,8 @@ NAPULS:
Cursor: emp Cursor: emp
Icon: emp Icon: emp
ChargeInterval: 3375 ChargeInterval: 3375
Name: E.M. Pulse Name: actor-napuls.attackorderpower-name
Description: Fires a pulse blast which disables\nall mechanical units in the area. Description: actor-napuls.attackorderpower-description
EndChargeSpeechNotification: EmPulseCannonReady EndChargeSpeechNotification: EmPulseCannonReady
SelectTargetSpeechNotification: SelectTarget SelectTargetSpeechNotification: SelectTarget
EndChargeTextNotification: notification-emp-cannon-ready EndChargeTextNotification: notification-emp-cannon-ready