[2.0.69][Modding] SimulationDefinition::game_view_settings seemingly does nothing
Posted: Sat Oct 04, 2025 7:44 pm
Hi, I noticed while making a menu simulation that this setting seemingly doesn't work as intended
https://lua-api.factorio.com/latest/typ ... w_settings
The save in question has been saved in normal mode, the way to bypass this is to save in editor mode, which makes the bottom bar disappear.
I also noticed that even when planet = panglia, by default the camera is on Nauvis, and to bypass that, I need to init "game.simulation.camera_player = "snouz"
https://lua-api.factorio.com/latest/typ ... w_settings
The save in question has been saved in normal mode, the way to bypass this is to save in editor mode, which makes the bottom bar disappear.
I also noticed that even when planet = panglia, by default the camera is on Nauvis, and to bypass that, I need to init "game.simulation.camera_player = "snouz"
Code: Select all
<code that makes every other sim disabled>
local menu_sims = data.raw["utility-constants"]["default"].main_menu_simulations
menu_sims.panglia_panderoots_sim = {
checkboard = false,
planet = "panglia",
game_view_settings = {default_show_value = false, show_shortcut_bar = false, show_quickbar = false, show_tool_bar = false},
save = "__panglia_planet__/menu-simulations/panglia_panderoots_sim.zip",
length = 13 * second,
init = [[
game.simulation.camera_zoom = 1
game.simulation.camera_player = "snouz"
game.simulation.camera_position = {327,30}
game.simulation.camera_alt_info = false
game.simulation.hide_cursor = true
game.tick_paused = false
]],
}