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: Simulator Enhancements (03/13/24)

Pages: [1] 2 3 ... 6

Author Topic: [0.97a-RC11] Planetary Shield: Access Control (1.6)  (Read 137817 times)

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
[0.97a-RC11] Planetary Shield: Access Control (1.6)
« on: January 24, 2019, 09:19:35 AM »

"...It also presents a formidable obstacle to any unscheduled transfer of goods or personnel, reducing the odds of Pather terrorists gaining a foothold on the ground... If the colony actually has customs inspectors in the first place, of course."

This is a mini-mod that changes the mechanics of the planetary shield generator; I found that, with its vanilla implementation, I never actually wanted to use it - so I modified it to offer an additional option to help deal with Pather terrorists.

This mod is safe to add to an existing save!  And, yes, you'll get the new behavior immediately, including on any shields you've already built.  (Starsector will display a mod compatibility warning; it is safe to ignore it.)
It is not safe to remove once you've added it, but there's a settings file that lets you swap it back to vanilla behavior if you want to turn it off.  (In the mod folder, open the "wyv_ps_settings.json" file, and on the line with "revertToVanillaShieldBehavior", edit false to true, and then re-start Starsector.)

The exact changes are:
Details
Flat Ground Defense Bonus
A planetary shield is an exceptional defensive benefit for a small colony, restricting the available avenues of attack and allowing existing planetary defenses to be far more effective.  This benefit tapers off for a large colony, however; it's still useful, certainly, but when your ground batteries already have comprehensive coverage patterns, the addition of a shield is less dramatic.
  • Game Mechanics: Provides +300 ground defense strength, with an additional +100 for improvement or installing an alpha core, instead of the vanilla multipliers.  Note that the flat bonus is multiplied by the normal bonuses from, say, Heavy Batteries; if you want a high planetary defense strength, build both rather than relying solely on either.
  • Gameplay Justification: This change makes the shield generator actually useful for defense on a size three colony, while being less overpowering for a size six colony. This is, admittedly, less of an issue now than it was when colonies could get up to size 10... but I personally still like this better.

Reduced Terrorist Risk For Non-Freeport Colonies
Restricting surface access to specific places and times makes it difficult to avoid cargo inspections - at least, if your colony bothers to employ customs officials in the first place.  The upshot is that - as long as your planet isn't a free port - it is much more difficult for Pather terrorists to establish or maintain a presence on the ground.  ...Of course, give them enough motivation, and they'll find ways around even these restrictions.
  • Game Mechanics: The shield generator reduces "pather interest" values by -4 for the base installation, an additional -8 for story-point improvement, and installing an alpha-grade AI core or having defeated the Pather Crisis are each an extra -12.
  • Gameplay Justification: While not quite as effective at keeping Pathers off your worlds as giving them a PK is, this should be enough for all but the most extensive deployments of domain technology, at least once you've cleared their crisis. Filling your planet with AI cores will still get their attention, but there's room for judicious deployment of AI technology - and it's not like filling your planet with alpha cores is a situation that really needs buffs. Additionally, since the pather interest reduction only applies if freeport is off, this provides some reason to consider that - which the vanilla game really doesn't anymore, with 0.97's removal of Hegemony and Luddic Church expeditions that used to be triggered by using freeport.
  • Known Issues: Negative pather interest values won't be displayed in the tooltips for pather cells. The shield generator's effects still apply, however - and are shown in its own tooltip. It's also worth noting that Pather cells may take some in-game time to dissolve once their interest has been reduced; this is not a bug, just how it works. Additionally, the exact value of interest needed to cause cell formation can vary with installed mods.
[close]

Changelog
  • 1.6
    • Updated for Starsector 0.97a
    • Adjusted pather interest values; significantly improved interest reduction if the pather crisis has been defeated.
  • 1.5
    • Updated for Starsector 0.96a
    • Increased planetary defense bonus.
    • Decreased pather interest reduction to account for alternative measures enabled by the new Hostile Activity event
    • Removed -25% hazard reduction for colonies with meteor impacts in favor of the new vanilla implementation of suppressing the full 50% hazard rating of that colony condition
  • 1.4
    • Fixed a bug where the combination of Nexerelin random mode and the Industrial Evolution mod caused PS:AC to crash with a null pointer exception.
  • 1.3
    • Updated mod for 0.95.
    • Removed accessibility and growth penalties.
  • 1.2
    • Fixed a bug where, on the initial install of the mod, any AI cores already installed in shield generators would be destroyed.
    • Fixed a bug where, on mod install in Starsector 0.9.1, all under-construction shield generators would be instantly completed; as a side-effect, this mod is no longer compatible with Starsector 0.9.
    • Fixed a bug where the shield generator would apply its penalty to colony growth even when disrupted, under construction, or toggled back to vanilla behavior.
    • Removed the x1.2 defense strength multiplier, leaving just the flat value boost.
  • 1.1
    • Fixed the planetary shield blueprint's description.
[close]

Credits:
  • SafariJohn & Mesotronik: provided the initial ideas for the mod's secondary effects.
« Last Edit: March 03, 2024, 12:41:51 PM by Wyvern »
Logged
Wyvern is 100% correct about the math.

Harpuea

  • Lieutenant
  • **
  • Posts: 58
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.0)
« Reply #1 on: January 27, 2019, 07:25:45 AM »

Nice. Will download and try out. Thanks for the hard work.
Logged

Hussar

  • Captain
  • ****
  • Posts: 265
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.0)
« Reply #2 on: February 04, 2019, 09:28:43 PM »

This is kinda must have to me! Though with upcoming changes to the pather cells interest, there might be need of some adjustments. However, unless Alex changes the planetary shields - this mod is kinda a must.

It's especially useful to quietly send people off from a tech-mining colony once it grew out it's usefulness.
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.0)
« Reply #3 on: February 05, 2019, 09:04:37 AM »

Thanks for the kind words!

Yeah, I expect I'll need to rebalance a bit come 0.9.1, but I'll worry about that when we get there.
Logged
Wyvern is 100% correct about the math.

Hussar

  • Captain
  • ****
  • Posts: 265
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.0)
« Reply #4 on: February 05, 2019, 11:05:05 AM »

Especially good job on balancing the shield. A result like this looks far better than vanilla's 144k+ def strength I would have with x4,5 modificator :x

It's a nice balance since it does make shields usable on small outposts (for a heavy price in growth) we want to protect without absolutely killing the need for anything more than one other defensive industry on a size 10 planet. So I think you've got this absolutely right.

And it indeed does help with pathers a little. Though they seem to be still active despite being 0.43% on a size 10 xD
« Last Edit: February 05, 2019, 11:06:39 AM by Hussar »
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.0)
« Reply #5 on: February 05, 2019, 11:32:19 AM »

Well, let's see here - pather interest values for the planet you posted:
Spoiler
4 alpha cores (excluding the one in the shield generator): +16
7 beta cores: +14
orbital works: +2
fuel production w/ synchrotron: +6
planetary shield generator w/ alpha core: -30

Total pather interest value: +8, which is quite enough to spark pather cells.
[close]
I'd suggest removing the beta cores from Farming, Waystation, Commerce, and Population & Infrastructure; that should be enough to make the pathers go away.
Logged
Wyvern is 100% correct about the math.

OmniScrewDriver

  • Ensign
  • *
  • Posts: 9
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.0)
« Reply #6 on: March 13, 2019, 07:26:05 AM »

One thing I noticed is that the blueprint description is bugged, kinda.
Looks like you set the description for the shield via scripts (really neat btw), which seems to not want to work for the blueprint? Would be my guess.

Either way, like the idea. Looking forward to trying this out!
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.0)
« Reply #7 on: March 13, 2019, 08:03:45 AM »

Oh, hm.  Yeah, I'll take a look at that and see what I can do - I don't think I even looked at the blueprint description while I was testing the mod.  Oops.
Logged
Wyvern is 100% correct about the math.

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.0)
« Reply #8 on: March 23, 2019, 03:58:23 PM »

Version 1.1 released: fixed up the planetary shield blueprint description.

The delay was me trying to find a way to make the blueprint's description vary the way the industry does - but I don't have any good answers to that, and ended up just putting back in the vanilla description for the blueprint.  It's not ideal, but it'll do.

I've also been considering some balance adjustments; while I think the mod works well for vanilla or vanilla + faction mods, it doesn't mesh well with Nexerelin.  For one thing, Nexerelin agents are a vastly cheaper way to remove pather cells.  For another, there's no need to worry about keeping a colony at size three, since Nexerelin allows you to transfer colonies to other factions.  Maybe I should just have it detect if Nex is loaded, and if so, disable the accessibility and growth penalties?  Haven't come to a decision on this yet; if anyone else has any ideas, please don't hesitate to make a suggestion.
Logged
Wyvern is 100% correct about the math.

Hussar

  • Captain
  • ****
  • Posts: 265
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.1)
« Reply #9 on: March 24, 2019, 02:16:46 PM »

Nexerelin's way of removing pather cells is sure nice, but not always works. Also, the spies deal with the problem once it's already on the planet - established and possibly entrenched. Your mod however was making it harder for them to establish a cell in the first place. And in general I think your changes were well thought out across the board.

I'll have to think about it, but if I could suggest (though we don't know the release date yet) waiting for 0.9.1 to drop? I'd would wait to see what the changes are first and how the new colony dynamic flows before making any drastic overhauls like that?
Logged

Hague

  • Ensign
  • *
  • Posts: 36
    • View Profile
Re: [0.9a] Planetary Shield: Access Control (1.1)
« Reply #10 on: April 15, 2019, 11:05:33 PM »

I'm using this with Nexerelin and I like it just fine. This provides a passive way to prevent cell problems while agents you have to chase down and crush the cells over and over. I have to sacrifice lots of money but it saves me a lot of hassle in the end. Once you have a lot of colonies the access loss means less as you can control a lot more of the market.

Since the No Atmosphere condition mentions micrometeorites and a slow drizzle of radiation, I'd think a planetary shield would provide some hazard mitigation for the No Atmosphere and Thin Atmosphere modifiers; Perhaps 10 and 5% respectively. Also, you'd think a giant glowing shield might reduce the effect of the Low Light and No Light hazards.

An aside about hazards. One thing that always bothered me is that money that goes into hazards just disappears. There's no increased demand for specific goods that, aside from hazard pay, would go into such endeavors. For instance: The High Gravity trait mentions powered exoskeletons for mundane tasks; Shouldn't that be reflected in all the industries? Basically the High Gravity modifier should add bonus demand for heavy machinery to every job, even population and infrastructure.  This would make all heavy industry even heavier and even simple habitation have a demand for heavy machinery. Similar things like increased demand for organics on cold worlds to provide for heat (simple combustion), increased demand for consumer goods or cloned organs on planets with Inimical Biosphere (consumer goods meaning medicines, insecticides, disinfectants, and so on) and demand for volatiles on hot worlds to make coolants.
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: [0.9.1a] Planetary Shield: Access Control (1.1)
« Reply #11 on: July 09, 2019, 01:00:28 PM »

Changed the listed support level in the original post to 0.9.1 (rather than just 0.9) - while I've made no changes to the mod itself, it seems to function just fine in the latest version of Starsector.
« Last Edit: July 09, 2019, 04:36:53 PM by Wyvern »
Logged
Wyvern is 100% correct about the math.

Nerzhull_AI

  • Commander
  • ***
  • Posts: 186
  • Do you exist in your dreams?
    • View Profile
Re: [0.9.1a] Planetary Shield: Access Control (1.1)
« Reply #12 on: September 17, 2019, 02:11:16 PM »

So uhh, about "removing" mod. It seems that one of the downsides that comes from new version of the planetary shield just came here to stay - description of planetary reverted back to normal, accesability decrease dissapeared, but -10 growth rate is still present, and you can see that in "Growth rate" tooltip.
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: [0.9.1a] Planetary Shield: Access Control (1.1)
« Reply #13 on: September 17, 2019, 04:52:25 PM »

Whoops, you're right.  I don't have time to do a full release right now, but if you go into the mod, and open up PlanetaryShield.java (under data/scripts/wyv), and find the four lines towards the end that start with "//" - delete the slashes (leaving the rest of the lines alone), and it should then work properly.

Apparently I commented those lines out during testing to make sure the growth rate modifier worked, and, uh, never actually un-commented them.
Logged
Wyvern is 100% correct about the math.

Nerzhull_AI

  • Commander
  • ***
  • Posts: 186
  • Do you exist in your dreams?
    • View Profile
Re: [0.9.1a] Planetary Shield: Access Control (1.1)
« Reply #14 on: September 18, 2019, 02:06:08 AM »

Whoops, you're right.  I don't have time to do a full release right now, but if you go into the mod, and open up PlanetaryShield.java (under data/scripts/wyv), and find the four lines towards the end that start with "//" - delete the slashes (leaving the rest of the lines alone), and it should then work properly.

Apparently I commented those lines out during testing to make sure the growth rate modifier worked, and, uh, never actually un-commented them.
I understand. Just wanted to report something i found. Anyway, got it.
Also had some good time reading this :D
Code
return -9f + super.getPatherInterest(); // why you'd install a beta or gamma core in a planetary shield generator I don't know, but we should account for it anyway.
Logged
Pages: [1] 2 3 ... 6