Jump to content

Total Noob Question


Recommended Posts

I'm going to preface this by saying I know little to nothing about coding or modding.

I thought I'd try my hand at trying to update the old Somnambulic TACLS containers to the current TACLS standard. Before I modified the files the game opened just fine, they all seemed to work well enough too. Then I changed the resource values to the current TACLS standards (again, many thanks to Frenzi for the calculator) and now the game won't open with the parts installed.  Am I missing something? Was I right in thinking that all I had to do was change the resource amounts, or is there something else I goofed up by not doing?

Link to comment
Share on other sites

While it seems unlikely that changing resource amounts is causing your issue, no one can give you any assistance with the information you've provided. What does the log say, what did the .cfg's look like before/after, etc.

Link to comment
Share on other sites

There's nothing in the log, the game just froze while loading.  The .cfgs all look like this:

PART {

	// --- general parameters ---
	name = somnam_S_radialFood
	module = Part
	author = Somnambulist

	// --- asset parameters ---

	MODEL
	{
		model = Squad/Parts/Science/GooExperiment/GooExperiment
		texture = A_GooExperiment_diff, SomnambulicAerospace/LifeSupportParts/00_RadialFood/RadialFood
		scale = 2.0, 2.0, 2.0
	}

	scale = 1.0
	rescaleFactor = .5

	// --- node definitions ---
	// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z, Size
	node_attach = 0.0, 0.0, -0.15, 0.0, 0.0, -1.0

	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 0,1,0,0,1

	// --- editor parameters ---
	TechRequired = survivability
	entryCost = 950
	cost = 80
	category = Utility
	subcategory = 0
	title = Small Radial Food Canister
	manufacturer = Somnambulic Aerospace
	description = Snacks are a favorite of every Kerbal and a necessity for space exploration. This canister holds enough snacks and party favors to sustain one Kerbal for 30 days and sanitarily contain any "leftovers."

	// --- standard part parameters ---
	mass = 0.03
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 2
	crashTolerance = 10
	maxTemp = 1500

	// --- resource parameters ---
	RESOURCE
	{
		name = Food
		amount = 43.9		maxAmount = 43.9  }
	RESOURCE
	{
		name = Waste
		amount = 0
		maxAmount = 43.9  }
}

}

I didn't change anything other than the values for "amount" and "maxAmount" when I did my editing.

I'm sorry I can't give more to go on, but this is all I have and, like I said before, this is the closest I've ever actually come to making a mod in my time playing KSP.

Edited by TerLoki
Link to comment
Share on other sites

Is that forum formatting there? if thats how it looks in the file, I'd be adding newlines for each value and bracket (ie...)

	RESOURCE
	{
		name = Food
		amount = 43.9
		maxAmount = 43.9
	}

II really doubt it'd like trying to parse the string "43.9        maxAmount = 43.9  }" into a number

Edited by Crzyrndm
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...