Jump to content

FX problem


Recommended Posts

My problem is: Whatever i'll put in:

fx_exhaustFlame_yellow_tiny = 0.0, -2.0, 0.0, 0.0, -1.0, 0.0, running

flame will come out of one place, no matter what value i'll put there.


PART
{
name = smallEngine
module = Part
author = PatPL


mesh = model.mu
rescaleFactor = 0.25


node_stack_top = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0
node_attach = 0.49, 0.0, 0.0, 1.0, 0.0, 0.0, 1


fx_exhaustFlame_yellow_tiny = 0.0, -2.0, 0.0, 0.0, 1.0, 0.0, running


TechRequired = generalRocketry
entryCost = 300
cost = 188
category = Propulsion
subcategory = 0
title = -???-
manufacturer = -???-
description = -???-
attachRules = 1,0,1,0,0


mass = 0.07
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
breakingForce = 200
breakingTorque = 200
maxTemp = 2900


MODULE
{
name = ModuleEngines
thrustVectorTransformName = thrustTransform
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 20
heatProduction = 300
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 344
key = 1 320
}

}
}


Link to comment
Share on other sites

Hi, the exhaust and engine effects are derived from the thrustTransform of the engine, in old versions of ksp this was defined via the cfg, but now it's strictly related to the transform. If you are not using module engineFX then you may be able to use the fx offset value to move effects to your chosen location

Link to comment
Share on other sites

Thanks for the reply.

I have one last question. I want to make engine, that will go with full power, or none power. If I do


minThrust = 200
maxThrust = 200

Engine can't be shut down using main throttle controls.

Do I need plugin for that, or i'm doing something wrong?

Link to comment
Share on other sites

that's what SRBs do. ON or OFF. ON = full thrust. OFF = 0 thrust.

setting max and min thrust to same value will just mean you have to use deactive/active engine button.

you'd need a plugin to change the way throttle functions for do what you want. but that'd just be duplicating the function of deactivate/active engine really.

Edited by nli2work
Link to comment
Share on other sites

that's only a single setting in ModuleEngines. if you learned how ModuleEngines work, you can almost make any engine you want.

What you are trying to do is related to how Throttle function, not related to ModuleEngine. You might try some throttle plugins. or rely on Z/X hotkeys, or action group binding to turn engine on/off.

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