Problem Problem with SSB animations

laukejas

New member
Joined
Dec 21, 2010
Messages
120
Reaction score
0
Points
0
Hello,

I'm using Station Building Blocks 4.1b with XR5 Payload - Station Building Blocks 4.1. Of course, Spacecraft3.dll and everything else needed is installed.

Now, the problem: since there is a problem with multiple spacecraft3 in scenario, also, Orbiter crashes when changing spacecraft vessel name to anything else but its' .ini name (for example, solar panel must be named BP101, since it's ini is BP101.ini).

My solution, based on how Spacecraft3 to DLL&C++ converter 110509 works, I opened BP101.ini in config/vessels, and changed one line in that ini:

original looks like this:

Code:
; === Configuration file for Solar Panel Building Block ===

ClassName = BP101
Module = spacecraft3
Meshname = burchismo\BP101
Mass = 500
Size = 10

;----------------------------------------------------
; XR Payload custom parameters
;----------------------------------------------------
XRPayloadEnabled = true

Description = SBB Solar Panel Module BP101

Dimensions = 10.5 2.59 4.8

AttachmentPointIndex = 2

PrimarySlotCenterOfMassOffset = 0 0 0

ThumbnailPath = XR Payload Images\BP101.bmp

;----------------------------------------------------

BEGIN_ATTACHMENT
P -1 0 0.5  1 0 0  0 1 0  XRCARGO
END_ATTACHMENT

I changed Module = spacecraft3 to Module = BP101. Now everything works, I can change name of this solar panel to anything I want, and have multiple instances of it with different names. However, animations messed up. When I press K to deploy solar panel, it deploys, but previous animation stay, like another panel, just undeployed. I'm attaching the screenshot. One solar panel (nearest to DG) is undeployed, and looks like it should. The next one, however, is deployed and undeployed at the same time.

How can I fix this animation problem?
 

Attachments

  • panel.jpg
    panel.jpg
    266.1 KB · Views: 13
Unbelievable! I just found solution myself. Hope this helps anyone:

I simply had to delete Meshname = burchismo\BP101 line from .ini. I think it overlayered the .dll.

And I'm not sure, but I think that changing that line from spacecraft3 to module name is not enough, it is necessary to use that tool I linked to create .dll, just don't let it override .ini, because then it won't work with XR5.

So, step by step to make SSB for XR5 work without spacecraft3 limitations:

Install everything as in readmes;
Use Spacecraft3 to DLL&C++ converter 110509 to convert spacecraft3 building blocks to .dll, but don't override .ini files in config/vessels;
Change .ini manually: replace line Module = spacecraft3 with Module = [/module name/]
Remove Meshname line.

It should work. No spacecraft limitations - as many instances as you need, any name you need, all animations correct.
 
Back
Top