Quatorio-scene-3 sim_planet

Place to get help with not working mods / modding interface.
Artenchink
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 17, 2025 8:39 am
Contact:

Quatorio-scene-3 sim_planet

Post by Artenchink »

Quatorio-scene-3 doesnt show other planet surface. Its showing only black screen with error. How to fix it??? :cry:

Code: Select all

menu_simulations["quatorio-scene-3"] = {
  checkboard = false,
  save = "__Quatorio__/menu-simulations/Quatorioscene3.zip",
  length = 60 * 20,
  init = [[
    local sim_planet = game.simulation["gleba"]
    game.simulation.camera_surface_index = sim_planet.index
    game.simulation.camera_position = {47, 224}
    game.simulation.camera_zoom = 1
    game.tick_paused = false
    sim_planet.daytime = 0.5
  ]],
  update = [[
    local dx = 0
    local dy = 0
    if game.tick % 3000 < 1000 then
      dx = 0.01
    elseif game.tick % 3000 < 2000 then
      dx = -0.01
    end
    if (game.tick + 1500) % 3000 < 1000 then
      dy = 0.01
    elseif (game.tick + 1500) % 3000 < 2000 then
      dy = -0.01
    end
    game.simulation.camera_position = {game.simulation.camera_position.x + dx*0, game.simulation.camera_position.y + dy*0}
  ]]
}
What I need to do? :?
Post Reply

Return to “Modding help”