Jump to content

Couple of problems with moding


koberko

Recommended Posts

Hi guys.

I'm trying to model fuel tank with 3 time more fuel then regular, and 3x bigger. Idea is to make a bigger tank, but that will correspond to 3 regular tanks. Basically, I have make it 3x heavier, 3x more fuel and so on. I will make one 2x size, 4x size and 5x size. I wan't them to act same as equal number of regular tanks, so maybe in that way I will be able to remove some lag (less objects to deal with) when you build big ship, and still maintain same performance as regular parts.

But I have couple problems...

First one is drag parameters... I can't set them to correct value to make my big tank (as 3 regular) to act in same way as 3 regular. Here are my current parameters:

// --- standard part parameters ---

mass = 7.5

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.3

angularDrag = 2

crashTolerance = 6

maxTemp = 2900

// --- fuel tank parameters ---

fuel = 1500.0

dryMass = 0.6

fullExplosionPotential = 0.9

emptyExplosionPotential = 0.1

By logic and test, I have come to conclusion that drag parameters are problem... I can't set then in right values to make my tank act same as 3 regular. With bigger values (as are current) thruster with my tanks speeds up at start, and then starts to lag behind... With lower values and same values as regular tank, it lags at start, and then it speeds up...

Does anybody know how those parameters act when couple same parts are stack up? Does engine calculates less drag for lower parts, or they produce all same drag? If is first case (less for lower parts) then drag of my tank should not be 3x bigger, but less then that, but I can't figure out what value to put.

I have attached my full config file.

SOLVED THIS TWO (tnx to Andras and Capt'n Skunky); I have used underscore in part name

Second problem, is fact that this tank of mine doesn't load; if I build ship with it, save it and then load it again, my tank is replaced with regular tank (image in attachment). I have change name of my tank, make separate folder, named file with 3D model differently, but it still loads default tank. In editor, I can normally see my tank, and place it on ship, and fly ship with it, it just doesn't work when loading ships.

And third problem; When I connect my tanks with struts, they are normally present in editor, and they work fine... But when I get to launch pad, struts are missing (image in attachment)... I can't figure out why they don't work in game and work in editor...

Link to comment
Share on other sites

Andras, underscores are now allowed. I just unstickied that post. Forgot to do that when the problem was solved.

Your second problem is likely due to using a number as the last character in the name. Instead of 'fuelTank_3' try 'fuelTank_three'. The game appends an instance number to the end of each part as it's added to the craft and it might be thinking that 3 on the end is the instance number. Look in a .craft file and you will wee what I mean. This might also be the cause of your third problem as the game it getting confused when it tries to read what part instance the strut is connected to.

I can't help you with your first issue, that's beyond my knowledge.

Arrr!

Capt'n Skunky

Link to comment
Share on other sites

You problem is the underscore. See the sticky PSA#1 at the top of this sub-forum

http://kerbalspaceprogram.com/forum/index.php?topic=1451.0

The game doesn't record anything after the underscore, so it sees 'fueltank' when it is loaded from the file.

Tnx for info! I missed that part in documentation :(

EDIT: Tnx guys one more time for help; renaming solved last two problems ;)

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...