Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Anubis-class Cruiser (12/20/24)

Pages: 1 2 [3] 4 5 ... 24

Author Topic: [0.9.1a] Boggled's Terraforming Mod  (Read 137946 times)

Yunru

  • Admiral
  • *****
  • Posts: 1567
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v0.9.1)
« Reply #30 on: November 02, 2019, 09:29:51 AM »

I'd say just get rid of the planet-type checks.
What's the worst that'll happen, you can put mirrors around a space station?

boggled

  • Admiral
  • *****
  • Posts: 1239
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v0.9.1)
« Reply #31 on: November 02, 2019, 09:51:29 AM »

Firstly, thank you for this!

From the above, I can see the following restrictions.
(Please correct me if I'm wrong)

Cannot terraform anything which:
  • Is not a planet
  • Has no atmosphere
  • Has thin atmosphere
  • Is in total darkness
  • Is not a vanilla entity

Is this correct?

One of the confusing things I've encountered is this:
Spoiler
[close]
By the rules this world should qualify to build a mirror.
It has a "normal" atmosphere.
It isn't dark.
I think the problem here is that it's a Cryo world. And those are not defined in the code.
(lava and lava_minor are also not defined.)


Planets which are typically considered good targets for terraforming (frozen, tundra, jungle, desert, etc.) are not subject to the atmosphere restriction. Only barren, toxic, etc. are. As far as vanilla planets go, only planets that already have 3+ stellar reflectors in orbit are blocked from building reflectors. Eochu Bres and Eventide are the only vanilla planets that meet that criteria, but faction mods might add more, and they would be blocked too.

Cryovolcanic and volcanic worlds cannot build mirrors because my understanding is that their climate is largely dictated by volcanism rather than amount of sunlight.

I'm not super knowledgeable about the real world science behind stellar reflectors and what effects they can have on different types of planets. If Nick XR or someone with more science knowledge wants to explain which planet types can be affected and how, I would defer to them.


I'm not sure if the player distance thing is working properly.
Spoiler
[close]
This is the third attempt I've made at terraforming a planet with mirrors, and it never does anything but count the number of cycles remaining up. It started at < 3 cycles.
I made sure to leave the system entirely, and still nothing.


I found a bug regarding frozen worlds in particular where the trigger to terraform them wasn't being set properly. It should be fixed with the latest 1.0 release.


I wonder if there's a way to call planet categories rather than individual id types?
This would make the code a lot simpler, and support procgen mods (like Unknown Skies).


I'll look into changing the logic to use categories. I didn't see that being used in the other terraforming mod I copied my code from, but I will see if I can get it working for mine.

I'd say just get rid of the planet-type checks.
What's the worst that'll happen, you can put mirrors around a space station?

I don't want the player to spend a lot of time and money building reflectors around a planet that can't benefit (or a station). This would be frustrating and confusing.

Interestingly, when frozen planets get terraformed, they become vastly better. eg: a 100% hazard from 175% because it removes the usual "Extreme Cold" but also a "Poor Light" condition. This is better than an originally-water world (which was also at 175%) which had other negatives like storms etc. Clearly we should shade the water world so it freezes and then warm it back up so there's no storms.

Also, Organics shows up (standard quality) which is handy since food (water world) and organics deposits are a bit rarer than say volatiles and the two ores.

Do all water worlds spawn with organics in them?

In this case, I think upkeep cost would work better than initial cost as a balancing mechanism. At 3 cycles, 10m credits, and 1 structure slot, terraforming is something people won't bother considering until they're just looking for an excuse to spend money. I have nothing against money sinks, but 10m would seem out of place, and I think such high initial costs would make terraforming non-viable for practical purposes, especially with such a long delay before seeing any benefit.
Agree, compared to vanilla structures, the time on these at 1080 days is much longer so that a "full up-front" seems less of a match to the "it's a long process" feel of it.

Take 10,000,000. Say 1 mil is your upfront (like the battle station -> star fortress) then your upkeep would be 9mil over 36 months or 250,000 a month. Now, might have to adjust though, since you have 1. hazard, 2. upkeep bonus from faction-supplies and 3. cores.

Then again a lower hazard world would be easier to make stellar shades in the orbit of... maybe? And I can see how using in-faction supplies and cores would work. Also, borrowing from the Waystation, perhaps making the structure demand various goods, with a steep upkeep penalty for shortages would also work. Like a lot of metals, transplutonics, (building) crew, heavy machinery and ship hulls (building in space) etc

Perhaps not make the goods requirements change with size (would be odd) but high so that you need likely player production or very high accessibility (though if the AI factions suddenly can't send enough, it will hurt) which again makes sense.

When you terraform a frozen world to a water world, organics are always added. My understanding is that organics are things like plants, animals, etc. which will always be abundant on a water world. I think procgen always spawns organics on water worlds; I could be wrong though.

If a planet spawns as a water world but has extreme weather, my understanding is that the extreme weather is being caused by something other than the amount of sunlight, such as the rotation speed of the planet, geological features and/or orbital characteristics. This appears to be the case on Chalcedon. Should reflectors remove extreme weather on Chalcedon?

Two things about having demand for the reflectors: (1) Vanilla industries with demand consume the demanded goods to produce a final product. Reflectors don't do that. The planetary shield has no demand, despite possibly needing heavy machinery or crew for maintenance. (2) My understanding of the economy in this game is that adding demand to structures will actually generate money for the player because the demand will be increasing the size of the global export market, which increases the player revenue if they have a share of that export market. Is this correct? If so, I would probably have to increase the upkeep of the reflectors to compensate for the increase in export revenue.
Logged

Yunru

  • Admiral
  • *****
  • Posts: 1567
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v0.9.1)
« Reply #32 on: November 02, 2019, 09:55:52 AM »

I don't want the player to spend a lot of time and money building reflectors around a planet that can't benefit (or a station). This would be frustrating and confusing.
But are there any that the conditions checks don't catch?

Serenitis

  • Admiral
  • *****
  • Posts: 1541
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v0.9.1)
« Reply #33 on: November 02, 2019, 10:02:41 AM »

Thank you for the explanation.

I'd say just get rid of the planet-type checks.

In theory (and I might be wrong about this) you could keep the player owned check, the station check, the darkness check, and the atmosphere checks.
And completely ignore planet types, and you'd still be restricted from terraforming most of the planets in the game because:

Darkness restrictions automatically eliminate ALL nebula/black hole planets, plus many "outer system" worlds.
Disallowing no atmosphere automatically eliminates ALL barren/rocky/unstable/metallic worlds.
Disallowing thin atmosphere automatically eliminates ALL barren desert worlds, and a significant number of cryo/volcanic/frozen/radiated worlds.
(And it becomes "mod neutral" since it's not looking up specific ids.)

I don't want the player to spend a lot of time and money building reflectors around a planet that can't benefit (or a station). This would be frustrating and confusing.
Even if you don't allow actual terraforming, removing temperature conditions is definitely a benefit.
Logged

Alavaria

  • Ensign
  • *
  • Posts: 23
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v0.9.1)
« Reply #34 on: November 02, 2019, 10:16:28 AM »

(2) My understanding of the economy in this game is that adding demand to structures will actually generate money for the player because the demand will be increasing the size of the global export market, which increases the player revenue if they have a share of that export market. Is this correct?
It does not, your markets' entries in the "consumer" side are just "----" instead of say 3000. Only other factions' contribute.

This is presumably since the trading in-faction is represented by upkeep reduction.
Logged

RandomnessInc

  • Commander
  • ***
  • Posts: 145
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.0)
« Reply #35 on: November 15, 2019, 01:33:06 PM »

The EUTECK isn't working on some planets for me, it says I need to be in orbit, even though I am in orbit and I own it.
Logged
May the fry be with you.

boggled

  • Admiral
  • *****
  • Posts: 1239
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.0)
« Reply #36 on: November 15, 2019, 02:54:55 PM »

The EUTECK isn't working on some planets for me, it says I need to be in orbit, even though I am in orbit and I own it.

Please send me a screenshot (or preferably a video) of the circumstances, including the tooltip on the EUTECK ability while you're in orbit. That will allow me to investigate the cause of this issue. Thank you!
Logged

RandomnessInc

  • Commander
  • ***
  • Posts: 145
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.0)
« Reply #37 on: November 15, 2019, 03:14:11 PM »

Logged
May the fry be with you.

boggled

  • Admiral
  • *****
  • Posts: 1239
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.0)
« Reply #38 on: November 15, 2019, 03:50:58 PM »

https://ibb.co/fx28BRt

Are you sure you're in orbit around that planet? Try flying directly on top of the planet and then using the s key to stop.

In some cases, if a tiny planet/moon is orbiting very close to a much larger planet it seems you cannot actually get into orbit around it. I know this occurs in the case of Killa and Hanan Pacha in the Yma system. Is that a procedurally generated planet or one of the core worlds? Can you upload your save so I can look into it further? Thank you!

Logged

RandomnessInc

  • Commander
  • ***
  • Posts: 145
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.0)
« Reply #39 on: November 15, 2019, 03:56:21 PM »

It was a randomly generated system, and i was "orbiting" around it, it said "holding station at xxx"

This was also happening with another planet in the same system that was far away from the other two.
Logged
May the fry be with you.

boggled

  • Admiral
  • *****
  • Posts: 1239
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.0)
« Reply #40 on: November 16, 2019, 07:13:45 AM »

It was a randomly generated system, and i was "orbiting" around it, it said "holding station at xxx"

This was also happening with another planet in the same system that was far away from the other two.

Has the EUTECK ever worked on any planet in your save? When you go into orbit around a planet, the floating text says "Orbiting [X Planet]" not "Holding station". The holding station text only happens if you're in a ring system or other terrain. Unless you have a mod that changes the floating text, it would appear you aren't actually in orbit around that planet if "holding station" appears. You might actually be holding station in the magnetic field around it. If you upload your save, I can take a look to sort it out.
Logged

Serenitis

  • Admiral
  • *****
  • Posts: 1541
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.0)
« Reply #41 on: November 16, 2019, 10:33:02 AM »

https://ibb.co/fx28BRt
That looks like a Magnetic world from the Unknown Skies mod. If so, that might explain why it doesn't work.
Logged

Unremarkable

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.1)
« Reply #42 on: November 19, 2019, 08:08:38 PM »

I've run into two issues.

First, I'm unable to EUTECK this little planet with Mother Night: https://i.imgur.com/rzhXLpc.png
When I hold position over the planet it always orbits Mother Night instead of the planet.

I was able to colonize the other barren world in that screenshot and EUTECK it instead.

Second, my terraforming progress seems to reset every time I reload. I have two saves that are 8 months apart and they both say "Approximately 11 months remaining until terraforming is completed". It does seem to make progress as long as I stay in the game, it just doesn't seem to save.

Edit: Saw a previous comment about this. Seems like `isInOrNearSystem` radius is 1ly. May be the case that mechanics were changed since the comment was made, but spending three days outside of this radius did not allow the colony to terraform.
« Last Edit: November 20, 2019, 02:57:55 PM by Unremarkable »
Logged

boggled

  • Admiral
  • *****
  • Posts: 1239
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.2)
« Reply #43 on: November 20, 2019, 04:14:44 PM »

I've run into two issues.

First, I'm unable to EUTECK this little planet with Mother Night: https://i.imgur.com/rzhXLpc.png
When I hold position over the planet it always orbits Mother Night instead of the planet.

I was able to colonize the other barren world in that screenshot and EUTECK it instead.

Second, my terraforming progress seems to reset every time I reload. I have two saves that are 8 months apart and they both say "Approximately 11 months remaining until terraforming is completed". It does seem to make progress as long as I stay in the game, it just doesn't seem to save.

Edit: Saw a previous comment about this. Seems like `isInOrNearSystem` radius is 1ly. May be the case that mechanics were changed since the comment was made, but spending three days outside of this radius did not allow the colony to terraform.

The issue with terraforming progress being reset was unrelated to the distance from the planet. It's fixed in the new 2.0.2 release.

That planet you're trying to E.U.T.E.C.K. is likely too small for your fleet to get into orbit. You got into orbit around the larger planet nearby instead. This happens with Hanan Pacha and Killa in the Yma system as well. I think this is a bug with the vanilla game as I doubt the developers intended for certain planets to be impossible for the player to orbit. I'm going to be changing the orbital requirement to a distance check which should work around this problem.

Thank you for letting me know about this! The progress reset bug was pretty serious and I'm embarrassed I didn't catch it sooner!
Logged

Unremarkable

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.9.1a] Boggled's Terraforming Mod (v2.0.2)
« Reply #44 on: November 20, 2019, 07:27:40 PM »

I've run into two issues.

First, I'm unable to EUTECK this little planet with Mother Night: https://i.imgur.com/rzhXLpc.png
When I hold position over the planet it always orbits Mother Night instead of the planet.

I was able to colonize the other barren world in that screenshot and EUTECK it instead.

Second, my terraforming progress seems to reset every time I reload. I have two saves that are 8 months apart and they both say "Approximately 11 months remaining until terraforming is completed". It does seem to make progress as long as I stay in the game, it just doesn't seem to save.

Edit: Saw a previous comment about this. Seems like `isInOrNearSystem` radius is 1ly. May be the case that mechanics were changed since the comment was made, but spending three days outside of this radius did not allow the colony to terraform.

The issue with terraforming progress being reset was unrelated to the distance from the planet. It's fixed in the new 2.0.2 release.

That planet you're trying to E.U.T.E.C.K. is likely too small for your fleet to get into orbit. You got into orbit around the larger planet nearby instead. This happens with Hanan Pacha and Killa in the Yma system as well. I think this is a bug with the vanilla game as I doubt the developers intended for certain planets to be impossible for the player to orbit. I'm going to be changing the orbital requirement to a distance check which should work around this problem.

Thank you for letting me know about this! The progress reset bug was pretty serious and I'm embarrassed I didn't catch it sooner!

Thanks for the prompt reply!
Logged
Pages: 1 2 [3] 4 5 ... 24