zer0Kerbal / SpaceYExpanded

An expansion pack for the SpaceY Heavy Lifters (SYL) parts addon and adds 7.5m parts, plus additional engines, accessories, and other parts that go beyond the original stated purpose of SpaceY Heavy Lifters. For Kerbal Space Program. **This pack requires SpaceY Corp (SYC), SpaceY Lifters (SYL) and Module Manager, to be installed as dependencies.**
https://forum.kerbalspaceprogram.com/index.php?/topic/211576-*/
Other
2 stars 6 forks source link

[PATCH] Vernier #62

Closed zer0Kerbal closed 1 year ago

zer0Kerbal commented 1 year ago

@linuxgurugamer linuxgurugamer

Posted June 23, 2019

If anyone is interested, the SpaceY Vernier part, while it works, has bad effects since it was using the old ModuleRCS.

I've fixed it for myself, the following patch is all that's needed:

//
// This patch fixes the SpaceY Vernier which uses the old
// ModuleRCS and has bad effects
//
@PART[SYvernier1]
{
    !MODULE[ModuleRCS]{}

    EFFECTS
    {
        running
        {
            AUDIO
            {
                channel = Ship
                clip = sound_rocket_mini
                volume = 0.0 0.0
                volume = 0.02 0.2
                volume = 0.2 0.2
                volume = 0.4 0.2
                pitch = 0.0 0.75
                pitch = 1.0 1.5
                loop = true
            }
            MODEL_MULTI_PARTICLE
            {
                modelName = Squad/FX/Monoprop_small
                transformName = RCSthruster
                emission = 0.0 0.0
                emission = 0.1 0.0
                emission = 0.4 1.0
                speed = 0.0 0.8
                speed = 1.0 1.0
                localRotation = -90, 0, 0
            }
        }       
    }
    MODULE
    {
        name = ModuleRCSFX
        thrusterTransformName = RCSthruster
        thrusterPower = 100
        resourceName = LiquidFuel
        runningEffectName = running
        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 180
            key = 9 0.001
        }
    }
}