zer0Kerbal / CoyoteCargoFreighter

Coyote Cargo Freighter by Coyote Space Industries (CSI) is a massive parts pack for Kerbal Space Program.
https://forum.kerbalspaceprogram.com/index.php?/topic/209541-*/
GNU General Public License v2.0
1 stars 0 forks source link

[Bug 🐞]: Hangar bay part missing #119

Open UltraJohn opened 1 year ago

UltraJohn commented 1 year ago

Brief description of your issue (aka the problem)

The hangar bay that is supposed to slot into the big section of the hull is missing, causing that to be unusable. Looking around for this part config file I noticed the config was updated in a prior patch, but was subsequently deleted later. I've copied the config from a previous iteration and applied some rudimentary changes to accomodate the localization files, using other part configs as a reference. It will probably need a bit more fine-tuning from you, as I don't know exactly what most of the stuff in the config is for. A quick test ingame did re-enable the part and it looks like it's working.

PART
{
    name = CSIfreighterhangerbay

    module = Part
    author = dboi88
    MODEL 
    {
    model = CoyoteSpace/CoyoteCargoFreighter/Assets/hangerbay
    scale = 1.0, 1.0, 1.0
    }
    scale = 1
    rescaleFactor = 1
    CoMOffset = 4.849276, 0.1532151, 0.0
    NODE
    {
        name = CargoBayNodeA
        transform = CargoBayNodeA
        size = 3
        method = FIXED_JOINT 
    }
    NODE
    {
        name = AttachNode1
        transform = Node1
        size = 3
        method = FIXED_JOINT 
    }
    NODE
    {
        name = AttachNode2
        transform = Node2
        size = 3
        method = FIXED_JOINT 
    }
    NODE
    {
        name = AttachNode3
        transform = Node3
        size = 3
        method = FIXED_JOINT 
    }
    NODE
    {
        name = AttachNode4
        transform = Node4
        size = 3
        method = FIXED_JOINT 
    }
    MODULE
    {
        name = CSI_WeightTransfer
        autostrut = true
    }

    TechRequired = metaMaterials
    entryCost = 6400
    cost = 18000
    category = Utility
    subcategory = 0
    title = #CCF-bay-hanger-titl 
    manufacturer    = #CSI-Agency-titl
    description = #CCF-bay-hanger-desc
    attachRules = 1,1,1,1,1
    mass = 5
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.2
    angularDrag = 2
    crashTolerance = 7
    maxTemp = 2000 // = 3000
    bulkheadProfiles = size3
    breakingForce = 300
    breakingTorque = 300
    CrewCapacity = 1
    tags = #CCF-hangerbay-tags
    INTERNAL
    {
      name = mk1PodCockpit
    }
    MODULE
    {
        name = ModuleCommand
        minimumCrew = 1
    }
    MODULE
    {
        name = ModuleAnimateGeneric
        animationName = hangerbaydoors
        actionGUIName = Toggle Doors
        startEventGUIName = Doors Open
        endEventGUIName = Doors Close
    }
    MODULE
    {
        name = ModuleAnimateGeneric
        animationName = hangerbaylights
        actionGUIName = Toggle Lights
        defaultActionGroup = Light
        startEventGUIName = Lights On
        endEventGUIName = Lights Off
    }
    MODULE
    {
        name = ModuleCommand
        minimumCrew = 0
        RESOURCE
        {
            name = ElectricCharge
            rate = 0.03
        }
        hasHibernation = True
    }
    RESOURCE
    {
        name = ElectricCharge
        amount = 5000.0
        maxAmount = 5000.0
    }
    //MODULE 
    //{
    //  name = Hangar
    //  LaunchVelocity = 0, 0, 0 
    //  EnergyConsumption = 0.6
    //  HangarName = CSI Hangar Bay
    //  Trigger = hangar-trigger
    //}

    //MODULE
    //{
    //  name = HangarStorage
    //  HangarSpace = hangar-space
    //  SpawnTransform = launch-position
    //}
}

Operating system

No response

KSP version

1.12.5

Version of addon

v0.3.99.1-prerelease

Steps to reproduce the behavior or issue

  1. Open up the game
  2. Try to load any of the premade crafts
  3. Says part is missing
  4. Notice that the hanger bay isn't present in the parts list

Expected behavior

No response

Actual behavior

No response

Environment

Mod Version: v0.3.99.1-prerelease
KSP Version: 1.12.5

Log files

No response

Screenshots

No response

Additional context

No response

How did you download and install this?

CurseForge (download and manual installation)

github-actions[bot] commented 1 year ago

:+1: Thank you @UltraJohn :octocat:

:question::grey_question:

Have you reviewed the open issues logs and recent changelogs?

In order to help us help you, please provide:

You can archive these files (rar or zip, sadly no 7zip) and drag-n-drop them into an issue comment

:vibration_mode::eyes:Please either watch this repositiory for updates.

:speech_balloon:Kindly read our simple guides to: