SpaceX BFR May Payload Simulation

Here is a project I worked on for 2 weeks. It is a rocket simulation of SpaceX’s BFR with max payload.

The video was captured from in the Realism Overhaul mod for KSP. Audio is from SpaceX’s Orbcom 2 mission. Here is a picture of the Video Screen Editor.


I had to write multiple scripts in multiple languages to have the readouts work correctly. Here are the scripts for KOS that I added to KSP


//booster.ks
set bRunmode to 1.
set mySpot to SHIP:GEOPOSITION.


until bRunmode = 0 {
    if SHIP:MASS < 400 {
        SHIP:PARTSDUBBED("ME")[0]:getmodule("MultiModeEngine"):doevent("toggle mode").
        SHIP:PARTSDUBBED("myProbe")[0]:getmodule("ModuleCommand"):doevent("control from here").
        RCS off.
        lock steering to heading (270.7, 0).
        WAIT 13.
        print mySpot:Heading.
        RCS on.
        lock throttle to 1.0.
        until SHIP:GROUNDSPEED < 100 {
            print SHIP:GROUNDSPEED.
            wait .001.
        }
        until SHIP:GROUNDSPEED > 410 {
            print "under 100".
            wait .001.
        }
        print "over 100".
        SET SHIP:CONTROL:PILOTMAINTHROTTLE TO 0.
        SET bRunmode TO 0.
    }
    WAIT .001.
}


//launch.ks
SET sle TO SHIP:PARTSDUBBED("SLE")[0].
SET myTime to 0.
SET mySpot to LATLNG(10,20).
SET myAlt to 0.


SAS off.
RCS on.
lock throttle  to 1.0.


clearscreen.
set runmode to 1.


until runmode = 0 {
    if runmode = 1 {
        print "mode 1".
        //setup booster
        print(mySpot).
//        set mySpot to SHIP:GEOPOSITION.
        print "pad location: " + mySpot.
        set myAlt to SHIP:ALTITUDE.
        print "pad altitude: "+ myAlt.
        //setup arrow
//        SET VD TO VECDRAWARGS(
//            mySpot:ALTITUDEPOSITION(mySpot:TERRAINHEIGHT+100),
//            mySpot:POSITION - mySpot:ALTITUDEPOSITION(mySpot:TERRAINHEIGHT+100),
//            red, "", 10, true).


        //setup spaceship
        lock steering to heading (90, 90).
        STAGE.
        //WAIT UNTIL
        WAIT 6.0.
        STAGE.
        set runmode to 2.
        print "mode 2".
        WAIT 0.001.
    }
    else if runmode = 2 {
        if SHIP:AIRSPEED > 100 {
            set runmode to 3.
            print "mode 3".
        }
        WAIT 0.001.
    }
    else if runmode = 3 {
        set targetPitch to max( 30, 90 * (1 - SHIP:APOAPSIS / 170000)).
        lock steering to heading (90, targetPitch).
        if SHIP:MASS < 1720 {
            lock throttle  to 0.
            WAIT 1.
            STAGE.
            SHIP:DOCKINGPORTS[0]:getmodule("ModuleDockingNode"):doevent("decouple node").
            set runmode to 4.
            print "mode 4".
        }
        WAIT 0.001.
    }
    else if runmode = 4 {
        if SHIP:MASS < 300 {
            print "identity = booster".
            set runmode to 7.
            print "mode 7".
        }
        else if SHIP:MASS < 1400 {
            print "identity = spacecraft".
            lock throttle  to 1.0.
            SAS on.
            set myTime to (time:second + (time:minute*60)).
            set runmode to 5.
            print "mode 5".
        }
        WAIT 0.001.
    }
    else if runmode = 5 {
        set newTime to (time:second + (time:minute*60)).
        set targetPitch to max( 14, 45 - (newTime - myTime)).
        lock steering to heading (90, targetPitch).
        print targetPitch.
        LOCK g TO SHIP:BODY:MU / (SHIP:BODY:RADIUS + SHIP:ALTITUDE)^2.
        if (SHIP:MAXTHRUST / (g * SHIP:MASS)) > 1.67 {
            PRINT("ship twr: " + SHIP:MAXTHRUST / (g * SHIP:MASS)).
            sle:SHUTDOWN().
            set runmode to 6.
            print "mode 6".
        }
        WAIT 0.001.
    }
    else if runmode = 6 {
        if SHIP:PERIAPSIS > 150000 {
            set runmode to 7.
            print "mode 7".
        }
        WAIT 0.001.
    }
    else if runmode = -1 {
        lock steering to heading (270, targetPitch).
        WAIT 7.
        lock throttle to 1.0.
        WAIT 7.
        SET runmode to 7.
        SET SHIP:CONTROL:PILOTMAINTHROTTLE TO 0.
        WAIT 0.001.
    }
    else if runmode = 7 {
        SET SHIP:CONTROL:PILOTMAINTHROTTLE TO 0.
        print "done".
        set runmode to 0.
        WAIT 0.001.
    }
}
//myDock:DOEVENT(“undock node”).

When rendering the gages I had to write a custom python script to display the correct information.


#settings.py
def init():
    global mylist
    global myItr
    myItr = 0
    with open('f:/vid/mylog.txt') as f:
        mylist = f.readlines()


#main.py
import settings
import bpy


settings.init()


def my_handler(scene):
    maxRadians  = 1.5708
    speedMax = 10000
    altitudeMax = 200


    inputLine = settings.mylist[settings.myItr]
    inputList = inputLine.split(" ")
    speedText = inputList[0]
    altitudeText = inputList[1]
    speed = float(speedText)
    altitude = float(altitudeText)


    bpy.data.objects["textSpeed"].data.body = speedText
    bpy.data.objects["planeSpeed"].rotation_euler = (0,0,speed/speedMax*maxRadians)


    bpy.data.objects["textAltitude"].data.body = altitudeText
    bpy.data.objects["planeAltitude"].rotation_euler = (0,0,altitude/altitudeMax*maxRadians)


    print(settings.myItr)
    settings.myItr = settings.myItr + 1


bpy.app.handlers.render_pre.append(my_handler)

1 Like

Here are the modified cfg files.

PART
{
    name = BFR_Engines
    module = Part
    author = Damon
    MODEL
    {
        model = TundraExploration/Parts/ITS/BFR_Engines
    rotation = 0, 0, 0
    }
    rescaleFactor = 1.8
	node_stack_top = 0.0, 1.05, 0.0, 0.0, 1.0, 0.0, 4
	    mass = 82
    // 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
    breakingForce = 400
    breakingTorque = 400
    crashTolerance = 20
    maxTemp = 2000 // = 3600
    TechRequired = veryHeavyRocketry
    entryCost = 115000
    cost = 80000
    category = Engine
    subcategory = 0
    title = RAP-37000 "Kingfisher" Booster Engine Cluster
    manufacturer = Tundra Exploration
    description = Modern construction techniques result in the Kingfisher series being astonishingly efficient and thrusty in a small package. This absolutely enormous cluster of them is equipped with 2 modes, one being all of the engines, and the other only being the center three engines for more precise burns.
    tags = Gojira BFR ITS big raptor sl sea web landing engine s1
    attachRules = 1,0,1,1,0
	
    EFFECTS
    {
        running_full
        {
            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_veryLarge
                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/ks25_Exhaust
                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
            }
        }
        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
            }
        }
        running_one
        {
            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_veryLarge
                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/ks25_Exhaust
                transformName = centerTransform
                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
            }
        }
        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
            }
        }    
    }
    EFFECTS
    {
        running
        {
            AUDIO
            {
                channel = Ship
                clip = sound_rocket_mini
                volume = 0.0 0.0
                volume = 0.1 0.0
                volume = 0.5 0.05
                volume = 1.0 0.5
                pitch = 0.0 0.5
                pitch = 1.0 1.0
                loop = true
            }
            MODEL_MULTI_PARTICLE
            {
                modelName = Squad/FX/Monoprop_medium
                transformName = RCS
                emission = 0.0 0.0
                emission = 0.1 0.0
                emission = 1.0 1.0
                speed = 0.0 0.8
                speed = 1.0 1.0
                localRotation = -90, 0, 0
            }
        }        
    }
    MODULE
    {
        name = MultiModeEngine
        primaryEngineID = AllEngines
        secondaryEngineID = CenterOnly
    }
    MODULE
    {
        name = ModuleEnginesFX
        engineID = AllEngines
        runningEffectName = running_full
        thrustVectorTransformName = thrustTransform
        exhaustDamage = True
        ignitionThreshold = 0.1
        minThrust = 0
        maxThrust = 58900
        heatProduction = 1
        6
        fxOffset = 0, 0, 0.25
        EngineType = LiquidFuel
        PROPELLANT
        {
            name = LqdMethane
            ratio = 1.0
            DrawGauge = True
        }
        PROPELLANT
        {
            name = LqdOxygen
            ratio = 3.8
        }
        atmosphereCurve
        {
            key = 0 356
            key = 1 330
            key = 12 0.001
        }
    }
    MODULE
    {
        name = ModuleEnginesFX
        engineID = CenterOnly
        runningEffectName = running_one
        thrustVectorTransformName = centerTransform
        exhaustDamage = True
        ignitionThreshold = 0.1
        minThrust = 0
        maxThrust = 13300
        heatProduction = 350
        fxOffset = 0, 0, 0.25
        EngineType = LiquidFuel
        PROPELLANT
        {
            name = LqdMethane
            ratio = 1.0
            DrawGauge = True
        }
        PROPELLANT
        {
            name = LqdOxygen
            ratio = 3.8
        }
        atmosphereCurve
        {
            key = 0 356
            key = 1 330
            key = 12 0.001
        }
    }
    MODULE
    {
        name = ModuleSurfaceFX
        thrustProviderModuleIndex = 1
        fxMax = 0.9
        maxDistance = 50
        falloff = 1.8
        thrustTransformName = thrustTransform
    }
    MODULE
    {
        name = ModuleSurfaceFX
        thrustProviderModuleIndex = 2
        fxMax = 0.6
        maxDistance = 40
        falloff = 1.8
        thrustTransformName = centerTransform
    }
    MODULE
    {
        name = ModuleGimbal
        gimbalTransformName = gimbalTransform
        gimbalRange = 4
    }
    MODULE
    {
        name = ModuleAlternator
        RESOURCE
        {
            name = ElectricCharge
            rate = 12.0
        }
    }
    RESOURCE
    {
        name = ElectricCharge
        amount = 0
        maxAmount = 0
        isTweakable = false
        hideFlow = true
    }
    MODULE
    {
        name = ModuleRCSFX
        thrusterTransformName = RCS
        thrusterPower = 17
        resourceName = LiquidFuel
        resourceFlowMode = STAGE_PRIORITY_FLOW
        PROPELLANT
        {
            name = LqdMethane
            ratio = 1.0
            DrawGauge = True
            resourceFlowMode = STAGE_PRIORITY_FLOW
        }
        PROPELLANT
        {
            name = LqdOxygen
            ratio = 3.8
            resourceFlowMode = STAGE_PRIORITY_FLOW
        }
        atmosphereCurve
        {
            key = 0 240
            key = 1 100
            key = 4 0.001
        }
    }
}
PART{
name = BFR_ProbeCore
module = Part
author = Damon
	    MODEL
    {
        model = TundraExploration/Parts/ITS/BFR_ProbeCore
    rotation = 0, 180, 0
    }
    rescaleFactor = 1.8
	node_stack_top = 0.0, 0.90, 0.0, 0.0, 1.0, 0.0, 4
node_stack_bottom = 0.0, -0.90, 0.0, 0.0, -1.0, 0.0, 4
	TechRequired = veryHeavyRocketry
entryCost = 33000
cost = 4200
category = Pods
subcategory = 0
title = Gojira BFT-10 Probe Core
manufacturer = Tundra Exploration
description = This huge slab of avionics is chiefly responsible for keeping Gojira's booster on course as it returns safely to the surface. Loaded with electric charge and with powerful reaction wheels, it is hopefully up to the task.
tags = Gojira BFR ITS big probe control rcs reaction wheel landing s1
attachRules = 1,0,1,1,1
	mass = 9.5
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.1
angularDrag = 2
crashTolerance = 45
maxTemp = 8000
	vesselType = Ship
	MODULE
{
    name = ModuleCommand
    minimumCrew = 0
}
	RESOURCE
{
    name = ElectricCharge
    amount = 1600
    maxAmount = 1600
}
	MODULE
{
    name = ModuleSAS
    SASServiceLevel = 3
}
	    MODULE
        {
        name = ModuleReactionWheel
    
        PitchTorque = 75
        YawTorque = 75
        RollTorque = 75
    
        RESOURCE
        {
            name = ElectricCharge
            rate = 2
        }
    }
    MODULE
    {
        name = ModuleRCSFX
        thrusterTransformName = RCS
        thrusterPower = 17
        resourceName = LiquidFuel
        resourceFlowMode = STAGE_PRIORITY_FLOW
        PROPELLANT
        {
            name = LiquidFuel
            ratio = 1.1
            DrawGauge = True
            resourceFlowMode = STAGE_PRIORITY_FLOW
        }
        PROPELLANT
        {
            name = Oxidizer
            ratio = 1.3
            resourceFlowMode = STAGE_PRIORITY_FLOW
        }
        atmosphereCurve
        {
            key = 0 240
            key = 1 100
            key = 4 0.001
        }
    }
    EFFECTS
    {
        running
        {
            AUDIO
            {
                channel = Ship
                clip = sound_rocket_mini
                volume = 0.0 0.0
                volume = 0.1 0.0
                volume = 0.5 0.05
                volume = 1.0 0.5
                pitch = 0.0 0.5
                pitch = 1.0 1.0
                loop = true
            }
            MODEL_MULTI_PARTICLE
            {
                modelName = Squad/FX/Monoprop_medium
                transformName = RCS
                emission = 0.0 0.0
                emission = 0.1 0.0
                emission = 1.0 1.0
                speed = 0.0 0.8
                speed = 1.0 1.0
                localRotation = -90, 0, 0
            }
        }        
    }
}
PART
{
    name = ITS_SLE
    module = Part
    author = Damon
    MODEL
    {
        model = TundraExploration/Parts/ITS/ITS_SLE
    rotation = 0, 180, 0
    }
    rescaleFactor = 1.8
	node_stack_top = 0.0, -0.6, 0.0, 0.0, 1.0, 0.0, 3
	    TechRequired = heavierRocketry
    entryCost = 14000
    cost = 18000
    category = Engine
    subcategory = 0
    title = RAP-3000 "Kingfisher" Sea Level Engine Cluster
    manufacturer = Tundra Exploration
    description = Modern construction techniques result in the Kingfisher series being astonishingly efficient and thrusty in a small package. This cluster of three engines are used to land the vessel on the surfaces of planets and moons with an atmosphere. If these fail during your landing burn, good luck!
    tags = Gojira BFR ITS big BFS ship raptor sl sea engine s2 landing
    attachRules = 1,0,1,0,0
    CoMOffset = 0.0, -0.9, 0.0
    mass = 7.5
    // 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 = 8
    breakingForce = 200
    breakingTorque = 200
    maxTemp = 8000
    bulkheadProfiles = size2
	    EFFECTS
    {
        running_full
        {
            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_veryLarge
                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/ks25_Exhaust
                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
            }
        }
        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
            }
        }
        running_one
        {
            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_veryLarge
                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/ks25_Exhaust
                transformName = centerTransform
                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
            }
        }
        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
            }
        }
    }
    MODULE
    {
        name = ModuleEnginesFX
        runningEffectName = running_full
        thrustVectorTransformName = thrustTransform
        exhaustDamage = True
        ignitionThreshold = 0.1
        minThrust = 0
        maxThrust = 5700
        heatProduction = 196
        fxOffset = 0, 0, 0.25
        EngineType = LiquidFuel
        PROPELLANT
        {
            name = LqdMethane
            ratio = 1.0
            DrawGauge = True
        }
        PROPELLANT
        {
            name = LqdOxygen
            ratio = 3.8
        }
        atmosphereCurve
        {
            key = 0 356
            key = 1 330
            key = 12 0.001
        }
    }
    MODULE
    {
        name = ModuleAlternator
        RESOURCE
        {
            name = ElectricCharge
            rate = 10.0
        }
    }
    RESOURCE
    {
        name = ElectricCharge
        amount = 0
        maxAmount = 0
        isTweakable = false
        hideFlow = true
    }
    MODULE
    {
        name = ModuleSurfaceFX
        thrustProviderModuleIndex = 2
        fxMax = 0.6
        maxDistance = 40
        falloff = 1.8
        thrustTransformName = centerTransform
    }
    MODULE
    {
        name = ModuleGimbal
        gimbalTransformName = Engine_Cluster
        gimbalRange = 2
    }
    MODULE
    {
        name = ModuleAlternator
        RESOURCE
        {
            name = ElectricCharge
            rate = 12.0
        }
    }
    MODULE
    {
        name = ModuleGimbal
        gimbalTransformName = gimbalTransform
        gimbalRange = 2
    }
}
PART
{
    name = ITS_VAC
    module = Part
    author = Damon
    MODEL
    {
        model = TundraExploration/Parts/ITS/ITS_VAC
    rotation = 0, 180, 0
    }
    rescaleFactor = 1.8
	node_stack_top = 0.0, 0.65, 0.0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.6, 0.0, 0.0, -1.0, 0.0, 3
	    TechRequired = heavierRocketry
    entryCost = 14000
    cost = 24500
    category = Engine
    subcategory = 0
    title = RU-1K "Kingfisher" Vacuum Engine
    manufacturer = Tundra Exploration
    description =  Modern construction techniques result in the Kingfisher series being astonishingly efficient and thrusty in a small package. This cluster of four engines is used for use on orbit and on atmosphereless bodies. Try not to ding these up during landing.
    tags = Gojira BFR ITS big BFS ship raptor vacuum engine s2 landing
    attachRules = 1,0,1,0,0
    CoMOffset = 0.0, -1.5, 0.0
    mass = 18
    // 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 = 8
    breakingForce = 200
    breakingTorque = 200
    maxTemp = 8000
    bulkheadProfiles = size2
	    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_veryLarge
                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/ks1_Exhaust
                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
            }
        }
        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
            }
        }
    }
    MODULE
    {
        name = ModuleEnginesFX
        runningEffectName = running_closed
        thrustVectorTransformName = ThrustTransform
        exhaustDamage = True
        ignitionThreshold = 0.1
        minThrust = 0
        maxThrust = 7600
        heatProduction = 350
        fxOffset = 0, 0, 1.2
        EngineType = LiquidFuel
        PROPELLANT
        {
            name = LqdMethane
            ratio = 1.0
            DrawGauge = True
        }
        PROPELLANT
        {
            name = LqdOxygen
            ratio = 3.8
        }
        atmosphereCurve
        {
            key = 0 375
            key = 1 85
            key = 3 0.001
        }
    }
    MODULE
    {
        name = ModuleAlternator
        RESOURCE
        {
            name = ElectricCharge
            rate = 10.0
        }
    }
    RESOURCE
    {
        name = ElectricCharge
        amount = 0
        maxAmount = 0
        isTweakable = false
        hideFlow = true
    }
    MODULE
    {
        name = ModuleSurfaceFX
        thrustProviderModuleIndex = 0
        fxMax = 0.8
        maxDistance = 50
        falloff = 2
        thrustTransformName = ThrustTransform
    }
}
PART
{
    name = BFR_Tank
    module = Part
    author = Damon
	    MODEL
    {
        model = TundraExploration/Parts/ITS/BFR_Tank
    rotation = 0, 180, 0
    }
    rescaleFactor = 1.8
	node_stack_top = 0.0, 13.5, 0.0, 0.0, 1.0, 0.0, 4
node_stack_bottom = 0.0, -13.5, 0.0, 0.0, -1.0, 0.0, 4
node_attach = 0.0, 0.0, -1, 0.0, 0.0, 1.0
	    TechRequired = veryHeavyRocketry
    entryCost = 46600
cost = 12000
    category = Propulsion
    subcategory = 0
    title = Gojira BFT-9000 Fuel Tank
    manufacturer = Tundra Exploration
    tags = Gojira BFR ITS big tank fueltank s1 landing
    description = This gargantuan composite tank rivals the height of skyscrapers, storing enough fuel to sling up Gojira and return safely to the ground for economical reuse. Unsafe returns may result in increased mission costs and entertaining explosions.
    attachRules = 1,1,1,1,0
    mass = 83
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.3
    angularDrag = 2
    crashTolerance = 6
    breakingForce = 400
    breakingTorque = 400
    maxTemp = 8000
    bulkheadProfiles = size3, srf
    emissiveConstant = 0.8
    skinInternalConductionMult = 4.0
	    RESOURCE
    {
        name = LqdMethane
        amount = 632196
        maxAmount = 632196
    }
    RESOURCE
    {
        name = LqdOxygen
        amount = 2402346
        maxAmount = 2402346
}
PART
{
    name = ITS_Tank
    module = Part
    author = Damon
	    MODEL
    {
        model = TundraExploration/Parts/ITS/ITS_Tank
    rotation = 0, 180, 0
    }
    rescaleFactor = 1.8
	node_stack_top = 0.0, 5.27, 0.0, 0.0, 1.0, 0.0, 4
node_stack_bottom = 0.0, -4.7, 0.0, 0.0, -1.0, 0.0, 4
node_attach = 0.0, 0.0, -1.25, 0.0, 0.0, 1.0
	    TechRequired = heavierRocketry
    entryCost = 46600
    cost = 12000
    category = Propulsion
    subcategory = 0
    title = Gojira BFT-1700 Shielded Fuel Tank
    manufacturer = Tundra Exploration
    description = This massive, insulated fuel tank is designed to contain all of Gojira's propellant for long interplanetary voyages. Shielding protects its content from the forces of reentry.
    tags = Gojira BFR ITS big BFS ship tank fueltank heatshield heat shield s2 landing
    attachRules = 1,1,1,1,0
    mass = 23
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.3
    angularDrag = 2
    crashTolerance = 6
    breakingForce = 400
    breakingTorque = 400
    maxTemp = 8000
    bulkheadProfiles = size3, srf
    CoMOffset = 0.0, -1, 0.0
    emissiveConstant = 0.8
    skinInternalConductionMult = 4.0
    
    RESOURCE
    {
        name = LqdMethane
        amount = 231023
        maxAmount = 231023
    }
    RESOURCE
    {
        name = LqdOxygen
        amount = 877889
        maxAmount = 877889
    }
}
PART
{
    name = ITS_DockingPort
    module = Part
    author = Damon
	    MODEL
    {
        model = TundraExploration/Parts/ITS/ITS_DockingPort
    rotation = 0, 180, 0
    }
    rescaleFactor = 1.8
	node_stack_top = 0.0,  0.05, 0.0, 0.0, 1.0, 0.0, 4
node_stack_bottom = 0.0, -0.05, 0.0, 0.0, -1.0, 0.0, 4
	    fx_gasBurst_white = 0.0, 0.0650517, 0.0, 0.0, 1.0, 0.0, decouple
    sound_vent_large = decouple
    TechRequired = veryHeavyRocketry
    entryCost = 9200
    cost = 900
    category = Coupling
    subcategory = 0
    title = Gojira BFS-29 Stack Decoupler
    manufacturer = Tundra Exploration
    description = This decoupler is designed to separate Gojira from its massive booster. It has the added benefit of being the world's largest hula hoop.
    tags = Gojira BFR ITS big BFS ship docking port ring back butt s2
    attachRules = 1,0,1,1,0
    mass = 1
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.2
    angularDrag = 2
    crashTolerance = 9
    maxTemp = 8000
    fuelCrossFeed = False
    stageOffset = 1
    childStageOffset = 1
    bulkheadProfiles = size1
    stagingIcon = DECOUPLER_VERT
    DRAG_CUBE
    {
        cube = Default, 0.3840669,0.7586023,0.765933, 0.3840669,0.7586111,0.765933, 1.250829,0.890376,0.2939519, 1.250829,0.9989504,0.1118914, 0.3840669,0.7559006,0.7659331, 0.3840669,0.7590505,0.7659331, 0,7.82311E-09,-9.325873E-16, 1.337897,0.2835982,1.337897
    }
    MODULE
    {
        name = ModuleDockingNode
        referenceAttachNode = bottom
        nodeType = size3
        stagingEnabled = True
        acquireForce = 4.0
        acquireTorque = 1.0
    }
}
PART{
name = ITS_Pod
module = Part
author = Damon
	    MODEL
    {
        model = TundraExploration/Parts/ITS/ITS_Pod
    rotation = 0, 180, 0
    }
    rescaleFactor = 1.8
	node_stack_bottom = 0.0, 0, 0.0, 0.0, -1.0, 0.0, 4
node_attach = 0.0, 0.0, 1, 0.0, 0.0, 1.0
node_stack_front = 0.0, 1.37, -1.75, 0.0, 0.0, -1
	TechRequired = heavierRocketry
entryCost = 36000
cost = 17000
category = Pods
subcategory = 0
title = Gojira BFS-1700 Command Pod
manufacturer = Tundra Exploration
description = Tundra Exploration's engineers took it very literally when they were asked to "think big" about their next project. Gojira is the result, a spacecraft that can transport massive amounts of crew and cargo around the cosmos in style and comfort. There's so much room for activities!
tags = Gojira BFR ITS big BFS ship pod s2 landing
attachRules = 1,0,1,1,1
CoMOffset = 0.0, 3.0, 0.0
	mass = 5
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.1
angularDrag = 2
crashTolerance = 20
maxTemp = 8000
	vesselType = Ship
	CrewCapacity = 10
emissiveConstant = 0.8
skinInternalConductionMult = 4.0
	MODULE
{
    name = ModuleCommand
    minimumCrew = 1
}
	RESOURCE
{
    name = ElectricCharge
    amount = 5000
    maxAmount = 5000
}
	MODULE
{
    name = ModuleReactionWheel
    
    PitchTorque = 120
    YawTorque = 120
    RollTorque = 120
    
    RESOURCE
    {
        name = ElectricCharge
        rate = 5.2
    }
}
	MODULE
{
    name = ModuleAnimateGeneric
    animationName = ITSLights
    isOneShot = false
    startEventGUIName = Lights On
    endEventGUIName = Lights Off
    actionGUIName = Toggle Lights
}
	MODULE
{
    name = ModuleAnimateGeneric
    animationName = ITSDockingDoor2
    startEventGUIName = Open Door
    endEventGUIName = Close Door
    animSpeed = 1
}
	MODULE
{
    name = ModuleScienceExperiment    
    experimentID = crewReport
    
    experimentActionName = Crew Report
    resetActionName = Discard Crew Report
    reviewActionName = Review Report
    
    useStaging = False    
    useActionGroups = True
    hideUIwhenUnavailable = True    
    rerunnable = True
    
    xmitDataScalar = 1.0
}
MODULE
{
    name = ModuleScienceContainer
    
    reviewActionName = Review Stored Data
    storeActionName = Store Experiments
    evaOnlyStorage = True
    storageRange = 25.0
}
    EFFECTS
    {
        running
        {
            AUDIO
            {
                channel = Ship
                clip = sound_rocket_mini
                volume = 0.0 0.0
                volume = 0.1 0.0
                volume = 0.5 0.05
                volume = 1.0 0.5
                pitch = 0.0 0.5
                pitch = 1.0 1.0
                loop = true
            }
            MODEL_MULTI_PARTICLE
            {
                modelName = Squad/FX/Monoprop_medium
                transformName = RCS
                emission = 0.0 0.0
                emission = 0.1 0.0
                emission = 1.0 1.0
                speed = 0.0 0.8
                speed = 1.0 1.0
                localRotation = -90, 0, 0
            }
        }        
    }
    MODULE
    {
        name = ModuleRCSFX
        thrusterTransformName = RCS
        thrusterPower = 13
        resourceName = LiquidFuel
        resourceFlowMode = STAGE_PRIORITY_FLOW
        PROPELLANT
        {
            name = LqdMethane
            ratio = 1.0
            DrawGauge = True
            resourceFlowMode = STAGE_PRIORITY_FLOW
        }
        PROPELLANT
        {
            name = LqdOxygen
            ratio = 4.8
            resourceFlowMode = STAGE_PRIORITY_FLOW
        }
        atmosphereCurve
        {
            key = 0 290
            key = 1 200
            key = 4 0.001
        }
    }
    
}
PART
{
    name = ITS_Wing
    module = Part
    author = Damon
    rescaleFactor = 1.8
    node_attach = 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 3
    CoMOffset = -0.0, -0.588312, 0
    CoLOffset = -0.0, -0.588312, 0
    CoPOffset = -0.0, -0.588312, 0
    TechRequired = heavierRocketry
    entryCost = 16400
    cost = 950
    category = Aero
    subcategory = 0
    title = Gojira SHLD-1700 Flaps
    manufacturer = Tundra Exploration
    description = Taking inspiration for aircraft control surfaces, these so called "flappy bois" are well shielded and guaranteed to provide pitch and roll control on descent.
    tags = Gojira BFR ITS big BFS ship wing deltawing flap s2 landing
    attachRules = 0,1,0,1,1
    mass = 0.4
    thermalMassModifier = 8.0
    heatConductivity = 0.06 // half default
    emissiveConstant = 0.95
    dragModelType = none
    maximum_drag = 0.1
    minimum_drag = 0.1
    angularDrag = 2
    crashTolerance = 15
    maxTemp = 8000
    explosionPotential = 0.1
    fuelCrossFeed = True
    bulkheadProfiles = srf
    MODEL
    {
        model = TundraExploration/Parts/ITS/ITS_Wing
    }
    MODULE
    {
        name = ModuleControlSurface
        useInternalDragModel = True
        dragCoeff = 0.5
        deflectionLiftCoeff = 0.77        // 3.39m^2 * 0.8
        ctrlSurfaceRange = 30
        ctrlSurfaceArea = 1
        actuatorSpeed = 70
        transformName = ITS_Flap
    }
}
PART
{
    name = EngineShroud
    module = Part
    author = Damon
    rescaleFactor = 1.8
    node_stack_top = 0.0, 1.30, 0.0, 0.0, 1.0, 0.0, 4
    node_stack_bottom = 0.0, 0.4, 0.0, 0.0, -1.0, 0.0, 3
    node_stack_back = 0.0, -2.46, 0.0, 0.0, -1.0, 0.0, 4
    node_attach = 0.0, 0.0, -1.89, 0.0, 0.0, 1.0
    TechRequired = heavierRocketry
    entryCost = 46600
    cost = 1600
    category = Structural
    subcategory = 0
    title = Gojira SHLD-1700 Engine Aerodynamic Shroud
    manufacturer = Tundra Exploration
    description = This large composite structure is designed to protect Gojira's engines from aerodynamic forces while providing lift in the form of a delta wing and control with RCS thrusters. 
    tags = Gojira BFR ITS big BFS ship tanker refuel shroud engine wing deltawing s2 landing
    attachRules = 1,1,1,1,0
    CoMOffset = 0.0, -2.0, 0.0
    mass = 1 //9
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.3
    angularDrag = 2
    crashTolerance = 20
    breakingForce = 400
    breakingTorque = 400
    maxTemp = 8000
    bulkheadProfiles = size3, srf
    emissiveConstant = 0.8
    skinInternalConductionMult = 4.0
    MODEL
    {
        model = TundraExploration/Parts/ITS/ITS_Engine_Shroud
    }
    EFFECTS
    {
        running
        {
            AUDIO
            {
                channel = Ship
                clip = sound_rocket_mini
                volume = 0.0 0.0
                volume = 0.1 0.0
                volume = 0.5 0.05
                volume = 1.0 0.5
                pitch = 0.0 0.5
                pitch = 1.0 1.0
                loop = true
            }
            MODEL_MULTI_PARTICLE
            {
                modelName = Squad/FX/Monoprop_medium
                transformName = RCS
                emission = 0.0 0.0
                emission = 0.1 0.0
                emission = 1.0 1.0
                speed = 0.0 0.8
                speed = 1.0 1.0
                localRotation = -90, 0, 0
            }
        }        
    }
    MODULE
    {
        name = ModuleRCSFX
        thrusterTransformName = RCS
        thrusterPower = 14
        resourceName = LiquidFuel
        resourceFlowMode = STAGE_PRIORITY_FLOW
        PROPELLANT
        {
            name = LiquidFuel
            ratio = 1.1
            DrawGauge = True
            resourceFlowMode = STAGE_PRIORITY_FLOW
        }
        PROPELLANT
        {
            name = Oxidizer
            ratio = 1.3
            resourceFlowMode = STAGE_PRIORITY_FLOW
        }
        atmosphereCurve
        {
            key = 0 290
            key = 1 200
            key = 4 0.001
        }
    }
}
1 Like