Stellaris

Stellaris

New Megastructures 2.6.2
Trabber Shir 27 Apr, 2020 @ 3:38pm
A guess at what is in this mod
Edit: the below is totally inaccurate but somewhat close.

The description is gone and I only recently found this mod. So, I read the mod files to figure out what it offers, looks really nice and actually makes Voidborne worth taking. But I think I see a few bugs. So, I have tried converting my markdown notes into forum syntax to share with gtr5555 and community.

Due to post length restrictions looks like I am goign to have to split this into several forum posts.

New Megastructures 2.6.2

Steller Silo

"A large floating storage silo"
A megastructure which increases empire resource storage capacity.
Requires the Voidborne Ascension Perk.
It must be built around a main sequence star (star that is not black hole, neutron star or pulsar).
Cannot be built in the same system as any other megastructure (except for a gateway).
The target star must not have an orbital station or anomaly.
The target system must be inside your empire's borders.
You can build a maximum of three.

Stage Number
Stage Name
Build Time
Cost (Alloy)
Cost (Mineral)
Cost (Influence)
Upkeep (Energy)
Resource Max Increase
0
Steller Silo
360
1000
100
5
1
Steller Silo
360
1000
20
2000
2
Steller Silo
500
2000
1000
30
4000
3
Steller Silo
700
2000
1000
40
8000
4
Steller Silo
1000
4000
1000
50
16000
5
Steller Silo
1500
10000
50
32000

Orbital gas Refinery

"A large gas refinery floating around a gas giant"
A megastructure which produces exotic gases.
Requires the Voidborne Ascension Perk.
It must be built around a Gas Giant.
Cannot be built around the same planet as any other megastructure.
The target planet must not have an anomaly.
The target system must be inside your empire's borders.
You can build a maximum of three.

Stage Number
Stage Name
Build Time
Cost (Alloy)
Cost (Mineral)
Cost (Influence)
Upkeep (Energy)
Upkeep (Minerals)
Exotic Gases Produced
0
Orbital gas Refinery
500
1000
200
25
1
Orbital gas Refinery
360
1000
50
50
10
2
Orbital gas Refinery
500
2000
1000
75
100
20
3
Orbital gas Refinery
700
4000
2000
100
75
20
4
Orbital gas Refinery
1500
8000
4000
250
150
50

orbital agricultural complex

"A farm in the heavens"
A megastructure which produces food.
Requires the Voidborne Ascension Perk.
Must be built around a planet which is not habitable.
May not be built around moons or asteroids.
Cannot be built around the same planet as any other megastructure.
The target planet must not have an anomaly.
The target system must be inside your empire's borders.
You can build a maximum of two.

Stage Number
Stage Name
Build Time
Cost (Alloy)
Cost (Mineral)
Cost (Influence)
Upkeep (Energy)
Upkeep (Minerals)
Food Produced
0
orbital agricultural complex
500
1000
100
25
1
orbital agricultural complex
500
1000
5
5
25
2
orbital agricultural complex
500
1000
1000
10
10
50
3
orbital agricultural complex
700
1500
1000
20
20
100
4
orbital agricultural complex
800
2000
1000
20
30
150
5
orbital agricultural complex
1000
4000
2000
20
40
200
6
orbital agricultural complex
600
4000
2000
20
40
300
7
orbital agricultural complex
600
5000
2000
20
50
400
8
orbital agricultural complex
1000
10000
10000
30
50
500

government complex

"A masive bureaucratic complex"
A megastructure which increases your admin capacity.
Requires the Voidborne Ascension Perk for the first five levels and Galactic Wonders for the final four levels.
It must be built around a main sequence star (star that is not black hole, neutron star or pulsar).
Cannot be built in the same system as any other megastructure (except for a gateway).
The target star must not have an orbital station or anomaly.
The target system must be inside your empire's borders.
You can build a maximum of one.

Stage Number
Stage Name
Build Time
Cost (Alloy)
Cost (Mineral)
Cost (Influence)
Upkeep (Energy)
Admin Cap Increase
0
government complex
360
500
100
5
1
government complex
360
1000
20
30
2
government complex
500
1500
1000
30
50
3
government complex
700
5000
1000
40
100
4
government complex
1000
10000
50
150
5
government complex
1500
10000
75
250
6
government complex
1500
15000
100
350
7
government complex
2000
20000
100
500
8
government complex
3000
25000
150
750

Dyson Array

"A large solar panel array"
Alternate path to building the dyson sphere. The last four stages of this megastructure are identical to the last four stages of the vanilla dyson sphere. That includes needing the Dyson Sphere tech in order to upgrade to those levels.
Requires the Voidborne Ascension Perk.
It must be built around a main sequence star (star that is not black hole, neutron star or pulsar).
Cannot be built in the same system as any other megastructure (except for a gateway).
The target star must not have an orbital station or anomaly.
The target system must be inside your empire's borders.
You can build a maximum of three. These are in addition to the single vanilla Dyson Sphere you can build, so with this mod and the voidborne perk, you can have a total of 4 Dyson Spheres.

Stage Number
Stage Name
Build Time
Cost (Alloy)
Cost (Mineral)
Cost (Influence)
Upkeep (Energy)
Energy Produced
0
Dyson array
360
1000
200
5
1
Dyson array
360
1000
1000
50
2
Dyson array
500
2000
1000
100
3
Dyson array
700
5000
200
4
Dyson array
1000
5000
300
5
Dyson array
2000
10000
500
6
Partial dyson sphere
3600
10000
1000
7
Partial dyson sphere
3600
10000
2000
8
Partial dyson sphere
3600
10000
3000
8
Dyson Sphere
3600
10000
4000

Crystal matrix

"A expansive crystal forming facility"
A megastructure which produces Rare Crystals.
Requires the Voidborne Ascension Perk.
Must be built around a barren planet.
May not be built around moons or asteroids.
Cannot be built around the same planet as any other megastructure.
The target planet must not have an anomaly.
The target system must be inside your empire's borders.
You can build a maximum of three.

Stage Number
Stage Name
Build Time
Cost (Alloy)
Cost (Mineral)
Cost (Influence)
Upkeep (Energy)
Upkeep (Minerals)
Rare Crystals Produced
0
Crystal matrix
500
1000
200
25
1
Crystal matrix
500
1000
50
50
10
2
Crystal matrix
500
2000
1000
75
100
20
3
Crystal matrix
700
4000
100
75
20
4
Crystal matrix
1000
5000
250
150
50

Mega forge

"a forge in the heavens"
A megastructure which produces alloys.
Requires the Voidborne Ascension Perk.
Must be built around a molten planet.
May not be built around moons or asteroids.
Cannot be built around the same planet as any other megastructure.
The target planet must not have an anomaly.
The target system must be inside your empire's borders.
You can build a maximum of three.

Stage Number
Stage Name
Build Time
Cost (Alloy)
Cost (Mineral)
Cost (Influence)
Upkeep (Energy)
Upkeep (Minerals)
Alloys Produced
0
Mega forge
500
2000
200
25
1
Mega forge
700
2000
50
100
25
2
Mega forge
700
2000
1000
50
200
50
3
Mega forge
700
4000
2000
50
175
50
4
Mega forge
700
5000
2500
50
350
100
5
Mega forge
1000
7000
3000
100
525
250
6
Mega forge
1000
10000
200
875
500
7
Mega forge
1500
10000
300
750
500
8
Mega forge
1500
20000
300
1300
1000
Last edited by Trabber Shir; 5 May, 2020 @ 2:39pm
< >
Showing 1-2 of 2 comments
Trabber Shir 27 Apr, 2020 @ 3:49pm 
Suspected bugs

placement of too many construction sites

I have not tested this with your mod, but similar code in Megastructural Engineering and More seems to be the cause of this bug for the Penrose Sphere over there:

When the variable use to restrict placement of multiple structures is read in `placement_rules` or `possible` on the fist stage (aka construction site) but set in `on_build_complete` for that stage you generate a race condition where a player can designate as many be constructed as they can afford and any that should not have been allowed will get cancelled when the last valid one completes. I do not know how you would fix this, and lookign at 01_dyson_sphere.txt it looks like they did the same thing in vanilla, if the same happens in vanilla I suspect I never encountered it because of the 300 influence cost.

This is how you enforce the limits on how many of each of your megastructures can be built by an empire.

dead code

Technically not bugs, but you have code that either does nothing or is commented out and as a developer, that bugs me. Here it is:
  • `place_entity_on_planet_plane` is defined twice on `orbital_gas_refinery0`
  • `orbital_gas_refinery0`, `orbital_agricultural_complex0`, and `mega_forge0` check `has_no_non_gate_megastructure` on a planet which I believe always returns true, and you have several bits of code I susupect you tried without success commented out

not checking for orbital stations

The following megastructures can be built on bodies that have existing orbital stations, I suspect these to be bugs, but am not sure.
  • orbital_gas_refinery0
  • orbital_agricultural_complex0
  • crystal_matrix0
  • mega_forge0

Capitalization, spelling, and grammar

Here are my suggested individual changes:
  • Steller Silo -> Stellar Silo
  • Orbital gas Refinery -> Orbital Gas Refinery
  • A Orbital gas Refinery -> An orbital gas refinery
  • orbital agricultural complex -> Orbital Agricultural Complex
  • government complex -> Government Complex
  • A masive bureaucratic complex -> A massive bureaucratic complex
  • Crystal matrix -> Crystal Matrix
  • A expansive crystal forming facility -> An expansive crystal forming facility
  • Mega forge -> Mega Forge
  • a forge in the heavens -> A forge in the heavens
  • a stage of a mega forge is complete -> A stage of a mega forge is complete.
  • The empire can only support three orbital agricultural complexs -> The empire can only support three orbital agricultural complexes

I also suggest somehow making the following use consistent wording (and capitalization). I personally prefer how you do it for orbital agricultural complexes:
  • empire can not support more then three mega forges
  • can not build more than three Steller Silos
  • can not build more then three Orbital gas Refinery
  • The empire can only support three orbital agricultural complexs
  • Empire can only support three crystal matrix
  • you can only support one government complex

    If English is not your primary language and you would like some help with the English localization I would be glad to help.
Last edited by Trabber Shir; 27 Apr, 2020 @ 4:28pm
gtr5555  [developer] 19 Dec, 2020 @ 2:22pm 
Originally posted by Trabber Shir:
Suspected bugs

placement of too many construction sites

I have not tested this with your mod, but similar code in Megastructural Engineering and More seems to be the cause of this bug for the Penrose Sphere over there:

When the variable use to restrict placement of multiple structures is read in `placement_rules` or `possible` on the fist stage (aka construction site) but set in `on_build_complete` for that stage you generate a race condition where a player can designate as many be constructed as they can afford and any that should not have been allowed will get cancelled when the last valid one completes. I do not know how you would fix this, and lookign at 01_dyson_sphere.txt it looks like they did the same thing in vanilla, if the same happens in vanilla I suspect I never encountered it because of the 300 influence cost.

This is how you enforce the limits on how many of each of your megastructures can be built by an empire.

dead code

Technically not bugs, but you have code that either does nothing or is commented out and as a developer, that bugs me. Here it is:
  • `place_entity_on_planet_plane` is defined twice on `orbital_gas_refinery0`
  • `orbital_gas_refinery0`, `orbital_agricultural_complex0`, and `mega_forge0` check `has_no_non_gate_megastructure` on a planet which I believe always returns true, and you have several bits of code I susupect you tried without success commented out

not checking for orbital stations

The following megastructures can be built on bodies that have existing orbital stations, I suspect these to be bugs, but am not sure.
  • orbital_gas_refinery0
  • orbital_agricultural_complex0
  • crystal_matrix0
  • mega_forge0

Capitalization, spelling, and grammar

Here are my suggested individual changes:
  • Steller Silo -> Stellar Silo
  • Orbital gas Refinery -> Orbital Gas Refinery
  • A Orbital gas Refinery -> An orbital gas refinery
  • orbital agricultural complex -> Orbital Agricultural Complex
  • government complex -> Government Complex
  • A masive bureaucratic complex -> A massive bureaucratic complex
  • Crystal matrix -> Crystal Matrix
  • A expansive crystal forming facility -> An expansive crystal forming facility
  • Mega forge -> Mega Forge
  • a forge in the heavens -> A forge in the heavens
  • a stage of a mega forge is complete -> A stage of a mega forge is complete.
  • The empire can only support three orbital agricultural complexs -> The empire can only support three orbital agricultural complexes

I also suggest somehow making the following use consistent wording (and capitalization). I personally prefer how you do it for orbital agricultural complexes:
  • empire can not support more then three mega forges
  • can not build more than three Steller Silos
  • can not build more then three Orbital gas Refinery
  • The empire can only support three orbital agricultural complexs
  • Empire can only support three crystal matrix
  • you can only support one government complex

    If English is not your primary language and you would like some help with the English localization I would be glad to help.


Makeing changes requested and updateing the mod now
< >
Showing 1-2 of 2 comments
Per page: 1530 50