Kerbal Space Program

Kerbal Space Program

How to edit engine fuel consumption?
I'd like to edit the fuel consumption of some engines, I've already done so for their thrust so I guess I know the basics, but after trying to add a few 0's to the ISP there was no change in the rate at which my fuel levels went down, can anyone shed some light on this? Am I doing something wrong?
< >
Showing 1-15 of 38 comments
Chibbity Jan 12, 2019 @ 12:54pm 
Originally posted by IIAtomicToastII:
Am I doing something wrong?

Well, yeah. You're cheating.
IIAtomicToastII Jan 12, 2019 @ 12:58pm 
Originally posted by Chibbity:
Originally posted by IIAtomicToastII:
Am I doing something wrong?

Well, yeah. You're cheating.

Great, I'll play my game however I like, if you're not gonna help me then go elsewhere.
Chibbity Jan 12, 2019 @ 1:11pm 
Well if you're gonna cheat why do half a job of it?

Just open the debug menu and turn infinite fuel on.

Alt-F12.
Last edited by Chibbity; Jan 12, 2019 @ 1:12pm
IIAtomicToastII Jan 12, 2019 @ 2:54pm 
Seriously why the negativity? I came on here asking how to do a certain thing. I'm well aware of the cheat menu, but again, if you're not gonna answer my question then don't bother commenting. But hey it's the internet, what did I expect.

Thanks anyway.
Last edited by IIAtomicToastII; Jan 12, 2019 @ 2:55pm
Chibbity Jan 12, 2019 @ 3:03pm 
I mean it sounds like you want to make the engines go further than they can, infinite fuel will let you do that.

It's a valid solution to your issue.

As far as your actual question; I checked out some engine .cfg's and didn't see any lines relating to ISP or specific impulse.. so where are you finding/changing these values out of curiosity?
Last edited by Chibbity; Jan 12, 2019 @ 3:03pm
IIAtomicToastII Jan 12, 2019 @ 4:37pm 
Originally posted by RoofCat:
Originally posted by Chibbity:
I mean it sounds like you want to make the engines go further than they can, infinite fuel will let you do that.

It's a valid solution to your issue.

As far as your actual question; I checked out some engine .cfg's and didn't see any lines relating to ISP or specific impulse.. so where are you finding/changing these values out of curiosity?
this world is going down obviously, so what the heck...

atmosphereCurve
{
key = 0 320
key = 1 280
key = 6 0.001
}

and now I'm responsible for you having issues like 6 months later at some point because I helped you to break stuff you don't understand and might not monitor or remember to support properly once something changes. It's not that hard to spot Isp numbers (these were for Skipper), but different people have different skills obviously so no offence.

Still I insist on not breaking things you can't figure out (repair). It will often end badly.

Also KSP Isp is already much too powerful for the small world. Like 2 times the very least. But then nobody wants to launch from Kerbin like it would from Eve in their first trip.
So all this is 100% Alt+F12 worthy crap anyway.

Unlikely that things would mess up since they haven't during the past few updates after adjusting the thrust values, even if I were to mess something up the fix would be easy; shoulda clarified, currently I've only modified OPT engines (with the exception of that one turbofan engine), worst comes to worst a quick verify the game files/reinstall will fix it.

Anyway, my bad I meant that I tried adjusting the atmosphereCurve values, just added an extra zero to everything, but the fuel drain speed from my tanks stayed the same.

You're not responsible for anyone if they break something, that's their own fault.
IIAtomicToastII Jan 12, 2019 @ 4:38pm 
Originally posted by Chibbity:
I mean it sounds like you want to make the engines go further than they can, infinite fuel will let you do that.

It's a valid solution to your issue.

As far as your actual question; I checked out some engine .cfg's and didn't see any lines relating to ISP or specific impulse.. so where are you finding/changing these values out of curiosity?

As mentioned in the above reply, I meant that I adjusted atmosphereCurve not ISP* ;)
IIAtomicToastII Jan 12, 2019 @ 5:45pm 
Originally posted by RoofCat:
Originally posted by IIAtomicToastII:
...I meant that I tried adjusting the atmosphereCurve values, just added an extra zero to everything, but the fuel drain speed from my tanks stayed the same...
I saw that the first time and that's another reason why I considered you not being ready. I have 90+% suspicion you don't know how save files work in KSP. Because I'm quite sure Isp changes to cfg files do work just fine. Or did just a few months ago.
https://steamcommunity.com/sharedfiles/filedetails/?id=1397164703
converted semi-useless Swivel into half-useless ½.nuke for forum lols. Consumption values are auto-calculated based on your inputs for Isp. They do change. Isp is a mass for mass proportion.

I'm not precious about save files I create new games all the time for the sake of convenience if I kill the stock Kerbals, I play the game more for creating fun space crafts rather than the way you do I assume.

Aaaand by the way semi and half are the same thing ;)

Do you mean that I added the wrong values to the ISP? Because even if I did I thought I'd see some change, be it positive or negative.
Patriot03 Jan 13, 2019 @ 2:00am 
Wow it's shocking to see how awful people are about other people learning how to tweak their game to their wants.

- Keep it up man, don't be a basic B*tch.. Assuming someone is going to break their game by modifying simple variables is frankly none of your business really. - I've edited parts before, changing their type, sound, fuel, and ISP without issues for a very, very long time. Maybe it's you screwing it up for yourself?

I didn't do it to cheat, I did it to create a new part which was a small thrust vectoring jet like was used on the harrier, I did so by changing the above variables of a modded Atlas Vernier thruster. The end result was quite nice and although you might call it a cheat I found it to be completely balanced and fit right into the game. + made it have a long spool time, as a jet should along with being fuel thirsty compared to the other jets (Half as efficient IIRC)



Saying to just use infinate fuel is just stupid(Clearly not what was asked for) and or very rude.

OP I haven't done it in a while, but if you need I will take a look and find what variables you have to change. Can't believe people are so hostile toward you for taking a step beyond simple mediocrity, and making the experince your own..

PS: Doing what you want is trivial and I'll help you out either tomorrow or the day after whenever I get the free time if no one "With the brains"- as they claim, thinks "you're ready" for the basic task that awaits XD
Last edited by Patriot03; Jan 13, 2019 @ 2:12am
Chibbity Jan 13, 2019 @ 4:55am 
Originally posted by RoofCat:
atmosphereCurve
{
key = 0 320
key = 1 280
key = 6 0.001
}

Ahh..interesting; thought that might have something to do with it.
Harry_Robinson1 Jan 13, 2019 @ 7:00am 
Originally posted by IIAtomicToastII:
I'd like to edit the fuel consumption of some engines, I've already done so for their thrust so I guess I know the basics, but after trying to add a few 0's to the ISP there was no change in the rate at which my fuel levels went down, can anyone shed some light on this? Am I doing something wrong?
You have to reduce the fuel usage figures, not just the ISP. I don't apporve of cheating, but as a modmaker I can understand that there are other reasons to do thiat.
Chibbity Jan 13, 2019 @ 7:02am 
Yeah, it'd be nice if people clarified their intent when asking questions like this.

Ie. "Hi guys, I want to edit the engines to be flat out better" is quite a different thing from "Hi guys, I want to edit the engines so I can make a new engine which will be balanced and reasonable."

Given that in my experience the vast majority of these people are just wanting to cheat, that's the assumption I typically make until informed otherwise.
IIAtomicToastII Jan 13, 2019 @ 7:48am 
Originally posted by Chibbity:
Yeah, it'd be nice if people clarified their intent when asking questions like this.

Ie. "Hi guys, I want to edit the engines to be flat out better" is quite a different thing from "Hi guys, I want to edit the engines so I can make a new engine which will be balanced and reasonable."

Given that in my experience the vast majority of these people are just wanting to cheat, that's the assumption I typically make until informed otherwise.

It doesn't matter what people want to do. It's a singleplayer game and their cheating doesn't affect you. You don't even have to reply to the thread. As to why you're still here is beyond me, you're not helping.
Last edited by IIAtomicToastII; Jan 13, 2019 @ 7:49am
IIAtomicToastII Jan 13, 2019 @ 7:55am 
Originally posted by IIAtomicToastII:
Originally posted by Chibbity:
Yeah, it'd be nice if people clarified their intent when asking questions like this.

Ie. "Hi guys, I want to edit the engines to be flat out better" is quite a different thing from "Hi guys, I want to edit the engines so I can make a new engine which will be balanced and reasonable."

Given that in my experience the vast majority of these people are just wanting to cheat, that's the assumption I typically make until informed otherwise.

It doesn't matter what people want to do. It's their game and whether they cheat or not does not affect you in the slightest. You don't even have to reply to the thread. As to why you're still here is beyond me, you're not helping.


Originally posted by Patriot03:
Wow it's shocking to see how awful people are about other people learning how to tweak their game to their wants.

- Keep it up man, don't be a basic B*tch.. Assuming someone is going to break their game by modifying simple variables is frankly none of your business really. - I've edited parts before, changing their type, sound, fuel, and ISP without issues for a very, very long time. Maybe it's you screwing it up for yourself?

I didn't do it to cheat, I did it to create a new part which was a small thrust vectoring jet like was used on the harrier, I did so by changing the above variables of a modded Atlas Vernier thruster. The end result was quite nice and although you might call it a cheat I found it to be completely balanced and fit right into the game. + made it have a long spool time, as a jet should along with being fuel thirsty compared to the other jets (Half as efficient IIRC)



Saying to just use infinate fuel is just stupid(Clearly not what was asked for) and or very rude.

OP I haven't done it in a while, but if you need I will take a look and find what variables you have to change. Can't believe people are so hostile toward you for taking a step beyond simple mediocrity, and making the experince your own..

PS: Doing what you want is trivial and I'll help you out either tomorrow or the day after whenever I get the free time if no one "With the brains"- as they claim, thinks "you're ready" for the basic task that awaits XD

Well I sure appreciate someone finally trying to help instead of telling me I'm bad at code and that I shouldn't cheat (in a singleplayer game???).

Anyway, more specifically I'm looking to edit the OPT parts engines; the Nebula, ARI, and whatever the MK2 ramjet one is called. I'll paste the config from the Nebula here and I guess we'll work from there. Thanks for actually taking the time to help me and I'm not in a rush anyway, haven't had much time to play as it is.

Here's the config:

//THIS_CFG_HAS_BEEN_AUTO_COMPILED_BY_KYEON_BOT_MK2
//LIFT_AND_MASS_ARE_AUTO_BALANCED
//THIS_WORK_IS_LICENSED_UNDER_THE_CREATIVE_COMMONS_ATTRIBUTION
//_NONCOMMERCIAL_SHAREALIKE_4.0_INTERNATIONAL_LICENSE
//MODNAME: ORBIT PORTAL TECHNOLOGY SPACE PLANE PARTS
//VERSION: 1.9.9
//DATE_ED: 2017-07-29
PART
{
name=opt_nebula_engine
author=K.Yeon
module=Part

//descriptions
title=OPT-E Shcramjet "J-92 Nebula"
manufacturer=OPT Propulsion Science Division
description=The nebula engine is the ultimate engine to achieve SSTO. It's a shcram jet equipped with a massive Super Condensation Optimized Output Propulsion unit. It scoops up various inert gases in the atmosphere. Once optimum speed and altitude is reached, the engine ionize and super heat the gases in it's chamber, the resulting plasma is then expelled together with the hot gas from the shcram jet. The result is a brilliant blue plasma 'after burner', which will give any spaceplane a powerful punch into space.
bulkheadProfiles=size1
mass=4.26
tags=OPT SSTO spaceplane

//category, technology and cost
category=Engine
subcategory=0.0
TechRequired=aerospaceTech
cost=19000
entryCost=66000

//temperatures
skinMaxTemp=2700
maxTemp=1500
emissiveConstant=0.88

//tolerances
crashTolerance=12
breakingForce=600
breakingTorque=550

//scales
scale=1
rescaleFactor=1.0

//others
attachRules=1,0,0,1,0
dragModelType=default

CoMOffset=0.0, 1.5, 0.0
MODEL
{
model=OPT/Parts/engines/Nebula/model
}
node_stack_top=0.0, 1.03616, 0.0, 0.0, 1.0, 0.0, 3
MODULE
{
name=ModuleEnginesFX
thrustVectorTransformName=thrustTransform
exhaustDamage=True
ignitionThreshold=0.03
minThrust=0
maxThrust=3500
heatProduction=291
useEngineResponseTime=True
engineAccelerationSpeed=0.2
engineDecelerationSpeed=0.4
useVelocityCurve=False
flameoutEffectName=flameout
powerEffectName=running_thrust
engageEffectName=engage
disengageEffectName=disengage
spoolEffectName=running_turbine
engineSpoolIdle=0.05
engineSpoolTime=2.0
EngineType=Turbine
PROPELLANT
{
name=LiquidFuel
resourceFlowMode=STAGE_STACK_FLOW_BALANCE
ratio=4
DrawGauge=True
}
PROPELLANT
{
name=IntakeAir
ignoreForIsp=True
ratio=9
}
atmosphereCurve
{
key=0 4000 0 0
}
atmChangeFlow=True
useVelCurve=True
useAtmCurve=True
machLimit=6
machHeatMult=3.0
velCurve
{
key=0 0.6405074
key=0.3875 0.8405074
key=1.32875 1.062029
key=2.0875 1.346713 0.558359 0.2083685
key=2.474524 1.843121 1.621842 1.29743
key=3.351902 2.187399 0.04374723 -0.04622887
key=4.499137 2.102532 -0.2246427 -0.2246427
key=6 1.540507
key=7.5 0.04050738
}
atmCurve
{
key=0 0
key=0.005 0.3
key=0.03469022 0.8916956 19.92897 0.5922443
key=0.2 1
key=0.3 1
key=1 0.6
}
}
MODULE
{
name=ModuleAlternator
RESOURCE
{
name=ElectricCharge
rate=5.0
}
}
RESOURCE
{
name=ElectricCharge
amount=0
maxAmount=0
isTweakable=false
hideFlow=true
}
MODULE
{
name=ModuleSurfaceFX
thrustProviderModuleIndex=0
fxMax=0.6
maxDistance=25
falloff=2
thrustTransformName=thrustTransform
}
EFFECTS
{
running_thrust
{
PREFAB_PARTICLE
{
prefabName=fx_smokeTrail_light
transformName=thrustTransform
emission=0.0 0.0
emission=0.05 0.0
emission=0.075 0.25
emission=1.0 1.25
speed=0.0 0.25
speed=1.0 1.0
localOffset=0, 0, 1
localRotation=1, 0, 0, -90
}
AUDIO
{
channel=Ship
clip=sound_rocket_spurts
volume=0.0 0.0
volume=0.1 1.5
volume=1.0 2
pitch=0.0 0.5
pitch=1.0 1.0
loop=true
}
AUDIO
{
name=jetsHumm
channel=Ship
clip=sound_jet_low
volume=0.0 0.0
volume=0.1 0.4
volume=0.6 0.8
volume=1.0 0.3
volume=1.5 0.2
pitch=0.0 0.1
pitch=0.5 0.2
pitch=1.0 0.5
loop=true
speed=0.0 1.70
speed=1.0 1.65
}
AUDIO
{
name=jetscream
channel=Ship
clip=OPT/Sounds/engine_1
volume=0.0 0.0
volume=0.1 1
volume=1.0 1.5
volume=2 2
pitch=0.0 0.5
pitch=0.5 0.6
pitch=1.0 0.7
pitch=2 1.5
loop=true
speed=0.0 1
speed=2.0 3
}
AUDIO
{
name=jetscream2
channel=Ship
clip=OPT/Sounds/engine_2
volume=0.0 0.0
volume=1.1 0
volume=1.11 1
volume=2 3
pitch=0.0 0.3
pitch=0.5 0.5
pitch=1.0 0.7
pitch=2 1.5
loop=true
speed=0.0 2
speed=2.0 3
}
MODEL_MULTI_PARTICLE
{
name=ring
modelName=OPT/FX/nebulaRing
transformName=FXNode
emission=0.0 0 0
emission=0.1 13 14
emission=0.75 14 15
emission=1.0 6
speed=0.0 1.4
speed=1.4 2
}
MODEL_MULTI_PARTICLE
{
name=flamethrust_base
modelName=OPT/FX/nebula_P
transformName=FXNode1
emission=0.05 0 0
emission=0.1 2 3
emission=0.75 3 4
emission=2.0 5
speed=0.0 0
speed=0.01 0.3
speed=2 2
}
MODEL_MULTI_PARTICLE
{
name=flamethrust_burner
modelName=OPT/FX/RedGreenFlame
transformName=FXNode1
emission=1.1 0 0
emission=1.15 3 4
emission=1.5 7 8
emission=2.0 14
speed=0.8 0 0
speed=1 1
speed=2 4
}
}
running_turbine
{
AUDIO
{
channel=Ship
clip=sound_jet_low
volume=0.0 0.0
volume=0.05 0.7
volume=1.0 1.0
pitch=0.0 0.3
pitch=0.05 0.4
pitch=1.0 0.5
loop=true
}
}
engage
{
AUDIO
{
channel=Ship
clip=sound_vent_medium
volume=1.0
pitch=2.0
loop=false
}
}
disengage
{
AUDIO
{
channel=Ship
clip=sound_vent_soft
volume=1.0
pitch=2.0
loop=false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName=fx_exhaustSparks_flameout_2
transformName=thrustTransform
oneShot=true
}
AUDIO
{
channel=Ship
clip=sound_explosion_low
volume=1.0
pitch=2.0
loop=false
}
}
}
MODULE
{
name=FXModuleAnimateThrottle
animationName=nebula_light
dependOnEngineState=True
responseSpeed=0.01
}
MODULE
{
name=ModuleGimbal
gimbalTransformName=nebula_exaust
gimbalRange=3.00
gimbalResponseSpeed=10
useGimbalResponseSpeed=true
}
}

An afterthought, is there a way perhaps to edit the fuel capacity of certain fuel tanks? (Not sure what that would do to the weight).

Thanks!
IIAtomicToastII Jan 13, 2019 @ 7:58am 
Originally posted by Harry_Robinson1:
Originally posted by IIAtomicToastII:
I'd like to edit the fuel consumption of some engines, I've already done so for their thrust so I guess I know the basics, but after trying to add a few 0's to the ISP there was no change in the rate at which my fuel levels went down, can anyone shed some light on this? Am I doing something wrong?
You have to reduce the fuel usage figures, not just the ISP. I don't apporve of cheating, but as a modmaker I can understand that there are other reasons to do thiat.

Initially I had no idea what ISP was so I just searched around for a term that was loosely related to fuel consumption, but I couldn't find anything. I did however find some tutorials, but they were outdated, though there was a fuel consumption entry in the config file, so I guess its been removed since?

How would I go about adjusting the fuel consumption? And do I need to use a ratio or something to adjust it based on my ISP values?
< >
Showing 1-15 of 38 comments
Per page: 1530 50

Date Posted: Jan 12, 2019 @ 12:41pm
Posts: 38