Jump to content

question: cockpit external light toggle (mk1, not inline)


Thahat

Recommended Posts

hi!

i have been extensively modding ksp and i know some stuff about config and such, but after searching and searchin, i cant for the life of me get why the following mod is making my cockpits shrink upon scene re-loading (sometime even when coming out of IVA)

i suspect its a strange conflict between

http://forum.kerbalspaceprogram.com/threads/96148-V5-0-RC1-released-AeroKerbin-Industries-Modified-IVAs/page17

and ven's stock revamp, but i dont get how its happening. in the IVA mod i cant find anything about rescaling, and all ven's stock revamp does is change out the models

(on a side not, the iva mod also wrecked the ability to turn the cockpit light on/off (the one you see when outside the ship, anyone who knows how to fix that, please do tell me)

so two issues: shrinking cockpit and no light on the cockpit. i have asked in the relevant threads but ven is a busy man and masseflieger is only online once every month or two.... so jeah, help please XD

ps. any info you need that i might not have given, please do ask!

Edited by Thahat
Link to comment
Share on other sites

Hm, probably because there are two concurring mesh definitions in the confics.


MODEL
{
[COLOR=#a52a2a]model = Squad/Parts/Command/mk1Cockpit/model[/COLOR]
}
module = Part
author = C. Jenkins
[COLOR=#b22222]mesh = model.mu[/COLOR]
scale = 0.1

This and/or because the mesh defined by MODEL doesn't use a Rescalefactor of 1.0. This is known to get scaling errors, for example when reverting to launch etc, described here.

Link to comment
Share on other sites

sounds like it might the the thing causing it, yes.

so if i understand you correctly, removing the mesh reference should do it? or would i still need to add the rescalefactor (with the correct amount) ?

edit: from your link

MODEL

{

model = Squad/Parts/Command/mk1Cockpit/model

scale = 1.25, 1.25, 1.25

}

scale = 1.25

rescaleFactor = 1

and remove mesh ° model.mu ?

EDIT2 did the changes, part loads, looks good, currently testing if it still shrinks or not, unfortunately it did not fix the light toggle switch, will probably have to pester Ven from vens stock revamp for that info :P

edit 3: you sir, are a schollar and a gentleman, it worked! no more shrinkage! ill fix up the configs and share them with the mod author (ill mention you ofc ;) )

EDIt 4: it does move the nodes to a wrong location. :/ ... ah i have to use NODE{} somehow. im unsure how XD

edit 5: ignore edit 4, i had just not noticed that i should not have changed the second instance of scale, but kept the one the mod autor used (because its the one responsible for the nodes)

so it should have been

MODEL

{

model = Squad/Parts/Command/mk1Cockpit/model

scale = 1.25, 1.25, 1.25

}

scale = 0.1

rescaleFactor = 1

but now its fixed! and they dont shrink anymore! :D thanks insanedruid!

Edited by Thahat
Link to comment
Share on other sites

right i think i may have found my lighting problem partially, MasseFliegers config files dont have something like this

MODULE

{

name = ModuleAnimateGeneric

animationName = CockpitStandardLight

actionGUIName = Toggle Lights

startEventGUIName = Lights On

endEventGUIName = Lights Off

}

problem, when i added it it disabledgravity, destroyed my mfcd's, and pretymuch summoned cthulu.

the problem is in animationName = CockpitStandardLight cause i kept getting a lot of 0ref errors.

anyone have any clue what the light on/off function on de default 1 person cockpit is? (the pointy one, not the inline one)

and preferably, the one from ven's stock revamp (im guessing the same name..)

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