Jump to content

Problem with vectors while loading part


Recommended Posts

I've been having weird issue with loading one of my parts in game. The debug says that "Vector3" is not formatted properly:

dtOsqGP.png

I don't think it's a problem with my config, as I've checked the definitions that include vectors, and everything checks out.

PART
{
name = M55SRB
module = Part
author = Gooddog15
rescaleFactor = 1
scale = 1

MODEL
{
model = TechnicalDynamics/Parts/Minotaur1/M55
scale = 1
texture = MinotaurMasterNew , TechnicalDynamics/Parts/Minotaur1/MinotaurMasterNew
}

//node definitions
node_stack_bottom = 0.0, 0.153, 0.0, 0.0, 1.0, 0.0, 1
node_stack_top = 0.0, 7.0, 0.0, 0.0, -1.0, 0.0, 1

//FX definitions
fx_exhaustFlame_yellow_tiny = 0.0, 0.153, 0.0, 0.0, -1.0, 0.0, active
fx_exhaustLight_yellow = 0.0, 0.153, 0.0, 0.0, -1.0, 0.0, active
fx_smokeTrial_meadium = 0.0, 0.153, 0.0, 0.0, -1.0, 0.0, active

//Sound FX definitions
sound_vent_medium = engage
sound_rocket_hard = running
sound_vent_soft = disengage
sound_explosion_low = flameout

//Editor Parameters
TechRequired = generalRocketry
entryCost = 1000
cost = 1000
category = Engine
title = M55 Refurbished Solid Rocket Booster
manufacturer = Found in some military warehouse in the middle of nowhere
description = A relic of some war, (which was apparently really cold) the M55 Solid Rocket Booster was the premier rocket for all of your world ending needs. Now, we use it for putting the interns desk into orbit. Warranty Void if lit.

//Attachment rules
attachRules = 1,1,1,1,0

//Standard Part Parameters
mass = 1.2
dragModelType = default
maximum_drag = 0.3
minimum_drag = 0.2
angularDrag = 0.8
crashTolerance = 48
maxTemp = 3600
stagingIcon = SOLID_BOOSTER
bulkheadProfiles = size1, srf
stageOffset = 0

MODULE
{
name = ModuleEngines
thrustVectorTransformName = thrustTransform
throttleLocked = True
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 750
heatProduction = 400
useEngineResponseTime = True
engineAccelerationSpeed = 10.0
allowShutdown = False
fxOffset = 0.0, 0.0, 0.0
EngineType = SolidBooster
PROPELLANT
{
name = SolidFuel
ratio = 1.1
DrawGauge = True
}
atmosphereCurve
{
key = 0 250
key = 1 150
}
}

RESOURCE
{
name = SolidFuel
amount = 850
maxAmount = 820
}

}

Does anyone know what could be causing the issue?

Link to comment
Share on other sites

I've been having weird issue with loading one of my parts in game. The debug says that "Vector3" is not formatted properly:

http://i.imgur.com/dtOsqGP.png

I don't think it's a problem with my config, as I've checked the definitions that include vectors, and everything checks out.

PART
{
name = M55SRB
module = Part
author = Gooddog15
rescaleFactor = 1
scale = 1

MODEL
{
model = TechnicalDynamics/Parts/Minotaur1/M55
scale = 1
texture = MinotaurMasterNew , TechnicalDynamics/Parts/Minotaur1/MinotaurMasterNew
}

//node definitions
node_stack_bottom = 0.0, 0.153, 0.0, 0.0, 1.0, 0.0, 1
node_stack_top = 0.0, 7.0, 0.0, 0.0, -1.0, 0.0, 1

//FX definitions
fx_exhaustFlame_yellow_tiny = 0.0, 0.153, 0.0, 0.0, -1.0, 0.0, active
fx_exhaustLight_yellow = 0.0, 0.153, 0.0, 0.0, -1.0, 0.0, active
fx_smokeTrial_meadium = 0.0, 0.153, 0.0, 0.0, -1.0, 0.0, active

//Sound FX definitions
sound_vent_medium = engage
sound_rocket_hard = running
sound_vent_soft = disengage
sound_explosion_low = flameout

//Editor Parameters
TechRequired = generalRocketry
entryCost = 1000
cost = 1000
category = Engine
title = M55 Refurbished Solid Rocket Booster
manufacturer = Found in some military warehouse in the middle of nowhere
description = A relic of some war, (which was apparently really cold) the M55 Solid Rocket Booster was the premier rocket for all of your world ending needs. Now, we use it for putting the interns desk into orbit. Warranty Void if lit.

//Attachment rules
attachRules = 1,1,1,1,0

//Standard Part Parameters
mass = 1.2
dragModelType = default
maximum_drag = 0.3
minimum_drag = 0.2
angularDrag = 0.8
crashTolerance = 48
maxTemp = 3600
stagingIcon = SOLID_BOOSTER
bulkheadProfiles = size1, srf
stageOffset = 0

MODULE
{
name = ModuleEngines
thrustVectorTransformName = thrustTransform
throttleLocked = True
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 750
heatProduction = 400
useEngineResponseTime = True
engineAccelerationSpeed = 10.0
allowShutdown = False
fxOffset = 0.0, 0.0, 0.0
EngineType = SolidBooster
PROPELLANT
{
name = SolidFuel
ratio = 1.1
DrawGauge = True
}
atmosphereCurve
{
key = 0 250
key = 1 150
}
}

RESOURCE
{
name = SolidFuel
amount = 850
maxAmount = 820
}

}

Does anyone know what could be causing the issue?

In your MODEL node, the scale needs to have three variables.


MODEL
{
model = TechnicalDynamics/Parts/Minotaur1/M55
scale = 1, 1, 1
texture = MinotaurMasterNew , TechnicalDynamics/Parts/Minotaur1/MinotaurMasterNew // if this is in the same directory as the model, you don't need this line
}

Edited by Randazzo
Link to comment
Share on other sites

In your MODEL node, the scale needs to have three variables.


MODEL
{
model = TechnicalDynamics/Parts/Minotaur1/M55
scale = 1, 1, 1
texture = MinotaurMasterNew , TechnicalDynamics/Parts/Minotaur1/MinotaurMasterNew // if this is in the same directory as the model, you don't need this line
}

Thank you. This got rid of the vector issue. but now I'm getting a format exemption:

qcdl0wS.png

Link to comment
Share on other sites

Thank you. This got rid of the vector issue. but now I'm getting a format exemption:

http://i.imgur.com/qcdl0wS.png

My only guess is that scale needs to be the last thing in the node. Maybe take the spaces out between the commas in the scale line but I've never noticed that matter.


[TABLE="width: 500"]
[TR]
[TD]MODEL[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] {[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] model = VanguardAstrodynamics/Engines/375OrbitalEngine/model[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] texture = model000 , VanguardAstrodynamics/Engines/125OrbitalEngine/model000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] texture = model001 , VanguardAstrodynamics/Engines/125OrbitalEngine/model001[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] texture = model002 , VanguardAstrodynamics/Engines/125OrbitalEngine/model002[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] scale = 1,1,1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] }[/TD]
[/TR]
[/TABLE]

Edited by Randazzo
Link to comment
Share on other sites

My only guess is that scale needs to be the last thing in the node. Maybe take the spaces out between the commas in the scale line but I've never noticed that matter.


[TABLE="width: 500"]
[TR]
[TD]MODEL[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] {[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] model = VanguardAstrodynamics/Engines/375OrbitalEngine/model[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] texture = model000 , VanguardAstrodynamics/Engines/125OrbitalEngine/model000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] texture = model001 , VanguardAstrodynamics/Engines/125OrbitalEngine/model001[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] texture = model002 , VanguardAstrodynamics/Engines/125OrbitalEngine/model002[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] scale = 1,1,1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] }[/TD]
[/TR]
[/TABLE]

thank you for replying so fast.

I'm still getting the error.

Link to comment
Share on other sites

thank you for replying so fast.

I'm still getting the error.

Try retyping the MODEL node from scratch. Whatever the problem is, I'm not seeing it. Maybe something inadvertently got altered when you changed it.

Copy and Paste the new one up here if it doesn't resolve, and if you don't mind.

Edit: I do see something!


fx_smokeTrial_meadium = 0.0, 0.153, 0.0, 0.0, -1.0, 0.0, active
should be (I think anyway)
fx_smokeTrail_medium = 0.0, 0.153, 0.0, 0.0, -1.0, 0.0, active

Edited by Randazzo
Link to comment
Share on other sites

Yep, that smoketrail has a typo.

If that doesn't solve it, try adding decimal notation to the scale. Like:

scale = 1.0, 1.0, 1.0

Sometimes it's incredibly picky. I think they fixed it, but it used to be that a "scale" statement without a "MODEL" block would work as an integer, but used outside and in conjunction with a "MODEL" block would require it to be decimal. All of my scales use decimals now, to avoid further problems. (these external scales use a single number, not 3 axes)

EDIT: Also, you can have problems like this with an extraneous dot somewhere. Like having a number such as "1..0" or "1.0."

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