Jump to content

Help with fx for an engine


Slapdat

Recommended Posts

Hello ksp Forums.

I am having some trouble with my engine its config is based off the lv-909 engine and the fx is always on not just when the engine is on.

Any suggestions.

This is my config.

PART
{
// Kerbal Space Program - Part Config
// LV-T453 Liquid Fuel Engine
//

// --- general parameters ---
name = liquidEngine32
module = Part
author = Mrbrownce

// --- asset parameters ---
mesh = Model2.mu
scale = 0.01




// --- FX definitions ---

fx_exhaustFlame_blue_small = 0.0, -21.0, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustLight_blue = 0.0, -21.0, 0.0, 0.0, 0.0, 1.0, running
fx_smokeTrail_light = 0.0, -21.0, 0.0, 0.0, 1.0, 0.0, running

// --- Sound FX definition ---

sound_vent_medium = engage
sound_rocket_hard = running
sound_vent_soft = disengage
sound_explosion_low = flameout

// --- editor parameters ---
TechRequired = survivability
entryCost = 1600
cost = 750
category = Propulsion
subcategory = 0
title = LV-91109 Liquid Fuel Engine
manufacturer = Jebediah Kerman's Junkyard and Spaceship Parts Co.
description = The 909 model was initially received with some skepticism by spacecraft engineers, as it defied the long-standing convention that "More Power!" is always better. Despite this, the 909 series has found its place in the spacecraft construction world, being particularly useful as a final stage and landing engine.
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,0,0

// --- standard part parameters ---
mass = 0.5
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 3600

NODE
{
name = top
transform = top
}
MODULE
{
name = ModuleEngines
thrustVectorTransformName = ThrustTransform
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 50
heatProduction = 300
fxOffset = 0, 0, 0.21
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 390
key = 1 300
}

}

MODULE
{
name = ModuleGimbal
gimbalTransformName = thrustTransform
gimbalRange = 0.5
}

MODULE
{
name = ModuleAnimateHeat
ThermalAnim = HeatAnimatioEmissiveLiquidEngine3
}


MODULE
{
name = ModuleJettison
jettisonName = fairing
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1

}
}

Thanks!

Link to comment
Share on other sites

HAve you just changed the appropriate values for the LV-909 instead of creating a whole new engine? As long as you change the "name =" bit at the top and the "title =" so you can tell them apart it should work just fine.

After combing through your code (And comparing it to the LV-909) your node definitions are wrong. it should be these:



node_stack_top = 0.0, 21.6498, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -37.8251, 0.0, 0.0, 1.0, 0.0, 1

Assuming you are using the same size engine. What exactly did you change from the stock engine?

Edited by Taki117
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...