Jump to content

engine not lifting


Recommended Posts

I hope this is the right spot to put this thread. I have made a engine Object in blender imported it to Unity and then exported it as a .mu into KSP. MY question is why will my engine not fly. My object has a thrustTransform object pointing in the right way. It will just sit their on the tarmac taking up resources until I make it have infinite fuel. It then rockets into the sky, what is going wrong. If you need I can post my script.

PS. The engine is ion powered and i have copied the Ion powered engine that comes with KSP download strait into mine.

Link to comment
Share on other sites

This should have gone in the last thread but i will put it here. When my engine is active and not moving it has plenty of fuel. If the tank is half full or even full The engine will not move until i have activated infinite fuel.

Link to comment
Share on other sites

This is my code

sorry i do not no how to out it in a code bar.

name = HFD_Electrice_Engine

module = Part

author = O.R.C

mesh = model.mu

scale = 1

rescaleFactor = 1

node_stack_top = 0.0, 0.125001, 0.0, 0.0, 1.0, 0.0, 1

cost = 7000

category = Utility

subcategory = 0

title = HFG_ION Electric Propulsion System

manufacturer = Ionic Protonic Electronics

description = Due to a raise in money the KSP science team came up with the idea to make a new Ion powered engine. This is what they came up with.

attachRules = 1,0,1,1,0

// --- standard part parameters ---

mass = 0.25

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.2

angularDrag = 2

crashTolerance = 7

maxTemp = 3600

MODULE

{

name = ModuleEngines

thrustVectorTransformName = thrustTransform

exhaustDamage = False

ignitionThreshold = 0.1

minThrust = 0

maxThrust = 1000

heatProduction = 0

PROPELLANT

{

name = ElectricCharge

ratio = 50.0

}

PROPELLANT

{

name = XenonGas

ratio = 0.001

}

atmosphereCurve

{

key = 0 4200

}

}

MODULE

{

name = FXModuleAnimateThrottle

responseSpeed = 0.5

}

This is my engine with out infinite turned on

LtpkHsQ.jpg

this is it turned on

J4OhUfs.png

Link to comment
Share on other sites

Pretty sure I saw in the screenshot in the other thread that you had your thrust object just named "thrust"

the name of that object must be used in this line of you engine module in your Config file:

thrustVectorTransformName = thrustTransform

So make it:

thrustVectorTransformName = thrust

or rename that object to thrustTransform in Unity.

Link to comment
Share on other sites

Wau Tiberion :)

Honor for O.R.C and me that we hav your interrest :) thx (my horrible English, sorry)

But if it flys with infinite fuel hack, it can be only a .cfg problem i think ?

Recource conumption to high.

Edited by Thorenn
Link to comment
Share on other sites

I tried naming the the thrust as you said but that still did nothing. I also added that part of script but still no luck. This is a images of the engine when right clicked. I saw that the light is purple.

WC6Xzct.png

I have also made my power consumption less to see if that is the problem. It is now on: 0.1 : But that still does not help.

Link to comment
Share on other sites

I had a look at the ion engines that come with KSP and i found that my engine does not take any power. I have told it to use power, so it will not work until it gets power. what should I do to fix this. :huh:

Edited by O.R.C
Link to comment
Share on other sites

I tried that but deleted the part about using energy. It worked fine and flew with out a problem. But then i added back the consume power part of the script and it did not work. I copied the power script strait out of the Ion powered engine script. What is wrong with it.

name = HFD_Electrice_Engine

module = Part

author = O.R.C

mesh = model.mu

scale = 1

rescaleFactor = 1

node_stack_top = 0.0, 0.125001, 0.0, 0.0, 1.0, 0.0, 1

cost = 5700

category = Utility

subcategory = 0

title = PB-ION Electric Propulsion System

manufacturer = Ionic Protonic Electronics

description = By emitting ionized xenon gas through a small thruster port, the PB-ION can produce incredibly efficient propulsion, but with a downside of very low thrust and high expense.

attachRules = 1,0,1,1,0

// --- standard part parameters ---

mass = 0.25

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.2

angularDrag = 2

crashTolerance = 7

maxTemp = 3600

MODULE

{

name = ModuleEngines

thrustVectorTransformName = thrustTransform

exhaustDamage = False

ignitionThreshold = 0.1

minThrust = 0

maxThrust = 100

heatProduction = 0

PROPELLANT

{

name = ElectricCharge

ratio = 12.0

}

PROPELLANT

{

name = XenonGas

ratio = 0.1

}

atmosphereCurve

{

key = 0 4200

}

}

The object works fine with out this part

PROPELLANT

{

name = ElectricCharge

ratio = 12.0

}

Edited by O.R.C
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...