Jump to content

Updating a mod from .17 to .20


Netris

Recommended Posts

I'm currently working on updating a mod from .17 to .20 for my personnal use (as I obviously don't have permission to share it as the original modders didn't show up in month) but I'm encountering some difficulties. For example, I can't make the docking port to work properly. My other problem is with the solar panels. I've read I could animate it using the mumech servo but I don't understand how. So, what's different between the .cfg in .17 and .20 ? What should I change in order for it to work ?

Here's the .cfg of the docking port so you can see what could be wrong.

// --- general parameters ---

name = cbm

module = Strut

author = Pelf

// --- asset parameters ---

mesh = CBM.dae

scale = 1

texture = texture.png

specPower = 0.1

rimFalloff = 3

alphaCutoff = 0.0

// --- node definitions ---

// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_top = 0, 0.15, 0, 0, -1, 0

node_stack_bottom = 0, 0, 0, 0, 1, 0

// --- FX definitions ---

//

// --- editor parameters ---

cost = 1200

category = 2

subcategory = 0

title = Common Berthing Mechanism

//manufacturer = None

description = A CBM for space station modules so you can attach more modules.

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

attachRules = 1,0,1,0,1

stackSymmetry = 1

// --- standard part parameters ---

mass = 0.15

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.2

angularDrag = 3

crashTolerance = 40

maxTemp = 3400

fuelCrossFeed = True

breakingForce = 1000

breakingTorque = 1000

// ----- DO NOT EDIT BELOW THIS POINT ------

EDIT : Wrong subforum. If a mod could move it :)

Edited by Netris
Link to comment
Share on other sites


[COLOR=#333333][I]PART
{
// --- general parameters ---[/I][/COLOR]
[COLOR=#333333][I]name = cbm[/I][/COLOR]
[COLOR=#333333][I]module = Strut[/I][/COLOR]
[COLOR=#333333][I]author = Pelf[/I][/COLOR]

[COLOR=#333333][I]// --- asset parameters ---[/I][/COLOR]
[COLOR=#333333][I]mesh = CBM.dae[/I][/COLOR]
[COLOR=#333333][I]scale = 1[/I][/COLOR]
[COLOR=#333333][I]texture = texture.png[/I][/COLOR]
[COLOR=#333333][I]specPower = 0.1[/I][/COLOR]
[COLOR=#333333][I]rimFalloff = 3[/I][/COLOR]
[COLOR=#333333][I]alphaCutoff = 0.0[/I][/COLOR]

[COLOR=#333333][I]// --- node definitions ---[/I][/COLOR]
[COLOR=#333333][I]// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z[/I][/COLOR]
[COLOR=#333333][I]node_stack_top = 0, 0.15, 0, 0, -1, 0[/I][/COLOR]
[COLOR=#333333][I]node_stack_bottom = 0, 0, 0, 0, 1, 0[/I][/COLOR]

[COLOR=#333333][I]// --- FX definitions ---[/I][/COLOR]
[COLOR=#333333][I]//[/I][/COLOR]

[COLOR=#333333][I]// --- editor parameters ---[/I][/COLOR]
[COLOR=#333333][I]cost = 1200[/I][/COLOR]
[COLOR=#333333][I]category = 2[/I][/COLOR]
[COLOR=#333333][I]subcategory = 0[/I][/COLOR]
[COLOR=#333333][I]title = Common Berthing Mechanism[/I][/COLOR]
[COLOR=#333333][I]//manufacturer = None[/I][/COLOR]
[COLOR=#333333][I]description = A CBM for space station modules so you can attach more modules.[/I][/COLOR]

[COLOR=#333333][I]// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision[/I][/COLOR]
[COLOR=#333333][I]attachRules = 1,0,1,0,1[/I][/COLOR]
[COLOR=#333333][I]stackSymmetry = 1[/I][/COLOR]

[COLOR=#333333][I]// --- standard part parameters ---[/I][/COLOR]
[COLOR=#333333][I]mass = 0.15[/I][/COLOR]
[COLOR=#333333][I]dragModelType = default[/I][/COLOR]
[COLOR=#333333][I]maximum_drag = 0.2[/I][/COLOR]
[COLOR=#333333][I]minimum_drag = 0.2[/I][/COLOR]
[COLOR=#333333][I]angularDrag = 3[/I][/COLOR]
[COLOR=#333333][I]crashTolerance = 40[/I][/COLOR]
[COLOR=#333333][I]maxTemp = 3400[/I][/COLOR]
[COLOR=#333333][I]fuelCrossFeed = True[/I][/COLOR]

[COLOR=#333333][I]breakingForce = 1000[/I][/COLOR]
[COLOR=#333333][I]breakingTorque = 1000[/I][/COLOR]
}
[COLOR=#333333][I]// ----- DO NOT EDIT BELOW THIS POINT ------[/I][/COLOR]

Link to comment
Share on other sites

Becuase you never told it to be a docking port.

It explains a lot of things. I guess it's the same thing for the solar panels etc. Where can I find a list of all the partmodule ?

Link to comment
Share on other sites

Where can I find a list of all the partmodule ?

// FlagDecal

// FlagSite

// FXModuleAnimateThrottle

// FXModuleConstrainPosition

// FXModuleLookAtConstraint

// KerbalEVA

// KerbalSeat

// KerbalTeamAI

// LaunchClamp

// ModuleAerodynamicLift

// ModuleAlternator

// ModuleAnchoredDecoupler

// ModuleAnimateGeneric

// ModuleAnimateHeat

// ModuleAnimatorLandingGear

// ModuleCommand

// ModuleDecouple

// ModuleDeployableSolarPanel

// ModuleDockingNode

// ModuleEngines

// ModuleEnviroSensor

// ModuleGenerator

// ModuleGimbal

// ModuleJettison

// ModuleLandingGear

// ModuleLight

// ModuleParachute

// ModuleRCS

// ModuleRemoteController

// ModuleResourceIntake

// ModuleSampleCollector

// ModuleSampleContainer

// ModuleWheel

// RetractableLadder

Link to comment
Share on other sites

Probably already there for the version when they'll add mining.

Yeah, they've been there for a couple of versions now but as far as I know they're not used yet.

Does anyone have a clue about the mumech servo ? I've went to the mumech website but don't understand as they don't speak in a language I can't understand :D

Didn't 0.20 break it?

Servo creates a configurable joint and reparents any relevent objects on a part to the part it's attached to. I haven't approached it from a part perspective though, so I'm not very familiar with the exact details it wants.

Link to comment
Share on other sites

Didn't 0.20 break it?

Servo creates a configurable joint and reparents any relevent objects on a part to the part it's attached to. I haven't approached it from a part perspective though, so I'm not very familiar with the exact details it wants.

I don't know, I've read a few thing on it but didn't understand much.

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