Jump to content

Custom Engine Issues- 0 Acceleration.


Jack3663

Recommended Posts

Hi everyone, my group is attempting to make some custom parts for KSP but we having a few problems. We have managed to import a model into KSP no problem but, the part is an engine btw, when we attempt to fire the engine it will not produce any acceleration even though it says its giving out the correct amount of thrust I set in the CFG. file.

Our file structure is GameData\Strato-Labs\Parts\Engine\SLE109MarkI and in side there is the model11.mu and the mbm. file for the place holder texture. If it helps the original output file from 3DSMax was an obj.

This is my first time at creating a part.cfg and although im sure everything is correct I can't be 100% sure, so can anyone offer any explination as to why this might happen?

This is the part.cfg file (it is still a working progress and most of the values are based on stock engines for the moment):

PART

{

// Kerbal Space Program - Part Config

// SLE-109 Mark I

//

// --- general parameters ---

name = SLE109MarkI

module = Part

author = Strato-Labs

// --- asset parameters ---

mesh = model11.mu

scale = 1.0

// --- node definitions ---

node_stack_top = 0.0, 1.18, 0.0, 0.0, 1.0, 0.0, 1

node_stack_bottom = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, 1

// --- FX definitions ---

fx_exhaustFlame_blue = 0.0, -0.2, 0.0, 0.0, 1.0, 0.0, running

fx_exhaustLight_blue = 0.0, -0.2, 0.0, 0.0, 0.0, 1.0, running

fx_smokeTrail_light = 0.0, -0.2, 0.0, 0.0, 1.0, 0.0, running

fx_exhaustSparks_flameout = 0.0, -0.2, 0.0, 0.0, 1.0, 0.0, flameout

// --- Sound FX definition ---

sound_vent_medium = engage

sound_rocket_hard = running

sound_vent_soft = disengage

sound_explosion_low = flameout

// --- editor parameters ---

TechRequired = generalRocketry

entryCost = 2100

cost = 950

category = Propulsion

subcategory = 0

title = SLE-109 Mark I

manufacturer = Strato-Labs

description = The Strato-Labs first prototype Shuttle Engine!

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

attachRules = 1,0,1,0,0

// --- standard part parameters ---

mass = 2.0

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.2

angularDrag = 1

crashTolerance = 7

maxtemp = 3600

MODULE

{

name = ModuleEngines

thrustVectorTransformName = thrustTransform

exhaustDamage = True

ignitionThreshold = 0.1

minThrust = 0

maxThrust = 500

heatProduction = 400

fxOffset = 0, 0, 0.574338

PROPELLANT

{

name = LiquidFuel

ratio = 0.9

DrawGauge = True

}

PROPELLANT

{

name = Oxidizer

ratio = 1.1

}

atmosphereCurve

{

key = 0 370

key = 1 320

}

}

MODULE

{

name = ModuleGimbal

gimbalTransformName = thrustTransform

gimbalRange = 18

}

MODULE

{

name = ModuleAlternator

RESOURCE

{

name = ElectricCharge

rate = 6.0

}

}

RESOURCE

{

name = ElectricCharge

amount = 0

maxAmount = 0

}

}

Thanks guys!

Link to comment
Share on other sites

thrustVectorTransformName = thrustTransform

This is the usual cause of the problem. This line tells the game which object to apply the thrust to, so if you're not getting any thrust applied it's likely that this object is misnamed (it's case sensitive, so ThrustTransform wouldn't work) or missing entirely (outside the exported hierarchy, forgotten etc.).

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...