Bot Leader Missing Name

Discuss problems and suggestions related to the Into the Breach here.
User avatar
R30hedron
Posts: 8
Joined: Tue Jun 06, 2017 8:38 pm

Bot Leader Missing Name

Postby R30hedron » Sun Dec 20, 2020 7:05 am

When the Bot Leader is present on Pinnacle and Pinnacle is the third or fourth island in a run, it does not have an assigned name, leaving it as "Unnamed Pawn".

Image

Looking at the game's lua scripts, this is due to the Bot Leader having two different pawn definitions, BotBoss and BotBoss2, and the game uses BotBoss if it is fought on the first or second island and uses BotBoss2 if it is fought on the third or fourth island. Although there may be a more elegant method to fix this, the easiest method I found was to add an additional line in \path\to\game\scripts\localization\Pawns.csv for BotBoss2 as follows:

Code: Select all

  ...
  Line 119: BeetleBoss,Beetle Leader,Beetle Leader,Chef Coléoptère,Käfer-Anführer,Capo Coleottero,Żuk Przywódca,Líder Besouro,Жук-лидер,Líder escarabajo,,,,,,,,,,,,,,,,,,,,,,,,,,
  Line 120: BotBoss,Bot Leader,Bot Leader,Chef Robot,Bot-Anführer,Capo Bot,Bot Przywódca,Bot-Líder,Бот-лидер,Líder bot,,,,,,,,,,,,,,,,,,,,,,,,,,
Added line: BotBoss2,Bot Leader,Bot Leader,Chef Robot,Bot-Anführer,Capo Bot,Bot Przywódca,Bot-Líder,Бот-лидер,Líder bot,,,,,,,,,,,,,,,,,,,,,,,,,,
  Line 121: FireflyBoss,Firefly Leader,Firefly Leader,Chef Libellule,Glühwurm-Anführer,Capo Libellula,Świetlik Przywódca,Líder Vagalume,Светляк-лидер,Líder luciérnaga,,,,,,,,,,,,,,,,,,,,,,,,,,
  ...