Jump to content

Modle get scaled when mouse is on?


Recommended Posts

Developing my mod i have maded a fuel tank. The config is

PART{
name = multitank
module = Part
author = Aironenero


mesh = model.mu
scale = 1.0
rescaleFactor = 1


// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0.0, 2.34, 0.0, 0.0, 1.0, 0.0
node_stack_bottom = 0.0, -2.64, 0.0, 0.0, 1.0, 0.0


TechRequired = basicRocketry
entryCost = 35000
cost = 15000
category = Propulsion
subcategory = 0
title = Multitank
manufacturer = Aironenero technologies aerospace division Inc.
description = OT


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


// --- standard part parameters ---
mass = 1.25
dragModelType = default
maximum_drag = 0.1
minimum_drag = 0.1
angularDrag = 2
crashTolerance = 45
maxTemp = 3400


RESOURCE
{
name = MonoPropellant
amount = 1000
maxAmount = 1000
}


RESOURCE
{
name = Oxidizer
amount = 2280
maxAmount = 2280
}


RESOURCE
{
name = LiquidFuel
amount = 1780
maxAmount = 1780
}


}

The model is correctly done.

When in game i get the mouse on it in the parts list the model gets bigger each frame. Were's the problem?

Link to comment
Share on other sites

The model is correctly done.

When in game i get the mouse on it in the parts list the model gets bigger each frame. Were's the problem?

It is a bug in KSP. Three resources in a part cause the model to get bigger like you describe. I believe the two options are either remove one resource, or add an RCS transform (even if it is a zero thrust transform). I don't know how to do that - I'm not a model maker. You should be able to find more information in the forum with some searching.

Link to comment
Share on other sites

Actually, all you have to do is add a module with the name field filled in. It can be a dummy module so just adding this should work I think:


MODULE
{
name = ThreeResourcePlaceholder
}

Note that will require testing as I have not actually dealt with this before, but there in a mod on the forum somewhere that checks all parts for this bug and adds the dummy module automatically.

D.

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