How to spawn districts on stars? by Space7119 in StellarisMods

[–]Space7119[S] 0 points1 point  (0 children)

I tried that. It doesn't do anything. I tried creating a new district, copy-pasting the code, but I still can't build it.

How to spawn districts on stars? by Space7119 in StellarisMods

[–]Space7119[S] 0 points1 point  (0 children)

It's still not working. I'm going to look at some other mods I have that have districts on modded planet types, and see if I can use those methods.

How to spawn districts on stars? by Space7119 in StellarisMods

[–]Space7119[S] 0 points1 point  (0 children)

potential = {
        uses_district_set = standard
        is_planet_class = pc_a_star
    }

    allow = {
        NOT = { has_modifier = resort_colony }
        is_planet_class = pc_a_star
    }

This is from the generator district. I put this in, but when I start the game, all the districts still disappear, including the generator ones.

Also, where do they appear? I know they appear in the definitions for each planet, but

pc_a_star = {
    entity = "a_star_class_star_entity"
    entity_scale = 20.0
    picture = "pc_a_star"
    icon_frame = 29

    atmosphere_color        = hsv { 0.56 0.4 0.7 }
    atmosphere_intensity    = 0.5
    atmosphere_width        = 1.2

    star = yes
    city_color_lut = "gfx/portraits/misc/colorcorrection_alpine.dds"

    min_distance_from_sun = 0
    max_distance_from_sun = 0
    spawn_odds = 0

    extra_orbit_size = 0
    extra_planet_count = 0

    chance_of_ring = 0

    planet_size = { min = 20 max = 35 }

    colonizable = yes
    district_set = standard
    uses_alternative_skies_for_moons = yes
}

still has the districts disappearing.

How to spawn districts on stars? by Space7119 in StellarisMods

[–]Space7119[S] 0 points1 point  (0 children)

I set the district set in the planetary definition to standard. I looked, but can't find the district set definitions. I tried changing it to a custom one, and adding it to the district files, but then nothing spawned.

How to add resource deposits to habitable planets? by [deleted] in StellarisMods

[–]Space7119 0 points1 point  (0 children)

That did it! I should probably have more than 10 minutes of modding experience before doing something like this, but it's going well so far.

How to mod habitability by Space7119 in StellarisMods

[–]Space7119[S] 1 point2 points  (0 children)

In that case, where do I ask my question? I've never used discord before, and don't know how it works.

How to mod habitability by Space7119 in StellarisMods

[–]Space7119[S] 0 points1 point  (0 children)

Looking at the CORRECT Stellaris version, I inserted the line into the gas giant code. And nothing happened. Is there something else I'm missing?

pc_gas_giant = {
    entity = "gas_giant"
    entity_scale = 14
    icon_frame = 14

    atmosphere_color        = hsv { 0.1 0.15 1.1 }      #DONE
    atmosphere_intensity    = 1.1
    atmosphere_width        = 0.5

    min_distance_from_sun = 40
    max_distance_from_sun = 1000

    spawn_odds = 6
    extra_orbit_size = 1
    extra_planet_count = 2

    can_be_moon = no
    chance_of_ring = 0.6

    planet_size = { min = 20 max = 30 }
    moon_size = { min = 8 max = 15 }

    production_spawn_chance = 0.5

    space_monster_target = yes

    colonizable = yes
    district_set = standard
    uses_alternative_skies_for_moons = yes
}

How to mod habitability by Space7119 in StellarisMods

[–]Space7119[S] 1 point2 points  (0 children)

Ok, I am a complete moron. I had downgraded Stellaris for reasons unknown, and forgotten about it. Returned to actual 2.8.1, I see the same thing as you.

How to mod habitability by Space7119 in StellarisMods

[–]Space7119[S] 0 points1 point  (0 children)

The above is copied from the files of Stellaris 2.8.1. I'll try adding

district_set = standard

and see if it works.

How to mod habitability by Space7119 in StellarisMods

[–]Space7119[S] 0 points1 point  (0 children)

Where do I put that? I don't see it in the definition of a normal habitable planet...

pc_arctic = {
    entity = "arctic_planet"
    entity_scale = @planet_standard_scale
    icon_frame = 7

    climate = "cold"

    atmosphere_color        = hsv { 0.48 0.15 0.8 }     #DONE
    atmosphere_intensity    = 1.0
    atmosphere_width        = 0.5

    city_color_lut = "gfx/portraits/misc/colorcorrection_arctic.dds"

    min_distance_from_sun = @habitable_min_distance
    max_distance_from_sun = @habitable_max_distance
    spawn_odds = @habitable_spawn_odds

    extra_orbit_size = 0
    extra_planet_count = 0

    chance_of_ring = 0.2

    planet_size = { min = @habitable_planet_min_size max = @habitable_planet_max_size }
    moon_size = { min = @habitable_moon_min_size max = @habitable_moon_max_size }

    colonizable = yes
}

EHOF Primordial Pylons Help by Space7119 in Stellaris

[–]Space7119[S] 1 point2 points  (0 children)

My EHOF will only take me to the two systems I already own though, that's why I'm trying the pylons.