How to make space way

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

How to make space way

Post by Artenchink »

I made planet "Vorbis". But it hasnt got space ways

Code: Select all

require("__space-age__.prototypes.planet.planet-vulcanus-map-gen")
local planet_map_gen = require("__space-age__.prototypes.planet.planet-map-gen")

local effects = require("__core__.lualib.surface-render-parameter-effects")
local asteroid_util = require("__space-age__.prototypes.planet.asteroid-spawn-definitions")
local planet_catalogue_voriber = require("__Quatorio__.prototypes.planet.procession-catalogue-voriber")

data:extend(
{
  {
    type = "planet",
    name = "Voriber",
    icon = "__space-age__/graphics/icons/vulcanus.png",
    starmap_icon = "__Quatorio__/graphics/icons/starmap-planet-Voriber.png",
    starmap_icon_size = 512,
    gravity_pull = 20,
    distance = 15,
    orientation = 0.5,
    magnitude = 1.5,
    order = "c[Voriber]",
    subgroup = "planets",
    map_gen_settings = planet_map_gen.vulcanus(),
    pollutant_type = nil,
    solar_power_in_space = 300,
    platform_procession_set =
    {
      arrival = {"planet-to-platform-b"},
      departure = {"platform-to-planet-a"}
    },
    planet_procession_set =
    {
      arrival = {"platform-to-planet-b"},
      departure = {"planet-to-platform-a"}
    },
    procession_graphic_catalogue = planet_catalogue_voriber,
    surface_properties =
    {
      ["day-night-cycle"] = 3 * minute,
      ["magnetic-field"] = 56,
      ["solar-power"] = 150,
      pressure = 4000,
      gravity = 40
    },
    asteroid_spawn_influence = 1.5,
    asteroid_spawn_definitions = asteroid_util.spawn_definitions(asteroid_util.nauvis_vulcanus, 0.9),
    persistent_ambient_sounds =
    {
      base_ambience = {filename = "__space-age__/sound/wind/base-wind-vulcanus.ogg", volume = 0.8},
      wind = {filename = "__space-age__/sound/wind/wind-vulcanus.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}
      },
      semi_persistent =
      {
        {
          sound = {variations = sound_variations("__space-age__/sound/world/semi-persistent/distant-rumble", 3, 0.5)},
          delay_mean_seconds = 10,
          delay_variance_seconds = 5
        },
        {
          sound = {variations = sound_variations("__space-age__/sound/world/semi-persistent/distant-flames", 5, 0.6)},
          delay_mean_seconds = 15,
          delay_variance_seconds = 7.0
        }
      }
    },
    surface_render_parameters =
    {
      fog = effects.default_fog_effect_properties(),
      -- clouds = effects.default_clouds_effect_properties(),

      -- Should be based on the default day/night times, ie
      -- sun starts to set at 0.25
      -- sun fully set at 0.45
      -- sun starts to rise at 0.55
      -- sun fully risen at 0.75
      day_night_cycle_color_lookup =
      {
        {0.0, "__space-age__/graphics/lut/vulcanus-1-day.png"},
        {0.20, "__space-age__/graphics/lut/vulcanus-1-day.png"},
        {0.45, "__space-age__/graphics/lut/vulcanus-2-night.png"},
        {0.55, "__space-age__/graphics/lut/vulcanus-2-night.png"},
        {0.80, "__space-age__/graphics/lut/vulcanus-1-day.png"},
      },

      terrain_tint_effect =
      {
        noise_texture =
        {
          filename = "__space-age__/graphics/terrain/vulcanus/tint-noise.png",
          size = 4096
        },

        offset = { 0.2, 0, 0.4, 0.8 },
        intensity = { 0.5, 0.2, 0.3, 1.0 },
        scale_u = { 3, 1, 1, 1 },
        scale_v = { 1, 1, 1, 1 },

        global_intensity = 0.3,
        global_scale = 0.1,
        zoom_factor = 3,
        zoom_intensity = 0.6
      }
    }
  }
})
And there are procession-catalogue-voriber:

Code: Select all

local planet_catalogue_voriber = {
    {
        index = 1,
        name = "planet-to-platform-b",
        sprite = {
            filename = "__Quatorio__/graphics/planet/procession-to-platform-b.png",
            width = 64,
            height = 64,
            frame_count = 1,
            direction_count = 1
        },
        speed = 0.2,
        scale = 0.5
    },
    {
        index = 2,
        name = "platform-to-planet-a",
        sprite = {
            filename = "__Quatorio__/graphics/planet/procession-to-planet-a.png",
            width = 64,
            height = 64,
            frame_count = 1,
            direction_count = 1
        },
        speed = 0.3,
        scale = 0.6
    }
}

return planet_catalogue_voriber
How to make space way? :?
User avatar
Osmo
Fast Inserter
Fast Inserter
Posts: 186
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: How to make space way

Post by Osmo »

You need to define space connections https://lua-api.factorio.com/latest/pro ... otype.html
Artenchink
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Oct 17, 2025 8:39 am
Contact:

Re: How to make space way

Post by Artenchink »

Osmo wrote: Mon Oct 27, 2025 11:42 am You need to define space connections https://lua-api.factorio.com/latest/pro ... otype.html
Thanks! Its really working now :)
Post Reply

Return to “Modding help”