eatU4myT

Is there a mod that makes part pressure relevant?

Recommended Posts

Posted (edited)

Is there a mod out there at all that makes part pressure relevant to space travel, rather than just to building submarines?  Can I make it so that early tech probes arriving at Eve get squished, and I have to research better materials/parts in order to survive on the surface?  I'm thinking something like Venera 4 -> Venera 9 -> Venera 13

On a related note, does anyone know if there is a figure for max heat and max part pressure for a Kerbal?

Thanks

 

Note:  I think I'm right in saying that RSS does this, or maybe RSS + RO?  I'm not excited about moving over to RSS though, so would be interested to know if its possible to just change this in the normal KSP solar system.

Edited by eatU4myT
Addition

Share this post


Link to post
Share on other sites

I suspect this could be done with a module manager patch - there's a part attribute in the cfg - "maxPressure" - that defaults to 4000 according to the Kerbal Space Program API. You would just need to replace (or add if it wasn't already there) and set to a different value. You might even be able to tie into the part upgrade system. Note: If the "maxPressure =" isn't in the cfg file it defaults to 4000 - that's why you don't see it in some (most?) part cfg's.

Share this post


Link to post
Share on other sites

Thanks for this.  Is that 4000 a direct measure of kPa?  As far as I know, the highest pressure you can get to in the stock Kerbol system (again, without any submarine shenanigans) is on the surface of Eve (~500kPa) or Jool (~1500kPa).  Did Squad just deliberately set the part pressure way high because they didn't want it to become part of the game?

If I was to set a part pressure of, say, 400kPa, am I right in saying that my probe would function as normal most of the way down through Eve's atmosphere, and then pop at some point a couple of thousand meters above the surface?   There is no pressure buildup bar in the same way as there is for heat, is there?

Anyone have any info regarding max pressure and max heat for Kerbals?  Would it be possible to make it so that these increased as the Astronaut Complex was upgraded?  Would provide another incentive to upgrade it beyond the first upgrade that allows you to EVA off-world.

Thanks

Share this post


Link to post
Share on other sites
On 10/2/2018 at 5:57 PM, eatU4myT said:

On a related note, does anyone know if there is a figure for max heat and max part pressure for a Kerbal?

Max temp should be 800.

Share this post


Link to post
Share on other sites
1 hour ago, Xd the great said:

Max temp should be 800. 

That's useful, thanks - I presume that that is in degrees K, or C, or whatever units KSP uses for everything else?  Do you know if it is possible to change it?

Thanks

Share this post


Link to post
Share on other sites
2 hours ago, Xd the great said:

Max temp should be 800.

Just wondering where you came up with this number? vOv

Share this post


Link to post
Share on other sites
7 hours ago, eatU4myT said:

That's useful, thanks - I presume that that is in degrees K, or C, or whatever units KSP uses for everything else?  Do you know if it is possible to change it?

Thanks

Yes, by a module manager patch.

5 hours ago, Stone Blue said:

Just wondering where you came up with this number? vOv

Somewhere in the squad file. Parts maybe?

A cfg for kerbalEVA

Or by experiments

  • Like 1

Share this post


Link to post
Share on other sites

I believe that 4000 is 4,000kPa so parts won't pop on Eve with the default setting. A setting of 400 would cause the part to pop before reaching Eve's surface (double check this before using - it's been awhile since I was messing with this). And no - no display bar for pressure - the first clue you have is when the part pops. Temperature is usually in degrees K.

Share this post


Link to post
Share on other sites

Why would it even make sense for parts to crush on Eve when IRL XPS styrofoam would not fail under compression there?

Share this post


Link to post
Share on other sites

Yeah, Eve's surface atmospheric pressue is only about 5 x Kerbin's, whereas Venus's is about 90 x Earth's, which would certainly do the Styrofoam no favours!  As I don't have the knowhow to mod my solar system, I'm planning to just mod part pressure to the point where parts would fail on Eve's surface, to give a very simple hand wavey approximation of real life.  As I don't plan to go underwater, the parts won't be subject to any higher pressures than this anywhere else, expect diving into a gas giant, so it doesn't really matter if I say they get crushed at 5 atmospheres instead of 90!

Share this post


Link to post
Share on other sites
On 10/6/2018 at 12:18 AM, wasml said:

I believe that 4000 is 4,000kPa so parts won't pop on Eve with the default setting. A setting of 400 would cause the part to pop before reaching Eve's surface (double check this before using - it's been awhile since I was messing with this). And no - no display bar for pressure - the first clue you have is when the part pops. Temperature is usually in degrees K.

The value you set is divided roughly by 100 to convert into atmosphere pressure. Kerbin's sea level pressure is 101 kPa. 4000 = 40 atmospheres of pressure in KSP.

On 10/8/2018 at 7:04 AM, Pds314 said:

Why would it even make sense for parts to crush on Eve when IRL XPS styrofoam would not fail under compression there?

Once you turn on part pressure limits, the ocean on any planet becomes deadly. 400m below Kerbin's sea level is 40 atmospheres and where any part will explode. This point may be very shallow on Eve given its surface pressure.

On 10/3/2018 at 1:01 PM, Stone Blue said:

Just wondering where you came up with this number? vOv

KER reveals it in its Heat/Thermal panel when a kerbal is focused. The part configs for kerbals are,iirc, in GameData\Squad\Prebuilt\

On 10/8/2018 at 9:25 AM, eatU4myT said:

Yeah, Eve's surface atmospheric pressue is only about 5 x Kerbin's, whereas Venus's is about 90 x Earth's, which would certainly do the Styrofoam no favours!  As I don't have the knowhow to mod my solar system, I'm planning to just mod part pressure to the point where parts would fail on Eve's surface, to give a very simple hand wavey approximation of real life.  As I don't plan to go underwater, the parts won't be subject to any higher pressures than this anywhere else, expect diving into a gas giant, so it doesn't really matter if I say they get crushed at 5 atmospheres instead of 90!

Well... Just save the following somewhere in GameData and go to Difficulty settings and turn on Part Pressure Limits. Be warned, Kerbin's ocean becomes the devil. Every 10m below adds 1 atm pressure, so you will likely be destroyed at -40m and not the default -400m.

@PART[*]
{
	%maxPressure = 500
}
On 10/2/2018 at 5:57 AM, eatU4myT said:

and I have to research better materials/parts in order to survive on the surface?  I'm thinking something like Venera 4 -> Venera 9 -> Venera 13

I would like very much to be able to write configs for this for myself. I can do it for modules, but it's different for basic properties of a part. I seek this knowledge for advancement in heat tolerance.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, JadeOfMaar said:

 


@PART[*]
{
	%maxPressure = 500
}

...

I would like very much to be able to write configs for this for myself. I can do it for modules, but it's different for basic properties of a part. I seek this knowledge for advancement in heat tolerance.

This is very useful, thanks. Do you know, would a cfg like that which modifies all parts also modify Kerbals? Are they a "part"?

Sounds like what I was really hoping to do won't be possible then, shame. I'll probably just modify a few early probe cores to 300, a few mid-range ones to 400 and so on, and leave it at that :/

Thanks

Share this post


Link to post
Share on other sites
6 minutes ago, eatU4myT said:

Do you know, would a cfg like that which modifies all parts also modify Kerbals? Are they a "part"?

 

I'm sure it would affect them. Kerbals are indeed a 'part'. And yes you'd have to set different maxPressure values for specific parts. I would use a criteria-based config and target parts based on ranges of mass, given tech nodes and maybe given categories. That would save the trouble of going after names, and is convenient where I don't absolutely need to be name specific.

Share this post


Link to post
Share on other sites
11 hours ago, JadeOfMaar said:

I would use a criteria-based config and target parts based on ranges of mass, given tech nodes and maybe given categories.

Does that mean you can do something along the lines of @PART[techRequired = basicRocketry]?  Naively, I had assumed you could only target by name!

Thanks

Share this post


Link to post
Share on other sites
8 hours ago, eatU4myT said:

Does that mean you can do something along the lines of @PART[techRequired = basicRocketry]?  Naively, I had assumed you could only target by name!

Thanks

Yes. That syntax is very bad but you can target by nearly anything in a config file.

Like this... Anything Kerbodyne makes, in Basic Rocketry and weighs less than 1 ton can only take 3 atm pressure. (Assuming any parts exist that fit this criteria.)

@PART:HAS[#TechRequired[basicRocketry],#mass[<1],#manufacturer[Kerbodyne]]
{
	maxPressure = 300
	// comment, other actions
}

 

  • Like 1

Share this post


Link to post
Share on other sites
18 hours ago, JadeOfMaar said:

That syntax is very bad

Hehe!  Yes, I don't actually know any code, beyond basic general concepts.  I have to learn the precise rules every time I want to fiddle around with something...

But, this is going to be exactly what I need for this purpose so thanks very much!

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now