Skip to content

Instantly share code, notes, and snippets.

@KnightMiner
Last active April 29, 2020 15:25
Show Gist options
  • Save KnightMiner/d7889a8728b7b6b3c0ede8161ea15293 to your computer and use it in GitHub Desktop.
Save KnightMiner/d7889a8728b7b6b3c0ede8161ea15293 to your computer and use it in GitHub Desktop.
Into the Breach 1.2 Changes
  • localizations
    • Game now contains localizations for all English text to support other languages
    • Many other files were modified to replace localizations with localization keys
      • missions, corporations.lua, pawns.lua, pilots.lua, squads.lua, structures.lua, text_population.lua, weapons_deploy.lua
    • No one has determined yet if custom localizations can be added
  • animations.lua
    • Mech animations height is now GetMechColorsInTexture() instead of GetColorCount()
      • This means the two functions can be overridden sepearately to give a different color list for animations and the UI
    • New animations: Selected_Left, Selected_Up, Selected_Down, and Selected_Right
      • Appear to be gamepad resources
    • New animations: jelly_ns and missile_ns
      • Both likely unused as those units cannot be commanded
  • color_map.lua
    • Added GetColorModeCount(). Usage unknown
  • drops.lua
    • getWeaponDrop(classes) now refills the weapon deck if all weapons are seen
  • fonts.lua
    • Added extended fonts
    • Added StatsTitle, StatsText, Tooltip_UpgradeText, and HangarConfirm fonts
  • game.lua
    • Added drawCall(). Default logic is empty
  • global.lua
    • Skill now includes GetTargetZone()
      • Default logic calls GetSkillEffect()
      • Most stills now set ZoneTargeting to ZONE_NONE, ZONE_DIR, or ZONE_ALL to prevent needing to override this function
      • According to Matthew, It's used for touch interface logic I think. When multiple tiles all have the same effect when you tap on it, the game wants those tiles "grouped". And I think that function is related to that logic
  • images.lua
    • Moved a bunch of things around
    • You might need to update any code using Locations
  • islands.lua
    • UI adjustements
  • pilots.lua
    • Default pilot cost reduces to 1 from 2
  • scripts.lua
    • Added localization scripts
    • Changed all the indentation, so maybe more got added
  • spawner_backend.lua
    • Added a nice comment explaining some of the logic
  • squad,lua
    • Squads all use constants for their IDs instead of localized strings. Before just Rift Walkers use a constant
    • Added 8 unused squads
      • 6 have names and mech pawn IDs, though none of the pawns exist
      • 2 are labeled as "Placeholder slot"
  • text.lua
    • Updates to a few texts
    • Language name texts
    • Several functions added to kwork with Chinese and Japanese
    • Region functions added for punctuation
    • GetText()
      • Now supports up to 3 parameters for replacements within the text, like string.format
      • Defaults to localizing text, falls back to defaults from the old text objects
    • Added IsText() tp check if a text exists
  • text_missions.lua
    • Default texts for missions, Corporations, and objectives
  • text_pawns.lua
    • Texts for pilot names, squad names, mech names, vek names, and other pawns like deploys
  • text_population.lua
    • Globalized PopEvent
  • text_tooltips.lua
    • GetSkillInfo() and GetStatusTooltip() all localize pilot skills, ignoring the list
    • GetTileTooltip() localizes while falling back to the list
  • weapons_base.lua
    • LaserBase:AddLaser
      • New parameter forced_end, to stop the laser before reaching a building, mountain, or board edge
      • SkillEffect:AddProjectile called with a new start parameter
    • Skill_Repair_Power (Harold) and Skill_Repair_Punch (Mantis) both have an icon property now with their image
  • weapons_prime.lua
    • Prime_Lightning marked in a comment TARGETING TODO
    • Prime_Areablast (Explosive Vents) and Prime_SpinFist (Vortex Fist) now has a custom GetTargetArea
      • Skills seems unchanged (does not use targed space in calculations)
  • weapons_science.lua
    • Science_Repulsenow has a custom GetTargetArea
      • Skills seems unchanged (does not use targed space in calculations)
  • weapons_support.lua
    • Science_Destructnow has a custom GetTargetArea
      • Skills seems unchanged (does not use targed space in calculations)
    • Support_Wind (Wind Torrent) implements a custom GetTargetZone

Everything is added unless otherwise noted

  • fonts
    • jp
      • NotoSans_10.font
      • NotoSans_10_2x.font
      • NotoSans_12.font
      • NotoSans_12_2x.font
      • NotoSans_13.font
      • NotoSans_13_2x.font
      • NotoSans_14.font
      • NotoSans_14_2x.font
      • NotoSans_17.font
      • NotoSans_17_2x.font
      • NotoSans_18.font
      • NotoSans_18_2x.font
      • NotoSans_19.font
      • NotoSans_19_2x.font
      • NotoSans_24.font
      • NotoSans_24_2x.font
      • NotoSans_8.font
      • NotoSans_8_2x.font
      • NotoSans_Small.font
      • NotoSans_Small_2x.font
      • NotoSans_Warning.font
    • zh-Hans
      • black_10.font
      • black_10_2x.font
      • black_12.font
      • black_12_2x.font
      • black_13.font
      • black_13_2x.font
      • black_14.font
      • black_14_2x.font
      • black_17.font
      • black_17_2x.font
      • black_18.font
      • black_18_2x.font
      • black_19.font
      • black_19_2x.font
      • black_24.font
      • black_24_2x.font
      • black_8.font
      • black_8_2x.font
      • black_Small.font
      • black_Small_2x.font
      • black_Warning.font
    • c&c.ttf (changed)
    • Justin13.ttf (changed)
    • Justin15.ttf (changed)
    • JustinFont10.ttf (changed)
    • JustinFont11.ttf (changed)
    • JustinFont11Bold.ttf (changed)
    • JustinFont12.ttf (changed)
    • JustinFont12Bold.ttf (changed)
    • JustinFont7.ttf (deleted)
    • JustinFont8.ttf (changed)
    • num_font.ttf (deleted)
    • Roboto-Bold.ttf
    • Roboto-Regular.ttf
  • img
    • combat
      • icons
        • icon_mind.png
        • icon_mind_glow.png
        • icon_mind_off_glow.png
        • warn_enemy_activity_ch.png
        • warn_enemy_activity_es.png
        • warn_enemy_activity_fr.png
        • warn_enemy_activity_ge.png
        • warn_enemy_activity_it.png
        • warn_enemy_activity_pl.png
        • warn_enemy_activity_pt.png
        • warn_enemy_activity_ru.png
        • warn_enemy_activity_small_ch.png
        • warn_enemy_activity_small_es.png
        • warn_enemy_activity_small_fr.png
        • warn_enemy_activity_small_ge.png
        • warn_enemy_activity_small_it.png
        • warn_enemy_activity_small_pl.png
        • warn_enemy_activity_small_pt.png
        • warn_enemy_activity_small_ru.png
      • looper_off.png
      • looper_on.png
      • looper_ready.png
    • gamepad
      • selectedtile_back_left.png
      • selectedtile_back_right.png
      • selectedtile_front_left.png
      • selectedtile_front_right.png
    • main_menus
      • calibration.png
    • mouse
      • crosshair.png
    • tutorial
      • tutorial_1a.png
      • tutorial_1b.png
      • tutorial_1c.png
      • tutorial_2a.png
      • tutorial_3.png
      • tutorial_4.png
      • tutorial_summary_1.png
      • tutorial_summary_2.png
    • ui
      • combat
        • attackorder_on.png (changed)
        • attackorder_on_ch.png
        • attackorder_on_es.png
        • attackorder_on_fr.png
        • attackorder_on_ge.png
        • attackorder_on_it.png
        • attackorder_on_pl.png
        • attackorder_on_pt.png
        • attackorder_on_ru.png
        • attackorder_select.png (changed)
        • attackorder_select_ch.png
        • attackorder_select_es.png
        • attackorder_select_fr.png
        • attackorder_select_ge.png
        • attackorder_select_it.png
        • attackorder_select_pl.png
        • attackorder_select_pt.png
        • attackorder_select_ru.png
        • attackorder_selected_ch.png
        • attackorder_selected_es.png
        • attackorder_selected_fr.png
        • attackorder_selected_ge.png
        • attackorder_selected_it.png
        • attackorder_selected_pl.png
        • attackorder_selected_pt.png
        • attackorder_selected_ru.png
      • hangar
        • pencil.png
      • strategy
        • text_shadow_left.png
        • text_shadow_middle.png
        • text_shadow_right.png
        • warning_ch.png
        • warning_es.png
        • warning_fr.png
        • warning_ge.png
        • warning_it.png
        • warning_pl.png
        • warning_pt.png
        • warning_ru.png
      • rename.png
      • rename_small.png
      • weapon_box_duplicate.png
    • units
      • aliens
        • jelly_ns.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment