Jump to content

SRB Thrust Curves


Recommended Posts

On 28.06.2016 at 1:55 AM, CodeFantastic said:

 Would there be a way to add thrust curves? I'd like my boosters to thruttle back a bit so I can control my craft better.

They're stock now. But no stock parts have them at the moment.

Here are the patches I use to enable them:

+PART[sepMotor1]:Final
{
    @name = delayedRetro    
    @title = Sepratron I-D
    @description = Same as the Sepratron I but with a delayed fuse.
    
	@MODULE[ModuleEngines*]
    {
		%useThrustCurve = true
		
        thrustCurve
        {
            key = 0.00 0.01
            key = 0.05 1.00 0 0
            key = 0.93 1.00 0 0
            key = 0.98 0.10 0 0
            key = 1.00 0.10
        }
    }
}
@PART[*]:HAS[@RESOURCE[SolidFuel]]
{
	@MODULE[ModuleEngine*]
	{
		%useThrustCurve = true
		
		%thrustCurve
		{
key = 0 0.01 8.032298 1.11047
key = 0.01342202 0.07843862 1.11047 0.2269303
key = 0.01526241 0.7107602 1.799464 1.591762
key = 0.2355173 0.8904908 0.1987092 0.1987092
key = 0.3413242 0.7365882 -2.900315 -2.900315
key = 0.4019614 0.7171836 0.4377778 0.5915467
key = 0.7633486 0.9773242 0.407829 0.407829
key = 1 1
		}
	}
}

 

Link to comment
Share on other sites

It's a feature I'd also enjoy seeing in stock, so would a lot of people as this has already been suggested many times.

In the meantime, you can use Variable Thrust Limiter which adds a slider for "end thrust" in the VAB, allowing for a linear (with propellant mass, not time) thrust decrease/increase. It's basic but it works great.

Not an excuse for it not being stock though...

Link to comment
Share on other sites

5 hours ago, Enceos said:

They're stock now. But no stock parts have them at the moment.

Here are the patches I use to enable them:


+PART[sepMotor1]:Final
{
    @name = delayedRetro    
    @title = Sepratron I-D
    @description = Same as the Sepratron I but with a delayed fuse.
    
	@MODULE[ModuleEngines*]
    {
		%useThrustCurve = true
		
        thrustCurve
        {
            key = 0.00 0.01
            key = 0.05 1.00 0 0
            key = 0.93 1.00 0 0
            key = 0.98 0.10 0 0
            key = 1.00 0.10
        }
    }
}

@PART[*]:HAS[@RESOURCE[SolidFuel]]
{
	@MODULE[ModuleEngine*]
	{
		%useThrustCurve = true
		
		%thrustCurve
		{
key = 0 0.01 8.032298 1.11047
key = 0.01342202 0.07843862 1.11047 0.2269303
key = 0.01526241 0.7107602 1.799464 1.591762
key = 0.2355173 0.8904908 0.1987092 0.1987092
key = 0.3413242 0.7365882 -2.900315 -2.900315
key = 0.4019614 0.7171836 0.4377778 0.5915467
key = 0.7633486 0.9773242 0.407829 0.407829
key = 1 1
		}
	}
}

 

What are the four numbers for? I assume the first is how much fuel has been used (0-1) and I suspect the second is thrust, what are the last two and why so many decimal places?

would love to see an editor for this in the VAB...

Link to comment
Share on other sites

1 hour ago, John FX said:

What are the four numbers for? I assume the first is how much fuel has been used (0-1) and I suspect the second is thrust, what are the last two and why so many decimal places?

would love to see an editor for this in the VAB...

There's one, but you can't change the stock thrust curve in the game, only via configs.

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...