Page 1 of 1

Cant launch character to space platform with custom hub

Posted: Tue Nov 25, 2025 6:16 pm
by ILYADNEPR
I am making a fork of factorissimo to have livable conditions in space(having player inside of a factory while on space platform) so you can do stuff like biolabs in space. the problem is that when i created a hub and a platform with it when i click to launch my character into space onto that platform it just does not do anything, but with vanilla hub everything is fine.

Re: Cant launch character to space platform with custom hub

Posted: Tue Nov 25, 2025 6:20 pm
by ILYADNEPR
Factorio 2.0.72 (build 84292, win64, steam, space-age)

Re: Cant launch character to space platform with custom hub

Posted: Tue Nov 25, 2025 7:13 pm
by Rseding91
Are you making the platform and calling apply starter pack or are you doing create_entity() to make the hub?

Re: Cant launch character to space platform with custom hub

Posted: Wed Nov 26, 2025 7:35 am
by ILYADNEPR
Sending custom starter pack like a vanilla one
here are the prototypes

{
type = "space-platform-hub",
name = "space-platform-hub-building-tier-1",
icon = "__space-age__/graphics/icons/space-platform-hub.png",
icon_size = 64,
flags = {"player-creation", "not-deconstructable"},
subgroup = "space-platform",
order = "b[space-platform-hub]",
collision_box = {{-7.8, -7.8}, {7.8, 7.8}},
selection_box = {{-8, -8}, {8, 8}},
max_health = 5000,
weight = 400000,
inventory_size = 99,
dump_container = "crash-site-chest-1",
circuit_wire_max_distance = default_circuit_wire_max_distance,
circuit_connector = circuit_connector_definitions["space-platform-hub"],
default_speed_signal = {type = "virtual", name = "signal-V"},
default_damage_taken_signal = {type = "virtual", name = "signal-D"},
platform_repair_speed_modifier = 0.1,
open_sound = sounds.metal_large_open,
close_sound = sounds.metal_large_close,
surface_conditions = {
{
property = "pressure",
min = 0,
max = 0
}
},
graphics_set = {
connections = require("__space-age__.graphics.entity.cargo-hubs.connections.platform-connections"),
picture = {
{
render_layer = "lower-object-above-shadow",
layers = {
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-0-A", {scale = 0.5, shift = {0, -1}}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-0-B", {scale = 0.5, shift = {0, -1}}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-0-C", {scale = 0.5, shift = {0, -1}}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-0-D", {scale = 0.5, shift = {0, -1}})
}
},
{
render_layer = "lower-object-overlay",
layers = {
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-1-A", {scale = 0.5, shift = {0, -1}}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-1-B", {scale = 0.5, shift = {0, -1}}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-1-C", {scale = 0.5, shift = {0, -1}})
}
},
{
render_layer = "object-under",
layers = {
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-2", {scale = 0.5, shift = {0, -1}})
}
},
{
render_layer = "object",
layers = {
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-3", {scale = 0.5, shift = {0, -1}}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-shadow", {scale = 0.5, shift = {8, 0}, draw_as_shadow = true}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-emission-A", {scale = 0.5, shift = {0, -1}, draw_as_glow = true, blend_mode = "additive"}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-emission-B", {scale = 0.5, shift = {0, -1}, draw_as_glow = true, blend_mode = "additive"}),
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hubs/platform-hub-emission-C", {scale = 0.5, shift = {0, -1}, draw_as_glow = true, blend_mode = "additive"})
}
},
{
render_layer = "cargo-hatch",
layers = {
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hatches/platform-lower-hatch-occluder", {scale = 0.5, shift = {0, -1}})
}
},
{
render_layer = "above-inserters",
layers = {
util.sprite_load("__space-age__/graphics/entity/cargo-hubs/hatches/platform-upper-hatch-occluder", {scale = 0.5, shift = {0, -1}})
}
}
},
animation = cockpit_animation()
},
cargo_station_parameters = {
is_input_station = true,
is_output_station = true,
hatch_definitions = {
{
offset = {0.5, -3.5},
travel_height = 2.25,
busy_timeout_ticks = 3,
illumination_graphic_index = 0
},
{
offset = {2, -3.5},
travel_height = 2.25,
busy_timeout_ticks = 3,
illumination_graphic_index = 1
},
{
offset = {1.25, -2.5},
travel_height = 1.25,
busy_timeout_ticks = 3,
illumination_graphic_index = 2
},
{
offset = {-1.75, 0},
travel_height = 2,
busy_timeout_ticks = 3,
illumination_graphic_index = 0
},
{
offset = {-0.5, 0.5},
travel_height = 1.5,
busy_timeout_ticks = 3,
illumination_graphic_index = 1
},
{
offset = {-2, 1},
travel_height = 1,
busy_timeout_ticks = 3,
illumination_graphic_index = 2
}
},
giga_hatch_definitions = {
platform_upper_giga_hatch({0, 1, 2}),
platform_lower_giga_hatch({3, 4, 5})
}
},
persistent_ambient_sounds = {
base_ambience = {filename = "__space-age__/sound/wind/base-wind-space-platform.ogg", volume = 0.8},
wind = {filename = "__space-age__/sound/wind/wind-space-platform.ogg", volume = 0.8},
crossfade = {
order = {"wind", "base_ambience"},
curve_type = "cosine",
from = {control = 0.35, volume_percentage = 0.0},
to = {control = 2, volume_percentage = 100.0}
}
},
surface_render_parameters = {
shadow_opacity = 0.5,
space_dust_background = {
animation_speed = 1,
noise_texture = {
filename = "__space-age__/graphics/space/dustTrailSpeckDust.png",
size = 4096,
premul_alpha = false
},
asteroid_texture = {
filename = "__space-age__/graphics/space/asteroidTexture.png",
size = 1024
},
asteroid_normal_texture = {
filename = "__space-age__/graphics/space/asteroidNormalTexture.png",
size = 1024
}
},
space_dust_foreground = {
animation_speed = 1,
noise_texture = {
filename = "__space-age__/graphics/space/dustTrailSpeckDust.png",
size = 4096,
premul_alpha = false
},
asteroid_texture = {
filename = "__space-age__/graphics/space/asteroidTexture.png",
size = 1024
},
asteroid_normal_texture = {
filename = "__space-age__/graphics/space/asteroidNormalTexture.png",
size = 1024
}
}
}
},
{
type = "space-platform-starter-pack",
name = "space-platform-starter-pack-with-factory-building-tier-1",
icon = "__space-age__/graphics/icons/space-platform-starter-pack.png",
subgroup = "space-rocket",
order = "b[space-platform-starter-pack]",
inventory_move_sound = item_sounds.mechanical_large_inventory_move,
pick_sound = item_sounds.mechanical_large_inventory_pickup,
drop_sound = item_sounds.mechanical_large_inventory_move,
stack_size = 1,
weight = 1*tons,
surface = "space-platform",
trigger =
{
{
type = "direct",
action_delivery =
{
type = "instant",
source_effects =
{
{
type = "create-entity",
entity_name = "space-platform-hub-building-tier-1"
}
}
}
}
},
tiles = make_tile_area({{-10, -10}, {9, 9}}, "space-platform-foundation"),
initial_items = {{type = "item", name = "space-platform-foundation", amount = 100}},
create_electric_network = true,
}