Majiir / Kethane

Resource mining and processing plugin for Kerbal Space Program.
http://forum.kerbalspaceprogram.com/showthread.php/23979-Kethane
Other
117 stars 32 forks source link

Proportion failure - Large drill #256

Open EitanTal opened 10 years ago

EitanTal commented 10 years ago

The large drill scaling ratio breaks down at some point, creating the drill appear about 15 times larger in each direction.

To reproduce: Phase 1: Launch "Base Kethane Drill II p" Phase 2: Click Back to Space Center Phase 3: Goto tracking center, Re-select the same vessel, click fly. Phase 4: ??? Phase 5: PROFIT! vessel is now ginormous!

Couldn't attach the file, as they only accept pictures. Please instruct me on which way is convenient that I shall send the file.

Screenshot attached.

2014-06-04_00004

EitanTal commented 10 years ago

After poking the problem a bit further (hitting it with a stick), It turns out the problem has much to do with the drill being the first piece. (root node)

It even happens in this trivial craft here:

ship = Base Kethane Pump II p defective 2 version = 0.23.5 description = type = VAB PART { part = kethane.heavyDrill_4294138710 partName = Part pos = 1.451999,23.16091,0.4512577 rot = 0,0,0,1 attRot = 0,0,0,1 mir = 1,1,1 istg = 0 dstg = 0 sidx = -1 sqor = -1 attm = 0 EVENTS { } ACTIONS { } MODULE { name = KethaneExtractor isEnabled = True EVENTS { DeployDrill { active = True guiActive = True guiActiveEditor = True guiIcon = Deploy Drill guiName = Deploy Drill category = Deploy Drill guiActiveUnfocused = False unfocusedRange = 2 externalToEVAOnly = True } RetractDrill { active = False guiActive = True guiActiveEditor = True guiIcon = Retract Drill guiName = Retract Drill category = Retract Drill guiActiveUnfocused = False unfocusedRange = 2 externalToEVAOnly = True } } ACTIONS { DeployDrillAction { actionGroup = None } RetractDrillAction { actionGroup = None } ToggleDrillAction { actionGroup = None } } } MODULE { name = KethaneDrillAnimator isEnabled = True State = Retracted EVENTS { } ACTIONS { } } MODULE { name = KethaneParticleEmitter isEnabled = True EVENTS { } ACTIONS { } } MODULE { name = KethaneParticleDynamics isEnabled = True EVENTS { } ACTIONS { } } MODULE { name = KethaneParticleEmitter isEnabled = True EVENTS { } ACTIONS { } } MODULE { name = KethaneParticleDynamics isEnabled = True EVENTS { } ACTIONS { } } }

Majiir commented 10 years ago

I have just learned there's a bug in KSP where root parts are improperly initialized. If that's not the case here, I'll need your output_log.txt file.