[Donion] [2.0.69] Crash creating high range artillery turret (AdvancedVolumeControl::getFadeModifier)
Posted: Thu Oct 02, 2025 4:17 pm
The turret is defined like this:
When it is created (from editor or by script), the game crashes.
I'd expect the range should be checked during prototype loading instead of crashing at runtime
Code: Select all
data:extend{
{
type = "artillery-turret",
name = "spos-dummy-artillery",
gun = "artillery-wagon-cannon",
manual_range_modifier = 7*32,
collision_mask = {layers = {}},
is_military_target = false,
alert_when_attacking = false,
disable_automatic_firing = true,
inventory_size = 1,
ammo_stack_limit = 1,
turret_rotation_speed = 1,
cannon_base_shift = {0,0,0},
},
}
I'd expect the range should be checked during prototype loading instead of crashing at runtime