Jump to content

engine custom FX


amankd

Recommended Posts

i have an FX called PeliFlame, i am attempting to reference it in the config to make it appere, i have thrust and i did have smoke until i deleated, could someone have a look over the config to see if they can spot any issues?

PART

{

name = pelicanengine

module = Part

author = C. Jenkins

mesh = model.mu

scale = 1.0

node_attach = 0, 0, 0, 0, -1, 0, 0

mass = 1.0

CoMOffset = 1, 0, 0

// heatConductivity = 0.06 // half default

skinInternalConductionMult = 4.0

emissiveConstant = 0.8 // engine nozzles are good at radiating.

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.2

angularDrag = 2

crashTolerance = 20

maxTemp = 2000 // = 3600

TechRequired = hypersonicFlight

entryCost = 24500

cost = 3850

category = Engine

subcategory = 0

title = T-1 Toroidal "Aerospike" Liquid Fuel Engine

manufacturer = C7 Aerospace Division

description = The Toroidal Aerospike is a huge breakthrough from C7 Aerospace. While heavier than previous models, with its heavy-duty exhaust nozzle, the Aerospike makes up for it with an efficient burning of fuel at all altitudes.

attachRules = 1,1,1,1,1

bulkheadProfiles = size1

MODULE

{

name = ModuleEnginesFX

thrustVectorTransformName = ThrustTransform

exhaustDamage = True

ignitionThreshold = 0.1

minThrust = 0

maxThrust = 180

heatProduction = 110

flameoutEffectName = flameout

powerEffectName = running_thrust

runningEffectName = PeliFlame

engageEffectName = engage

disengageEffectName = disengage

EngineType = LiquidFuel

PROPELLANT

{

name = LiquidFuel

ratio = 0.9

DrawGauge = True

}

PROPELLANT

{

name = Oxidizer

ratio = 1.1

}

atmosphereCurve

{

key = 0 340 -50 -73.71224

key = 1 290 -21.23404 -21.23404

key = 5 230 -10.54119 -10.54119

key = 10 170 -13.59091 -13.59091

key = 20 0.001

}

}

MODULE

{

name = ModuleAnimateHeat

}

MODULE

{

name = ModuleAlternator

RESOURCE

{

name = ElectricCharge

rate = 5.0

}

}

MODULE

{

name = ModuleTestSubject

environments = 15

useStaging = True

useEvent = True

}

MODULE

{

name = ModuleSurfaceFX

thrustProviderModuleIndex = 0

fxMax = 0.6

maxDistance = 40

falloff = 1.7

thrustTransformName = ThrustTransform

}

EFFECTS

{

running_thrust

{

AUDIO

{

channel = Ship

clip = sound_jet_deep

volume = 0.0 0.0

volume = 0.05 0.4

volume = 1.0 0.9

pitch = 0.0 0.8

pitch = 1.0 1.4

loop = true

}

}

PeliFlame

{

MODEL_MULTI_PARTICLE

{

modelName = newpeli/FX/PeliFlame

transformName = ThrustTransform

emission = 0.0 0.0

emission = 0.4 0.0

emission = 0.6 0.8

emission = 1 1.15

speed = 0.4 0.3

speed = 0.6 0.8

speed = 1.0 1.15

}

}

running_turbine

{

AUDIO

{

channel = Ship

clip = sound_jet_low

volume = 0.0 0.0

volume = 0.05 0.7

volume = 1.0 1.0

pitch = 0.0 0.5

pitch = 0.05 0.6

pitch = 1.0 1.2

loop = true

}

MODEL_MULTI_PARTICLE

{

modelName = newpeli/FX/PeliFlame

transformName = ThrustTransform

emission = 0.0 0.0

emission = 0.2 0.0

emission = 0.3 0.8

emission = 1.0 1.15

speed = 0.0 0.8

speed = 1.0 1.15

}

}

engage

{

AUDIO

{

channel = Ship

clip = sound_vent_medium

volume = 1.0

pitch = 2.0

loop = false

}

}

disengage

{

AUDIO

{

channel = Ship

clip = sound_vent_soft

volume = 1.0

pitch = 2.0

loop = false

}

}

flameout

{

PREFAB_PARTICLE

{

prefabName = fx_exhaustSparks_flameout_2

transformName = ThrustTransform

oneShot = true

}

AUDIO

{

channel = Ship

clip = sound_explosion_low

volume = 1.0

pitch = 2.0

loop = false

}

}

}

}

thanks

Link to comment
Share on other sites

Well,there are some mistakes,but i don't know if you are trying to modify stock aerospike,or you have custom model.I guess you have copied the configs from stock "turbofan",but you need only one effect name for aerospike.Try to provide some more information so i can help you with *.cfg.

Link to comment
Share on other sites

Well,there are some mistakes,but i don't know if you are trying to modify stock aerospike,or you have custom model.I guess you have copied the configs from stock "turbofan",but you need only one effect name for aerospike.Try to provide some more information so i can help you with *.cfg.

it is a compleatly custom fx seperate to the aerospike, i just coppied the config from the aerospike originally

Link to comment
Share on other sites

Try this *.cfg:

PART
{
name = pelicanengine
module = Part
author = //sebi.zzr
mesh = model.mu
scale = 1.0
node_attach = 0, 0, 0, 0, -1, 0, 0
mass = 1.0
CoMOffset = 1, 0, 0
skinInternalConductionMult = 4.0
emissiveConstant = 0.8 // engine nozzles are good at radiating.
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 20
maxTemp = 2000 // = 3600
TechRequired = hypersonicFlight
entryCost = 24500
cost = 3850
category = Engine
subcategory = 0
title = pelicane engine XD
manufacturer = amankd
description = "Ťhe engine"
attachRules = 1,1,1,1,1
bulkheadProfiles = size1

MODULE
{
name = ModuleEnginesFX
thrustVectorTransformName = ThrustTransform
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 180
heatProduction = 110
flameoutEffectName = flameout
powerEffectName = running_thrust
runningEffectName = PeliFlame
engageEffectName = engage
disengageEffectName = disengage
EngineType = LiquidFuel

PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}

atmosphereCurve
{
key = 0 340 -50 -73.71224
key = 1 290 -21.23404 -21.23404
key = 5 230 -10.54119 -10.54119
key = 10 170 -13.59091 -13.59091
key = 20 0.001
}
}

EFFECTS
{
running_thrust
{
AUDIO
{
channel = Ship
clip = sound_jet_deep
volume = 0.0 0.0
volume = 0.05 0.4
volume = 1.0 0.9
pitch = 0.0 0.8
pitch = 1.0 1.4
loop = true
}

PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_light
transformName = ThrustTransform
emission = 0.0 0.0
emission = 0.05 0.0
emission = 0.075 0.25
emission = 1.0 1.25
speed = 0.0 0.25
speed = 1.0 1.0
localOffset = 0, 0, 1
localRotation = 1, 0, 0, -90
}
}

PeliFlame
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 0.05 0.7
volume = 1.0 1.0
pitch = 0.0 0.5
pitch = 0.05 0.6
pitch = 1.0 1.2
loop = true
}

MODEL_MULTI_PARTICLE
{
modelName = newpeli/FX/PeliFlame //this needs to be file specific GameData/newpeli/FX/your effect(PeliFlame)
transformName = ThrustTransform
emission = 0.0 0.0
emission = 0.2 0.0
emission = 0.3 0.8
emission = 1.0 1.1
speed = 0.0 0.8
speed = 1.0 1.15
}
}
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 1.0
pitch = 2.0
loop = false
}
}

disengage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}

flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = ThrustTransform
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
}
}

If you want some "fine tune",then you need to provide both model(engine,effect).

regards

Edited by sebi.zzr
missing parameter
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...