Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug 🐞]: Hangar bay part missing #119

Open
UltraJohn opened this issue May 5, 2023 · 1 comment
Open

[Bug 🐞]: Hangar bay part missing #119

UltraJohn opened this issue May 5, 2023 · 1 comment
Assignees

Comments

@UltraJohn
Copy link

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
Copy link

github-actions bot commented May 5, 2023

👍 Thank you @UltraJohn :octocat:

❓❔

Have you reviewed the open issues logs and recent changelogs?

In order to help us help you, please provide:

  • <KSP_ROOT>/KSP.LOG
  • and one of the following:
    • if Module Manger is installed
      • <KSP_ROOT>/GameData/ModuleManager.ConfigCache
    • if Module Manger /L is installed
      • <KSP_ROOT>/PluginData/ModuleManager/ConfigCache.cfg
  • Screenshots of issue (if appropriate) (images tell a much stronger tale)

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

📳👀Please either watch this repositiory for updates.

💬Kindly read our simple guides to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants