Fractal Softworks Forum

Starsector => Mods => Modding => Topic started by: Lord Heart Night on April 29, 2021, 01:15:31 PM

Title: How to alter deployment cost
Post by: Lord Heart Night on April 29, 2021, 01:15:31 PM
How do you alter deployment costs in game, ive looked at files but i dont know where the deployment costs for ships are located, any help appreciated

[attachment deleted by admin]
Title: Re: How to alter deployment cost
Post by: Jet Black on April 29, 2021, 01:39:41 PM
ship data in hulls folder?
Title: Re: How to alter deployment cost
Post by: SafariJohn on April 29, 2021, 06:02:56 PM
supplies / deployment also determines DP
Title: Re: How to alter deployment cost
Post by: Lord Heart Night on April 30, 2021, 12:21:21 AM
ship data in hulls folder?

Its definately NOT in there, i can do many things but not deployment

[attachment deleted by admin]
Title: Re: How to alter deployment cost
Post by: Lord Heart Night on April 30, 2021, 12:22:37 AM
supplies / deployment also determines DP
Interesting, I need to have a look there then but i have no idea where that is

[attachment deleted by admin]
Title: Re: How to alter deployment cost
Post by: Jet Black on April 30, 2021, 04:21:00 AM
I thought it was fleet points..?
Title: Re: How to alter deployment cost
Post by: connortron7 on April 30, 2021, 04:34:03 AM
I thought it was fleet points..?
No, fleet points is what determines ai vs ai battles that the player doesn't get involved in, nothing to do with the deployment cost or supplies per month
Title: Re: How to alter deployment cost
Post by: translop on May 01, 2021, 12:29:45 PM
The game uses the supplies/rec (usually the same as the supplies/mo numerically) to determine how much deployment cost a ship takes to deploy. Look for the ship_data.csv file.

Alternatively, if you know how to fetch certain ships (such as the one the player is piloting) or create new hullmods, you can put stats.getSuppliesToRecover().setBaseValue([NUM]f); where [NUM] is the amount of deployment cost you'd like the ship to have, into the applyEffectsBeforeShipCreation section.
Title: Re: How to alter deployment cost
Post by: rogerbacon on December 26, 2022, 10:35:17 AM
The game uses the supplies/rec (usually the same as the supplies/mo numerically) to determine how much deployment cost a ship takes to deploy. Look for the ship_data.csv file.

Alternatively, if you know how to fetch certain ships (such as the one the player is piloting) or create new hullmods, you can put stats.getSuppliesToRecover().setBaseValue([NUM]f); where [NUM] is the amount of deployment cost you'd like the ship to have, into the applyEffectsBeforeShipCreation section.

This doesn't seem to work for missions. Is there a way to mod the deployment cost for missions?