Jump to content

moduleRCS | EFFECTS{}


PDCWolf

Recommended Posts

Well, I have 3 problems here, and I want to know if someone else has ran into them (A search at the bugtracker yielded no results for the first two).

First, ModuleRCS received an update with 0.24, making it accept multiple resources. On squad's implementation and on part of mine it works wonders, as long as we keep things linear and we use only one nozzle (vernor, linear rcs), but when taken to multiple nozzles, things get funky:

I wanted to make IonRCS, the linear version works wonders and consumes both electricity and XenonGas as expected. The multiple nozzle version, on the other hand, works excelently until you want to translate, where only the forward command (H key) works and the rest don't do anything (IJKLN keys).

Vernor engine


MODULE
{
name = ModuleRCS
thrusterTransformName = RCSthruster
thrusterPower = 12
resourceName = LiquidFuel
resourceFlowMode = STAGE_PRIORITY_FLOW
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
resourceFlowMode = STAGE_PRIORITY_FLOW
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
resourceFlowMode = STAGE_PRIORITY_FLOW
}
atmosphereCurve
{
key = 0 260
key = 1 140
}


}

My part

MODULE
{
name = ModuleRCS
thrusterTransformName = RCSthruster
thrusterPower = 0.3
resourceName = XenonGas
resourceFlowMode = STAGE_PRIORITY_FLOW
PROPELLANT
{
name = XenonGas
ratio = 0.1
resourceFlowMode = STAGE_PRIORITY_FLOW
}
PROPELLANT
{
name = ElectricCharge
ratio = 0.5
resourceFlowMode = STAGE_PRIORITY_FLOW
}
atmosphereCurve
{
key = 0 2400
key = 1 1200
}
}

Second, the new particle effects. When defining them for multiple thrustTransform points, they work. When defining the smoke emission, it works on only one thrustTransform of whatever amount you have. I also tried following the rapier as an example and making "smokePoint" nodes, and the same happens, only one smokePoint emits smoke and the rest don't do anything. This is weird considering multiple thrustTransforms work as they should for thrust and particle effects that are engine-related. I tried with both the aerospike smoke and the "light" smoke.

My part (I kept the names for extra "it is actually not my fault")

EFFECTS
{
power_open
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
modelName = Squad/FX/shockExhaust_red_small
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.5
speed = 1.0 1.2
}
}
running_open
{
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_light
transformName = smokePoint
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
}
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
}
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = smokePoint
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
}

Rapier

EFFECTS
{
running_closed
{
AUDIO
{
channel = Ship
clip = sound_rocket_spurts
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_aeroSpike
transformName = smokePoint
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
}
MODEL_MULTI_PARTICLE
{
modelName = Squad/FX/shockExhaust_blue_small
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.5
speed = 1.0 1.2
}
}
power_open
{
AUDIO
{
channel = Ship
clip = sound_rocket_spurts
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
modelName = Squad/FX/shockExhaust_red_small
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.5
speed = 1.0 1.2
}
}
running_open
{
AUDIO
{
channel = Ship
clip = sound_jet_deep
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_aeroSpike
transformName = smokePoint
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
}
}
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = smokePoint
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
}

Third, I don't know if this thread is in the right section.

Anyone else having any of these problems? maybe someone with a solution?

Link to comment
Share on other sites

Known bug. Use ModuleRCSFX.

Also, my .24 build of ModuleRCSFX I stripped out the EFFECTS code since no one was using it; I can add it back in.

"known". Well, guess I got late to the party. Thanks for the offer but I'll pass, maybe squad will fix that stuff -some day-.

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