Can Someone try recover a mod I made?

I was making a mod ‘Terraformed_Moon_III’ On normandy_smn_2x2 that I replaced the level_blk of to be battle_of_moon, I added battle box zones to it for the axis and saved then restarted. Now it comes up with this:


Then crashes within a second.
I have a backup that I made but it is very outdated (from when I first made it the moon map)
here’s the scene.blk file:
Terraformed_Moon_III_.zip (152.1 KB)
Also just in case it’s useful here’s the manual backup’s scene.blk file:
Terraformed_Moon_III_Backup.zip (54.6 KB)
Thanks in advance to any one who tries to help

1 Like

So i just need to help you change the level__blk back to normandy :slight_smile:
Easy!
Edit #1: Actually not. I am tracking down the template that is causing the crash - by removing everything until it loads and add things back one by one to narrow down on the culprit.

Edit #2: I have narrowed down to around 100 templates left, between lines 1 to 841, seems to be one of the many tanks you placed, not the battle area boxes

I have located the problematic template

entity{
  _template:t="jp_type_2_ho_i_forest_fourcolor_battlepass_premium"
  transform:m=[[-0.984127, 0, 0.177466] [0, 1, 0] [-0.177466, 0, -0.984127] [-453.469, 228.454, 427.222]]
  destroyIfNoCrewLeft:b=no
  vehicle_seats__restrictToTeam:i=2
  team:i=2

  "animchar__objTexReplace:object"{
    "jp_camo_willow_green*":t="jp_camo_warship_grey*"
  }

  "animchar__objTexSet:object"{
    "type_2_ho_i_turret_c*:object"{}
    "type_3_chi_nu_body_c*:object"{
      "type_3_chi_nu_forest_fourcolor_body_c*":t="camo_skin_tex"
    }
  }
}

After removing this from scene.blk, the game no longer crashes
I believe this line "type_2_ho_i_turret_c*:object"{} is problematic, let me run some test right now

Edit: Yes, it is indeed the issue with the empty object!
If I comment it out that line, it will load
(“//” tells the game to ignore anything behind that in the line)

I will pass the scene back to you in private message, please check your inbox for more