More Hull HP

A place for discussion of making game modifications.
Posts: 1
Joined: Thu Mar 11, 2021 4:06 pm

More Hull HP

Postby Shanz » Thu Mar 11, 2021 4:22 pm

I'm looking to mess around with the calculation for hull HP with the intention of making it possible for ships to be badly battered but not blow up outside of a reactor/munitions explosion. I thought it was the init_design_specs file in the drawers folder but the only change I saw out of it was changing the hull of the transports and stations.

Related to this is the question of how is the size of a ship calculated?

Posts: 57
Joined: Sat Jan 04, 2020 10:09 am

Re: More Hull HP

Postby Serenitis » Mon Jun 21, 2021 3:34 pm

I might be entirely wrong about this, but init_design_specs looks like the right place.

The hull value is defined on line 79 by the value "specs.hull".
And that in turn is defined on line 104 as depending on another separate (I think) calling of a hull variable which depends on the value "", which I can't find reference to (in this file anyway).
It looks like that could depend on being defined elsewhere.

Possible changing the last number on line 104 to something bigger might possibly do it without having to alter how the code works though.
specs.hull=round(hull_space_mult * hull / 10) * 10

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 6 guests