EDCD / EDDI

Companion application for Elite Dangerous
Other
444 stars 81 forks source link

NPC anti-AX military force pilots get an untranslated name in "Message received" #2491

Closed slippycheeze closed 1 year ago

slippycheeze commented 1 year ago

What's Wrong (please be as specific as possible)

EDDI is handing through untranslated "computer-oriented" text to the Message Received script, so the speech output isn't quite what might be hoped:

{ "timestamp":"2023-01-14T21:25:04Z", "event":"ReceiveText", "From":"$Name_AX_Military; Moody", "Message":"$AX_CombatGeneric_Harvest10;", "Message_Localised":"No surrender! This is our home, and I refuse to give it up to these monsters.", "Channel":"npc" }

NPC $Name_AX_Military; Moody: No surrender! This is our home, and I refuse to give it up to these monsters.

Expected

EDDI should do something magical and make $Name_AX_Military; turn into something more approprite.

The game translates it to "AX Pilot Moody" in English; I assume different text in other locales.

Observed

EDDI just passed on the (as far as I can tell fairly unique?) prefix attached to the NPC speech name.

Steps to reproduce

  1. take yourself to a thargoid invasion system.
  2. go to an "under active thargoid attack right now" station
  3. drop from supercruise as normal when you get there
  4. listen to the chatter, which'll give you this text quickly

note: I'm pretty sure "go anywhere there are NPC AX forces fighting", which is 'any AX conflict zone", will do it, but that is the path I know works.

Configuration

My Investigation

Player journals

relevant excerpted section of chatter:

{ "timestamp":"2023-01-14T21:19:55Z", "event":"SupercruiseExit", "Taxi":false, "Multicrew":false, "StarSystem":"HIP 21380", "SystemAddress":1183364125362, "Body":"Beaufoy Port", "BodyID":55, "BodyType":"Station" }
{ "timestamp":"2023-01-14T21:19:55Z", "event":"ShipLocker", "Items":[ { "Name":"healthmonitor", "Name_Localised":"Health Monitor", "OwnerID":0, "Count":1 }, { "Name":"insight", "OwnerID":0, "Count":4 }, { "Name":"compactlibrary", "Name_Localised":"Compact Library", "OwnerID":0, "Count":1 }, { "Name":"hush", "OwnerID":0, "Count":2 }, { "Name":"infinity", "OwnerID":0, "Count":1 }, { "Name":"insightentertainmentsuite", "Name_Localised":"Insight Entertainment Suite", "OwnerID":0, "Count":1 }, { "Name":"syntheticpathogen", "Name_Localised":"Synthetic Pathogen", "OwnerID":0, "Count":2 } ], "Components":[  ], "Consumables":[ { "Name":"healthpack", "Name_Localised":"Medkit", "OwnerID":0, "Count":99 }, { "Name":"energycell", "Name_Localised":"Energy Cell", "OwnerID":0, "Count":98 }, { "Name":"amm_grenade_emp", "Name_Localised":"Shield Disruptor", "OwnerID":0, "Count":98 }, { "Name":"amm_grenade_frag", "Name_Localised":"Frag Grenade", "OwnerID":0, "Count":100 }, { "Name":"amm_grenade_shield", "Name_Localised":"Shield Projector", "OwnerID":0, "Count":99 }, { "Name":"bypass", "Name_Localised":"E-Breach", "OwnerID":0, "Count":1 } ], "Data":[  ] }
{ "timestamp":"2023-01-14T21:19:55Z", "event":"Music", "MusicTrack":"DestinationFromSupercruise" }
{ "timestamp":"2023-01-14T21:20:00Z", "event":"Music", "MusicTrack":"Combat_Unknown" }
{ "timestamp":"2023-01-14T21:20:06Z", "event":"DockingRequested", "MarketID":3222013696, "StationName":"Beaufoy Port", "StationType":"Outpost", "LandingPads":{ "Small":4, "Medium":1, "Large":0 } }
{ "timestamp":"2023-01-14T21:20:07Z", "event":"ReceiveText", "From":"Beaufoy Port", "Message":"$DockingChatter_Neutral;", "Message_Localised":"Ensure to observe starport protocol during your visit, pilot.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:20:07Z", "event":"ReceiveText", "From":"Beaufoy Port", "Message":"$STATION_docking_granted;", "Message_Localised":"Docking request granted.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:20:07Z", "event":"DockingGranted", "LandingPad":5, "MarketID":3222013696, "StationName":"Beaufoy Port", "StationType":"Outpost" }
{ "timestamp":"2023-01-14T21:20:21Z", "event":"ReceiveText", "From":"$Name_AX_Military; Moody", "Message":"$AX_CombatUnderAttack_Harvest01;", "Message_Localised":"Here they come again!", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:20:26Z", "event":"ReceiveText", "From":"$Name_AX_Military; Beasley", "Message":"$AX_CombatUnderAttack_Harvest05;", "Message_Localised":"I'm flying defensive! This is getting heated.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:20:59Z", "event":"UnderAttack", "Target":"You" }
{ "timestamp":"2023-01-14T21:21:10Z", "event":"ReceiveText", "From":"$Name_AX_Military; Mullen", "Message":"$AX_Patrol_Harvest02;", "Message_Localised":"The bugs aren't going to let us pass through this system unattended. It's just a matter of time.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:21:10Z", "event":"ReceiveText", "From":"$Name_AX_Military; Beasley", "Message":"$AX_CombatGeneric_Harvest07;", "Message_Localised":"Nobody told me how crazy these bug ships can move around!", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:21:13Z", "event":"ReceiveText", "From":"$Name_AX_Military; Lott", "Message":"$AX_CombatUnderAttack_Harvest01;", "Message_Localised":"Here they come again!", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:21:37Z", "event":"ReceiveText", "From":"$Name_AX_Military; Mullen", "Message":"$AX_CombatUnderAttack_Harvest08;", "Message_Localised":"These Thargoids aren't messing around. I'm under attack.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:22:03Z", "event":"ReceiveText", "From":"$Name_AX_Military; Klein", "Message":"$AX_CombatGeneric_Harvest17;", "Message_Localised":"Watch my flanks, I'm going in.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:22:11Z", "event":"ReceiveText", "From":"$Name_AX_Military; Moody", "Message":"$AX_CombatGeneric_Harvest20;", "Message_Localised":"Hey Commander, how you doing over there? Planning on finishing these things off anytime soon?", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:22:11Z", "event":"Docked", "StationName":"Beaufoy Port", "StationType":"Outpost", "Taxi":false, "Multicrew":false, "StationState":"UnderAttack", "StarSystem":"HIP 21380", "SystemAddress":1183364125362, "MarketID":3222013696, "StationFaction":{ "Name":"Pilot Syndicate 4" }, "StationGovernment":"$government_Corporate;", "StationGovernment_Localised":"Corporate", "StationServices":[ "dock", "missions", "rearm", "refuel", "repair", "missionsgenerated", "flightcontroller", "stationoperations", "stationMenu", "bartender", "vistagenomics", "pioneersupplies" ], "StationEconomy":"$economy_Refinery;", "StationEconomy_Localised":"Refinery", "StationEconomies":[ { "Name":"$economy_Refinery;", "Name_Localised":"Refinery", "Proportion":0.760000 }, { "Name":"$economy_Extraction;", "Name_Localised":"Extraction", "Proportion":0.240000 } ], "DistFromStarLS":304.975710, "LandingPads":{ "Small":4, "Medium":1, "Large":0 } }
{ "timestamp":"2023-01-14T21:22:26Z", "event":"ReceiveText", "From":"$Name_AX_Military; Klein", "Message":"$AX_CombatGeneric_Harvest09;", "Message_Localised":"We've gotta get these bastards out of our system. Fight for your families, your friends!", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:22:26Z", "event":"ReceiveText", "From":"$Name_AX_Military; Beasley", "Message":"$AX_CombatGeneric_Harvest13;", "Message_Localised":"Whatever happens, don't be left with regrets. Give the aliens everything you've got.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:22:49Z", "event":"ReceiveText", "From":"$Name_AX_Military; Mullen", "Message":"$AX_CombatUnderAttack_Harvest04;", "Message_Localised":"The bugs have me in their sights. Will try to evade.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:22:50Z", "event":"ReceiveText", "From":"$Name_AX_Military; Beasley", "Message":"$AX_Patrol_Harvest08;", "Message_Localised":"Nothing on the radar yet. A bit too quiet, isn't it?", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:22:52Z", "event":"MissionAccepted", "Faction":"Dominion of HIP 21380", "Name":"Mission_TW_PassengerEvacuation_UnderAttack", "LocalisedName":"80 Refugees need evacuation", "DestinationSystem":"Tarach Tor", "DestinationStation":"Rescue Ship Bertschinger", "Expiry":"2023-01-14T23:37:48Z", "Wing":false, "Influence":"++", "Reputation":"++", "Reward":11776951, "PassengerCount":80, "PassengerVIPs":false, "PassengerWanted":false, "PassengerType":"Refugee", "MissionID":911032020 }
{ "timestamp":"2023-01-14T21:23:05Z", "event":"MissionAccepted", "Faction":"Cobra Wing", "Name":"Mission_TW_PassengerEvacuation_UnderAttack", "LocalisedName":"24 Refugees need evacuation", "DestinationSystem":"Tarach Tor", "DestinationStation":"Rescue Ship Bertschinger", "Expiry":"2023-01-14T23:29:04Z", "Wing":false, "Influence":"++", "Reputation":"++", "Reward":3540085, "PassengerCount":24, "PassengerVIPs":false, "PassengerWanted":false, "PassengerType":"Refugee", "MissionID":911032056 }
{ "timestamp":"2023-01-14T21:23:06Z", "event":"ReceiveText", "From":"$Name_AX_Military; Lott", "Message":"$AX_Patrol_Harvest09;", "Message_Localised":"Got a Commander in the area. Welcome to the party, pal.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:23:07Z", "event":"ReceiveText", "From":"$Name_AX_Military; Beasley", "Message":"$AX_Patrol_Harvest10;", "Message_Localised":"Looks like we have some backup in pushing the Thargoids out of our home. Right, Commander?  ", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:23:37Z", "event":"ReceiveText", "From":"$Name_AX_Military; Klein", "Message":"$AX_Patrol_Harvest05;", "Message_Localised":"We've been chasing signals for over an hour. When are we gonna shoot some insects?", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:23:38Z", "event":"ReceiveText", "From":"$Name_AX_Military; Donaldson", "Message":"$AX_Patrol_Harvest05;", "Message_Localised":"We've been chasing signals for over an hour. When are we gonna shoot some insects?", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:23:58Z", "event":"MissionAccepted", "Faction":"HIP 21380 Group", "Name":"Mission_TW_PassengerEvacuation_UnderAttack", "LocalisedName":"18 Refugees need evacuation", "DestinationSystem":"Tarach Tor", "DestinationStation":"Rescue Ship Bertschinger", "Expiry":"2023-01-14T23:22:02Z", "Wing":false, "Influence":"++", "Reputation":"++", "Reward":2657563, "PassengerCount":18, "PassengerVIPs":false, "PassengerWanted":false, "PassengerType":"Refugee", "MissionID":911032256 }
{ "timestamp":"2023-01-14T21:24:04Z", "event":"MissionAccepted", "Faction":"HIP 21380 Group", "Name":"Mission_TW_PassengerEvacuation_UnderAttack", "LocalisedName":"6 Refugees need evacuation", "DestinationSystem":"Tarach Tor", "DestinationStation":"Rescue Ship Bertschinger", "Expiry":"2023-01-15T00:06:05Z", "Wing":false, "Influence":"+", "Reputation":"+", "Reward":892521, "PassengerCount":6, "PassengerVIPs":false, "PassengerWanted":false, "PassengerType":"Refugee", "MissionID":911032287 }
{ "timestamp":"2023-01-14T21:24:09Z", "event":"Music", "MusicTrack":"GalaxyMap" }
{ "timestamp":"2023-01-14T21:24:14Z", "event":"NavRoute" }
{ "timestamp":"2023-01-14T21:24:14Z", "event":"FSDTarget", "Name":"32 Tauri", "SystemAddress":663312386395, "StarClass":"F", "RemainingJumpsInRoute":6 }
{ "timestamp":"2023-01-14T21:24:18Z", "event":"Music", "MusicTrack":"Combat_Unknown" }
{ "timestamp":"2023-01-14T21:24:21Z", "event":"RepairAll", "Cost":1167 }
{ "timestamp":"2023-01-14T21:24:22Z", "event":"RefuelAll", "Cost":55, "Amount":1.075903 }
{ "timestamp":"2023-01-14T21:24:48Z", "event":"Undocked", "StationName":"Beaufoy Port", "StationType":"Outpost", "MarketID":3222013696, "Taxi":false, "Multicrew":false }
{ "timestamp":"2023-01-14T21:24:58Z", "event":"UnderAttack", "Target":"You" }
{ "timestamp":"2023-01-14T21:25:04Z", "event":"ReceiveText", "From":"$Name_AX_Military; Moody", "Message":"$AX_CombatGeneric_Harvest10;", "Message_Localised":"No surrender! This is our home, and I refuse to give it up to these monsters.", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:25:19Z", "event":"StartJump", "JumpType":"Hyperspace", "StarSystem":"32 Tauri", "SystemAddress":663312386395, "StarClass":"F" }
{ "timestamp":"2023-01-14T21:25:24Z", "event":"ShipLocker", "Items":[ { "Name":"healthmonitor", "Name_Localised":"Health Monitor", "OwnerID":0, "Count":1 }, { "Name":"insight", "OwnerID":0, "Count":4 }, { "Name":"compactlibrary", "Name_Localised":"Compact Library", "OwnerID":0, "Count":1 }, { "Name":"hush", "OwnerID":0, "Count":2 }, { "Name":"infinity", "OwnerID":0, "Count":1 }, { "Name":"insightentertainmentsuite", "Name_Localised":"Insight Entertainment Suite", "OwnerID":0, "Count":1 }, { "Name":"syntheticpathogen", "Name_Localised":"Synthetic Pathogen", "OwnerID":0, "Count":2 } ], "Components":[  ], "Consumables":[ { "Name":"healthpack", "Name_Localised":"Medkit", "OwnerID":0, "Count":99 }, { "Name":"energycell", "Name_Localised":"Energy Cell", "OwnerID":0, "Count":98 }, { "Name":"amm_grenade_emp", "Name_Localised":"Shield Disruptor", "OwnerID":0, "Count":98 }, { "Name":"amm_grenade_frag", "Name_Localised":"Frag Grenade", "OwnerID":0, "Count":100 }, { "Name":"amm_grenade_shield", "Name_Localised":"Shield Projector", "OwnerID":0, "Count":99 }, { "Name":"bypass", "Name_Localised":"E-Breach", "OwnerID":0, "Count":1 } ], "Data":[  ] }
{ "timestamp":"2023-01-14T21:25:24Z", "event":"Music", "MusicTrack":"NoTrack" }
{ "timestamp":"2023-01-14T21:25:25Z", "event":"Music", "MusicTrack":"Combat_Dogfight" }
{ "timestamp":"2023-01-14T21:25:25Z", "event":"FSDTarget", "Name":"Tascheter Sector EL-Y b6", "SystemAddress":13864825398657, "StarClass":"M", "RemainingJumpsInRoute":5 }
{ "timestamp":"2023-01-14T21:25:38Z", "event":"ReceiveText", "From":"", "Message":"$COMMS_entered:#name=32 Tauri;", "Message_Localised":"Entered Channel: 32 Tauri", "Channel":"npc" }
{ "timestamp":"2023-01-14T21:25:38Z", "event":"FSDJump", "Taxi":false, "Multicrew":false, "StarSystem":"32 Tauri", "SystemAddress":663312386395, "StarPos":[-22.12500,-53.03125,-125.59375], "SystemAllegiance":"", "SystemEconomy":"$economy_None;", "SystemEconomy_Localised":"None", "SystemSecondEconomy":"$economy_None;", "SystemSecondEconomy_Localised":"None", "SystemGovernment":"$government_None;", "SystemGovernment_Localised":"None", "SystemSecurity":"$GAlAXY_MAP_INFO_state_anarchy;", "SystemSecurity_Localised":"Anarchy", "Population":0, "Body":"32 Tauri A", "BodyID":1, "BodyType":"Star", "JumpDist":28.615, "FuelUsed":4.984011, "FuelLevel":27.015989 }
slippycheeze commented 1 year ago

edit to add: the game translates that as "AX Pilot Mullen" in the chat log.