Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95a is out! (03/26/21); Blog post: Of Slipstreams and Sensor Ghosts (09/24/21)

Author Topic: DSTech Corporation - Some help please!  (Read 2804 times)

Tecrys

  • Admiral
  • *****
  • Posts: 548
  • repair that space elevator!
    • View Profile
DSTech Corporation - Some help please!
« on: January 13, 2014, 06:37:59 AM »

Hi everyone!

As I'm working on DSMK2's mod I realised it would be very cool if DSTech would have some unique mechanics to stand out in the crowd of mods but I'm not sure how to do it.

DSMK2 provided some lore for the faction:
"The DSTech Corp is a front for a race of sentient mechanical lifeforms who advance in technology (as high as it is already) and knowledge relatively slowly. They reside in artificial mega-structures (not quite Dyson spheres) which surround stars relatively distant from current human civilization. These structures extract large amounts of gas from the host star to be converted into useable matter; generally used in continued growth of their mega-structures, but also used to construct various tools...

Their ships are created from that matter, hence why their ships are cheap. However, very few of those ships venture beyond their origin system; kept mainly for overwhelming defense. Those that do often set up bases and factories near civilization, under their common moniker.

They have begun selling their ships in human space, using human captains and crewmen to take their eyes to places in the galaxy they would never otherwise see."

Keeping that in mind I think it would be cool for the faction to be completely reliant on fuel instead of using supplies and fuel.

Would there be a way to use fuel/day instead of supplies?
Would it be possible to use fuel for repairs instead of supplies?
« Last Edit: January 13, 2014, 06:39:42 AM by Tecrys »
Logged
Adopt a mod! (Or parts of it) I'd be happy if Biomancy Genetic Engineering found a new patron or if my little monsters appear in some form or another in someone's mod.
https://fractalsoftworks.com/forum/index.php?topic=7682.0

xenoargh

  • Admiral
  • *****
  • Posts: 4927
  • naively breaking things!
    • View Profile
Re: DSTech Corporation - Some help please!
« Reply #1 on: January 13, 2014, 08:41:24 AM »

Ships only get charged fuel/day when they're in Hyperspace and are in motion.  To charge them fuel / day, you'd need a CampaignPlugin that ran a script once per day, subtracting from their Fuel according to how much Crew they had.
Logged
Please check out my SS projects :)
Xeno's Mod Pack

Tecrys

  • Admiral
  • *****
  • Posts: 548
  • repair that space elevator!
    • View Profile
Re: DSTech Corporation - Some help please!
« Reply #2 on: January 13, 2014, 08:48:17 AM »

Writing scripts and custom plugins is beyond my capabilities but thanks for clarification.

Any modder/coder/programmer willing to help out with this?

In the meantime I will work on stuff I can actually fix myself xD.
Logged
Adopt a mod! (Or parts of it) I'd be happy if Biomancy Genetic Engineering found a new patron or if my little monsters appear in some form or another in someone's mod.
https://fractalsoftworks.com/forum/index.php?topic=7682.0

HELMUT

  • Admiral
  • *****
  • Posts: 1361
    • View Profile
Re: DSTech Corporation - Some help please!
« Reply #3 on: January 13, 2014, 09:00:09 AM »

Why reliant on fuel only?

Xeno, as they are machine, they probably won't have crew so it's possible there won't be any consumption like the current supplies/crew(there was a mod adding an AI crew hull mod to ships, could be implemented for DSTech as well). Could be interesting to have a faction that don't cost any supplies and just need times to auto-repair. However, negating totally the supply need is a gigantic buff for the faction and as they are already extremely powerful, it would make the balance tricky.

Logged

Tecrys

  • Admiral
  • *****
  • Posts: 548
  • repair that space elevator!
    • View Profile
Re: DSTech Corporation - Some help please!
« Reply #4 on: January 13, 2014, 09:20:14 AM »

I would like them to use fuel because lorewise DSTech is able to create matter out of gasses (Fuel).
Basically they have extremely advanced fusion technology which enables them to create any matter out of "thin air".
Those are the reasons I would like them to be completely reliant on fuel and since all DSTech ships have very large fuel tanks I could balance them around this.
They would be using much more fuel then other factions would use supplies.
Just read the first post, there's some lore, makes a lot of sence to me but I'm not sure if that's even possible without changing Starsector core mechanics.

Edit: There's an explanation why they have crew, btw
Logged
Adopt a mod! (Or parts of it) I'd be happy if Biomancy Genetic Engineering found a new patron or if my little monsters appear in some form or another in someone's mod.
https://fractalsoftworks.com/forum/index.php?topic=7682.0

xenoargh

  • Admiral
  • *****
  • Posts: 4927
  • naively breaking things!
    • View Profile
Re: DSTech Corporation - Some help please!
« Reply #5 on: January 13, 2014, 10:56:03 AM »

Well, you basically have to script this mechanic, and it's not exactly simple to script, either.

Probably the best way is through a Built-In Hull Mod (that nobody else can use) that would implement the strategic effects of fuel use on CR (see Tow Cables for an example).  I'm really not sure how hard that would be to write; I haven't explored using that code much.

In terms of balance, having that as their "thing" would be a pretty major buff in and of itself, since Fuel is cheap.  They'd need some pretty major penalties to their combat stats or they'd have to be heavily penalized in terms of resource consumption (i.e., they're great if you're right next to a base with lots of Fuel, but they'd be terrible at chasing things).
Logged
Please check out my SS projects :)
Xeno's Mod Pack

Tecrys

  • Admiral
  • *****
  • Posts: 548
  • repair that space elevator!
    • View Profile
Re: DSTech Corporation - Some help please!
« Reply #6 on: January 13, 2014, 11:14:20 AM »

Ok, well ... That sounds way too complicated so I'm just gonna do the supply thing as usual.
I was thinking about using really big amounts of fuel like 200-300 per day for a medium fleet but since that would involve such difficult code I'll just increase storage capacity, decrease fuel capacity and keep it vanilla.

Edit: Thanks for the advice!
Logged
Adopt a mod! (Or parts of it) I'd be happy if Biomancy Genetic Engineering found a new patron or if my little monsters appear in some form or another in someone's mod.
https://fractalsoftworks.com/forum/index.php?topic=7682.0