OHM Spacecraft3 to DLL&C++ converter 141006

Artlav

Aperiodic traveller
Addon Developer
Beta Tester
Joined
Jan 7, 2008
Messages
5,790
Reaction score
780
Points
203
Location
Earth
Website
orbides.org
Preferred Pronouns
she/her
Does this one handle attachment points? I get a CTD if I try to attach one of my Spacecraft3 converted vessels to something else.
Uh, no. I haven't even considered them, never having explicitly used them myself.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,441
Reaction score
692
Points
203
Uh, no. I haven't even considered them, never having explicitly used them myself.
OK. Could you add them? They are after all natively supported by Orbiter. Something I do miss with the SC3 attachment point function is that there's no way to jettison child vessels IOW, there's no way to specify a specific separation velocity.
 

Artlav

Aperiodic traveller
Addon Developer
Beta Tester
Joined
Jan 7, 2008
Messages
5,790
Reaction score
780
Points
203
Location
Earth
Website
orbides.org
Preferred Pronouns
she/her
OK. Could you add them? They are after all natively supported by Orbiter. Something I do miss with the SC3 attachment point function is that there's no way to jettison child vessels IOW, there's no way to specify a specific separation velocity.
Likely yes, nothing seems impossible in them.
What is IOW, what differences do you expect? Anything to improve?
I thought attachment points were different from docking points in the fact that they are module-handled? Then, what jettisoning are we talking about?
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,441
Reaction score
692
Points
203
Likely yes, nothing seems impossible in them.
What is IOW, what differences do you expect? Anything to improve?
I thought attachment points were different from docking points in the fact that they are module-handled? Then, what jettisoning are we talking about?
IOW = In Other Words.


Attachment points are like simplified docking ports that natively doesn't affect the parent. With docking ports, when you dock, all the vessels become part of a superstructure where some of the physical parameters get altered.

With attachment points, you have to code this yourself. Most attachment point handlers I have used only add the mass and thrust of the child to the parent.

This means that attachment/detachment functions also have been manually added into a vessels specific code.

Attachment points were added to support things like robot arms. Attachment points have another advantage to them: they do not suffer from the infamous "bounce bug" that affects docked landed vessels.
 

Izack

Non sequitur
Addon Developer
Joined
Feb 4, 2010
Messages
6,665
Reaction score
13
Points
113
Location
The Wilderness, N.B.
Counter-intuitively, generating a source file is harder than generating machine code.
Naive way would produce a pretty bloated one, and other option is the hard way.
Would it be able to just export thruster locations and animation definitions? That's by far the most time-consuming/least interesting part of rewriting.
 

PhantomCruiser

Wanderer
Moderator
Tutorial Publisher
Joined
Jan 23, 2009
Messages
5,603
Reaction score
168
Points
153
Location
Cleveland
Dude, you are one of the all time Master Jedi Orbiter addon gurus!
 
Last edited:

Mandella

Space Cultist
Donator
Joined
Apr 5, 2008
Messages
368
Reaction score
0
Points
0
Once attachment support is in I'll testing this out with every Greg Burch vessel on my computer.

Great job on another much needed addon!
 

Arthur Dent

Absolutely Mental
Donator
Joined
Feb 8, 2008
Messages
336
Reaction score
1
Points
18
Location
Dresden
Website
wasa.pottyland.de
Is this based on your Orbiter Shipyard? As far as I remember, it also has something like a SC3 to DLL converter.
 
Last edited:

Spacethingy

Multitasker
Joined
Sep 9, 2010
Messages
1,515
Reaction score
0
Points
36
Location
Not the anti-matter universe
Website
spacethingy.weebly.com
This is brilliant! Thankyou very much, this is definately useful for the Station Building Block kind of thing!

Just 2 things -

I think it's already been mentioned, but there's no aero simulation...

The original engine sounds don't get transfered.

Other than that, great idea! :cheers:
 

Artlav

Aperiodic traveller
Addon Developer
Beta Tester
Joined
Jan 7, 2008
Messages
5,790
Reaction score
780
Points
203
Location
Earth
Website
orbides.org
Preferred Pronouns
she/her
Update!

First, now it outputs C++ code as well as the DLL (sources/name directory). Careful with the names - if it's not a proper name it won't compile.

Second, lots of fixes across the board - airfoils now work, all kinds of animation glitches gone.

Third, potential attachment point support added. I have no idea how to work with them, so i just added them without testing. Please check these.

Fourth, UMMU crew is now defined at conversion time.

My only concern is ..... is it fully compatible with Orbiter 2006P1.
Uh, not a chance?
You can use the C++ output and compile it as the last resort.

Is this based on your Orbiter Shipyard? As far as I remember, it also has something like a SC3 to DLL converter.
Yes, Orbiter Shipyard got shattered as the development crawled to a halt. Some parts of it are gone, like the GUI, some are used by me, like the mesh generator, some are benefiting the community, like DLL generator and SC3 converter.

The original engine sounds don't get transfered.
Sounds? You can define sounds in SC3? Never noticed, where to look?
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,441
Reaction score
692
Points
203
Tried the April 15 2011 release and attachment points doesn't work. Here's the INI file and scenario file:

Code:
[CONFIG]
MeshName=SSU\CISS_CentaurG_Prime
Size=10
Empty_Mass=2605
Fuel_Mass=0
Isp=0
Main_Thrust=0
Retro_Thrust=0
Hover_Thrust=0
Attitude_Thrust=0
Cross_Section=(30.30,31.63,14.41)
PMI=(6.56,6.86,2.44)

[CHILD_ATTACH_0]
NAME=PLB
POS=(0, -2.3, -2.3)
DIR=(0,-1,0)
ROT=(0,0,1)
ID="XS"
RANGE=0.3
LOOSE=0

[PARENT_ATTACH_0]
NAME=Centaur
POS=(0,0,5)
DIR=(0,1,0)
ROT=(0,0,-1)
ID="XS"
RANGE=0.3
LOOSE=0

[ROBOTIC_ARM]
JOINT_0_NAME= "Deployment Adaper"
JOINT_0_SEQ=0
JOINT_0_RANGE=(0,45)
GRAP_SEQ=5
GRAP_ATTACH=0

[ANIM_SEQ_0]
INIT_POS=0
DURATION=58

[ANIM_SEQ_1]
INIT_POS=0
DURATION=58

[ANIM_SEQ_2]
INIT_POS=0
DURATION=58

[ANIM_SEQ_3]
INIT_POS=0
DURATION=58

[ANIM_SEQ_4]
INIT_POS=0
DURATION=58

[ANIM_SEQ_5]
INIT_POS=0
DURATION=58

[ANIM_COMP_0]
; Deployment Adapter + Engine Support Stand
SEQ=0
GROUPS=21,4
RANGE=(0,1)
ROT_PNT=(0,0.421,-3.09)
ROT_AXIS=(-1,0,0)
ANGLE=45

[ANIM_COMP_1]
; GO2 vent line segment
SEQ=1
GROUPS=23
RANGE=(0,1)
ROT_PNT=(-1.512,0.324,-3.438)
ROT_AXIS=(-1,0,0)
ANGLE=45
PARENT=0

[ANIM_COMP_2]
; LO2 fill/drain line segment
SEQ=2
GROUPS=22
RANGE=(0,1)
ROT_PNT=(-1.46,0.263,-3.566)
ROT_AXIS=(-1,0,0)
ANGLE=45
PARENT=1

[ANIM_COMP_3]
; GH2 vent line segment
SEQ=3
GROUPS=8
RANGE=(0,1)
ROT_PNT=(1.512,0.324,-3.438)
ROT_AXIS=(-1,0,0)
ANGLE=45
PARENT=2

[ANIM_COMP_4]
; LH2 fill/drain line segment
SEQ=4
GROUPS=15
RANGE=(0,1)
ROT_PNT=(1.46,0.263,-3.566)
ROT_AXIS=(-1,0,0)
ANGLE=45
PARENT=3

[ANIM_COMP_5]
SEQ=5
RANGE=(0,1)
TIP_1=(0, 0.423, -2.127); POS
TIP_2=(0, -1.423, -2.127; DIR
TIP_3=(0, 0.423, -3.127) ROT
ROT_PNT=(0,0.421,-3.09)
ROT_AXIS=(-1,0,0)
ANGLE=45
PARENT=4

Code:
BEGIN_DESC
Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 51982.1743224517
END_ENVIRONMENT

BEGIN_FOCUS
  Ship Atlantis
END_FOCUS

BEGIN_CAMERA
  TARGET Atlantis
  MODE Extern
  POS 1.83 178.29 -9.22
  TRACKMODE TargetRelative
  FOV 60.00
END_CAMERA

BEGIN_SHIPS
Atlantis:SpaceShuttleUltra
  STATUS Orbiting Earth
  RPOS -158583.16 -6472750.88 1859666.31
  RVEL -7555.537 554.401 1312.219
  AROT -152.69 -80.22 169.15
  VROT -0.06 0.00 -0.01
  AFCMODE 7
  PRPLEVEL 0:0.952322 1:1.000000 2:1.000000 3:1.000000 4:1.000000 5:1.000000 6:0.365076 7:1.000000 8:1.000000 9:1.000000
  NAVFREQ 466 0
  MISSION STS-61G
  CONFIGURATION 3
  MET 12434.430721
  WING_NAME Atlantis
  GEAR 0 0.0000
  OPS 201
  TGT_ID 2
  BODY_VECT 1
  ROLL 0.000000
  PITCH 0.000000
  YAW 0.000000
  P_ANGLE 0.000000
  Y_ANGLE 0.000000
  OM_ANGLE -1.000000
  DAP MODE 0 0
  ROT MODE 0 0 0
  TRANS MODE 0 0 0
  CONTROL MODE 1
   PAYLOAD CACTIVE1 8.000000 0.000000 0
   PAYLOAD CACTIVE2 0.000000 0.000000 0
   PAYLOAD CACTIVE3 -8.000000 0.000000 0
   PAYLOAD CPASSIVE1 4.000000 0.000000 0
   PAYLOAD CPASSIVE2 2.000000 0.000000 0
   PAYLOAD CPASSIVE3 -6.000000 0.000000 0
   PAYLOAD CPASSIVE4 7.000000 0.000000 0
   PAYLOAD PORT1 3.000000 0.000000 0
   PAYLOAD PORT2 -2.000000 0.000000 0
   PAYLOAD PORT3 -8.000000 0.000000 0
   PAYLOAD PORT4 7.000000 0.000000 0
   PAYLOAD STBD1 3.000000 0.000000 0
   PAYLOAD STBD2 -2.000000 0.000000 0
   PAYLOAD STBD3 -8.000000 0.000000 0
   PAYLOAD STBD4 0.000000 0.000000 0
  MPSGOXVENT 1
  PLBD_CAM 80.6910 -8.5968 87.5819 0.0000 90.8507 60.8523 93.3498 -7.2275
  PLB_LIGHTS 1
@SUBSYSTEM MPS_C
@ENDSUBSYSTEM		;MPS_C
@SUBSYSTEM MPS_L
@ENDSUBSYSTEM		;MPS_L
@SUBSYSTEM MPS_R
@ENDSUBSYSTEM		;MPS_R
@SUBSYSTEM FMC1
@ENDSUBSYSTEM		;FMC1
@SUBSYSTEM FMC2
@ENDSUBSYSTEM		;FMC2
@SUBSYSTEM FMC3
@ENDSUBSYSTEM		;FMC3
@SUBSYSTEM MMC1
@ENDSUBSYSTEM		;MMC1
@SUBSYSTEM MMC2
@ENDSUBSYSTEM		;MMC2
@SUBSYSTEM MMC3
@ENDSUBSYSTEM		;MMC3
@SUBSYSTEM MMC4
@ENDSUBSYSTEM		;MMC4
@SUBSYSTEM AMC1
@ENDSUBSYSTEM		;AMC1
@SUBSYSTEM AMC2
@ENDSUBSYSTEM		;AMC2
@SUBSYSTEM AMC3
@ENDSUBSYSTEM		;AMC3
@SUBSYSTEM FF1
@ENDSUBSYSTEM		;FF1
@SUBSYSTEM FF2
@ENDSUBSYSTEM		;FF2
@SUBSYSTEM FF3
@ENDSUBSYSTEM		;FF3
@SUBSYSTEM FF4
@ENDSUBSYSTEM		;FF4
@SUBSYSTEM FA1
@ENDSUBSYSTEM		;FA1
@SUBSYSTEM FA2
@ENDSUBSYSTEM		;FA2
@SUBSYSTEM FA3
@ENDSUBSYSTEM		;FA3
@SUBSYSTEM FA4
@ENDSUBSYSTEM		;FA4
@SUBSYSTEM PL1
@ENDSUBSYSTEM		;PL1
@SUBSYSTEM PL2
@ENDSUBSYSTEM		;PL2
@SUBSYSTEM LF1
@ENDSUBSYSTEM		;LF1
@SUBSYSTEM LM1
@ENDSUBSYSTEM		;LM1
@SUBSYSTEM LA1
@ENDSUBSYSTEM		;LA1
@SUBSYSTEM OF1
@ENDSUBSYSTEM		;OF1
@SUBSYSTEM OF2
@ENDSUBSYSTEM		;OF2
@SUBSYSTEM OF3
@ENDSUBSYSTEM		;OF3
@SUBSYSTEM OF4
@ENDSUBSYSTEM		;OF4
@SUBSYSTEM OA1
@ENDSUBSYSTEM		;OA1
@SUBSYSTEM OA2
@ENDSUBSYSTEM		;OA2
@SUBSYSTEM OA3
@ENDSUBSYSTEM		;OA3
@SUBSYSTEM LL1
@ENDSUBSYSTEM		;LL1
@SUBSYSTEM LL2
@ENDSUBSYSTEM		;LL2
@SUBSYSTEM LR1
@ENDSUBSYSTEM		;LR1
@SUBSYSTEM LR2
@ENDSUBSYSTEM		;LR2
@SUBSYSTEM EIU1
@ENDSUBSYSTEM		;EIU1
@SUBSYSTEM EIU2
@ENDSUBSYSTEM		;EIU2
@SUBSYSTEM EIU3
@ENDSUBSYSTEM		;EIU3
@SUBSYSTEM MTU
  MET_RUNNING 1
  MET0 11152.632172
  MET1 11152.632172
  MET2 11152.632172
EVENT_TIMER0 0.000000 DOWN STOPPED
EVENT_TIMER1 0.000000 DOWN STOPPED
@ENDSUBSYSTEM		;MTU
@SUBSYSTEM IDP1
  IDP1 SPEC 65535
  IDP1 DISP 65535
@ENDSUBSYSTEM		;IDP1
@SUBSYSTEM IDP2
  IDP2 SPEC 65535
  IDP2 DISP 65535
@ENDSUBSYSTEM		;IDP2
@SUBSYSTEM IDP3
  IDP3 SPEC 65535
  IDP3 DISP 65535
@ENDSUBSYSTEM		;IDP3
@SUBSYSTEM IDP4
  IDP4 SPEC 65535
  IDP4 DISP 65535
@ENDSUBSYSTEM		;IDP4
@SUBSYSTEM IMU1
@ENDSUBSYSTEM		;IMU1
@SUBSYSTEM IMU2
@ENDSUBSYSTEM		;IMU2
@SUBSYSTEM IMU3
@ENDSUBSYSTEM		;IMU3
@SUBSYSTEM GPC1
@ENDSUBSYSTEM		;GPC1
@SUBSYSTEM GPC2
@ENDSUBSYSTEM		;GPC2
@SUBSYSTEM GPC3
@ENDSUBSYSTEM		;GPC3
@SUBSYSTEM GPC4
@ENDSUBSYSTEM		;GPC4
@SUBSYSTEM GPC5
@ENDSUBSYSTEM		;GPC5
@SUBSYSTEM SimpleGPCSystem
  @BEGINSOFTWARE OrbitDAP
  TGT_ID 2
  BODY_VECT 1
  ROLL 0.000000
  PITCH 0.000000
  YAW 0.000000
  P_ANGLE 0.000000
  Y_ANGLE 0.000000
  OM_ANGLE -1.000000
  DAP_MODE 0 0
  ROT_MODE 0 0 0
  TRANS_MODE 0 0 0
  CONTROL_MODE 2
  @ENDSOFTWARE 
  @BEGINSOFTWARE OMSBurnSoftware
  PEG7 0.000000 0.000000 0.000000
  WT 0.000000
  TIG 0 0 0 0.0
  TV_ROLL 0.000000
  MNVR 0 0
  @ENDSOFTWARE 
  @BEGINSOFTWARE AerojetDAP
  @ENDSOFTWARE 
@ENDSUBSYSTEM		;SimpleGPCSystem
@SUBSYSTEM ODS
  RING_STATE -1 0.0000
@ENDSUBSYSTEM		;ODS
@SUBSYSTEM ADPS
  LEFT_AIRDATAPROBE 0 0 1.000000
  RIGHT_AIRDATAPROBE 0 0 1.000000
@ENDSUBSYSTEM		;ADPS
@SUBSYSTEM ETUmbDoors
  ET_DOORS 0.000000 0.000000
  ET_DOOR_LATCHES 1.000000 0.000000 0.000000
@ENDSUBSYSTEM		;ETUmbDoors
@SUBSYSTEM -YStarTrackerDoorMotor
@ENDSUBSYSTEM		;-YStarTrackerDoorMotor
@SUBSYSTEM -ZStarTrackerDoorMotor
@ENDSUBSYSTEM		;-ZStarTrackerDoorMotor
@SUBSYSTEM ACBusSystem
@ENDSUBSYSTEM		;ACBusSystem
@SUBSYSTEM INVERTER1
@ENDSUBSYSTEM		;INVERTER1
@SUBSYSTEM INVERTER2
@ENDSUBSYSTEM		;INVERTER2
@SUBSYSTEM INVERTER3
@ENDSUBSYSTEM		;INVERTER3
@SUBSYSTEM APU1
  APU1_State 0
  APU1_FuelPress 0.000000
  APU1_HydPress 0.000000
  APU1_Speed 0.000000
@ENDSUBSYSTEM		;APU1
@SUBSYSTEM APU2
  APU2_State 0
  APU2_FuelPress 0.000000
  APU2_HydPress 0.000000
  APU2_Speed 0.000000
@ENDSUBSYSTEM		;APU2
@SUBSYSTEM APU3
  APU3_State 0
  APU3_FuelPress 0.000000
  APU3_HydPress 0.000000
  APU3_Speed 0.000000
@ENDSUBSYSTEM		;APU3
@SUBSYSTEM WSB1
@ENDSUBSYSTEM		;WSB1
@SUBSYSTEM WSB2
@ENDSUBSYSTEM		;WSB2
@SUBSYSTEM WSB3
@ENDSUBSYSTEM		;WSB3
@SUBSYSTEM LATCH0
  LATCH_STATE1 1 1.0000
  LATCH_STATE2 1 1.0000
  LATCH_STATE3 1 1.0000
  LATCH_STATE4 1 1.0000
  LATCH_STATE5 1 1.0000
@ENDSUBSYSTEM		;LATCH0
@SUBSYSTEM LATCH1
  LATCH1_ATTACHED_PAYLOAD CISS_CentaurG_Prime 0
  LATCH_STATE1 0 0.0000
  LATCH_STATE2 0 0.0000
  LATCH_STATE3 0 0.0000
  LATCH_STATE4 0 0.0000
  LATCH_STATE5 0 0.0000
@ENDSUBSYSTEM		;LATCH1
@SUBSYSTEM LATCH2
  LATCH_STATE1 1 1.0000
  LATCH_STATE2 1 1.0000
  LATCH_STATE3 1 1.0000
  LATCH_STATE4 1 1.0000
  LATCH_STATE5 1 1.0000
@ENDSUBSYSTEM		;LATCH2
  CARGODOOR 1 1.0000
  KUBAND 1 1.0000
  BAYDOORLATCH0 1 1.0000
  BAYDOORLATCH1 1 1.0000
  BAYDOORLATCH2 1 1.0000
  BAYDOORLATCH3 1 1.0000
  CRT_SEL 1 1
  @PANEL F2
  "F2_PITCH_AUTO" 0
  "F2_PITCH_CSS" 0
  "F2_RY_AUTO" 0
  "F2_RY_CSS" 0
  @ENDPANEL 
  @PANEL F4
  "F4_PITCH_AUTO" 0
  "F4_PITCH_CSS" 0
  "F4_RY_AUTO" 0
  "F4_RY_CSS" 0
  @ENDPANEL 
  @PANEL F6
  "Cdr Flt Cntlr Pwr" OFF
  @ENDPANEL 
  @PANEL F7
  @ENDPANEL 
  @PANEL F8
  "Plt Flt Cntlr Pwr" OFF
  @ENDPANEL 
  @PANEL R2
  "Boiler1 N2 Supply" OFF
  "Boiler2 N2 Supply" OFF
  "Boiler3 N2 Supply" OFF
  "Boiler1 Cntlr" OFF
  "Boiler2 Cntlr" OFF
  "Boiler3 Cntlr" OFF
  "Boiler1 Cntlr Pwr/Htr" OFF
  "Boiler2 Cntlr Pwr/Htr" OFF
  "Boiler3 Cntlr Pwr/Htr" OFF
  "APU1 Run" OFF
  "APU2 Run" OFF
  "APU3 Run" OFF
  "Hyd Main Pump Press 1" LOW
  "Hyd Main Pump Press 2" LOW
  "Hyd Main Pump Press 3" LOW
  "APU1 Cntlr Pwr " OFF
  "APU2 Cntlr Pwr " OFF
  "APU3 Cntlr Pwr " OFF
  "APU1 Fuel Tank Valve" CLOSE
  "APU2 Fuel Tank Valve" CLOSE
  "APU3 Fuel Tank Valve" CLOSE
  "ET Umb Centerline Latch" GND
  "ET Umb Left Door" OFF
  "ET Umb Left Door Latch" OFF
  "ET Umb Right Door" OFF
  "ET Umb Right Door Latch" OFF
  "MPS Pwr Left AC2" [0]
  "MPS Pwr Ctr AC1" [0]
  "MPS Pwr Right AC3" [0]
  "MPS Pwr Left AC3" [0]
  "MPS Pwr Ctr AC2" [0]
  "MPS Pwr Right AC1" [0]
  "MPS He Isol A Left" GPC
  "MPS He Isol A Ctr" GPC
  "MPS He Isol A Right" GPC
  "MPS He Isol B Left" GPC
  "MPS He Isol B Ctr" GPC
  "MPS He Isol B Right" GPC
  @ENDPANEL 
  @PANEL C3
  "LOMS Arm" ARM/PRESS
  "ROMS Arm" ARM/PRESS
  "LADP Stow Enable" INHIBIT
  "RADP Stow Enable" INHIBIT
  "LADP Deploy" STOW
  "RADP Deploy" STOW
  @ENDPANEL 
  @PANEL O6
  "L GLRSHLD FLOOD" VAR
  "S TRK DR CNTL SYS1" OFF
  "S TRK DR CNTL SYS2" OFF
  "GPC_POWER_1_COVER" [0]
  "GPC_POWER_2_COVER" [0]
  "GPC_POWER_3_COVER" [0]
  "GPC_POWER_4_COVER" [0]
  "GPC_POWER_5_COVER" [0]
  "GPC POWER 1" ON
  "GPC POWER 2" ON
  "GPC POWER 3" ON
  "GPC POWER 4" ON
  "GPC POWER 5" ON
  "GPC_OUTPUT_1_COVER" [0]
  "GPC_OUTPUT_2_COVER" [0]
  "GPC_OUTPUT_3_COVER" [0]
  "GPC_OUTPUT_4_COVER" [0]
  "GPC_OUTPUT_5_COVER" [0]
  "GPC OUTPUT 1" NORMAL
  "GPC OUTPUT 2" NORMAL
  "GPC OUTPUT 3" NORMAL
  "GPC OUTPUT 4" NORMAL
  "GPC OUTPUT 5" NORMAL
  "IPL SOURCE" OFF
  "GPC MODE 1" STBY
  "GPC MODE 2" STBY
  "GPC MODE 3" STBY
  "GPC MODE 4" STBY
  "GPC MODE 5" STBY
  @ENDPANEL 
  @PANEL R11
  @ENDPANEL 
  @PANEL A6
  "SENSE" -X
  "Aft Flt Cntlr Pwr" ON
  "Payload Ret Latch 1" OFF
  "Payload Ret Latch 2" OFF
  "Payload Ret Latch 3" OFF
  "Payload Ret Latch 4" OFF
  "Payload Ret Latch 5" OFF
  "Payload Select" MON3
  @ENDPANEL 
  @PANEL AftMDU
  @ENDPANEL 
  @PANEL A7U
  @ENDPANEL 
  @PANEL A7A3/A8A3
  "SYSTEM POWER MNA" [1]
  "SYSTEM POWER MNB" [1]
  "PYRO POWER MNA" [0]
  "PYRO POWER MNC" [0]
  "SYS1 VENT ISOL" [1]
  "SYS1 VENT" [1]
  "SYS2 VENT ISOL" [1]
  "SYS2 VENT" [1]
  "PSU POWER MNA" [0]
  "PSU POWER MNB" [0]
  "LIGHTS AIRLOCK 1-4" [0]
  "LIGHTS AIRLOCK 2-3" [0]
  "LIGHTS DOCKING TRUSS FWD" [0]
  "LIGHTS DOCKING TRUSS AFT" [0]
  "ARLK/TNL FAN A" [0]
  "ARLK/TNL FAN B" [0]
  "LIGHTS C/L VESTIBULE PORT" [0]
  "LIGHTS C/L VESTIBULE STBD" [0]
  "CNTL PNL PWR A" OFF
  "CNTL PNL PWR B" OFF
  "CNTL PNL PWR C" OFF
  "HTRS/DCU PWR H1" OFF
  "HTRS/DCU PWR H2/DCU" OFF
  "HTRS/DCU PWR H3/DCU" OFF
  "APDS PWR A" OFF
  "APDS PWR B" OFF
  "APDS PWR C" OFF
  "PYROS Ap" [0]
  "PYROS Bp" [0]
  "PYROS Cp" [0]
  @ENDPANEL 
END
CISS_CentaurG_Prime-1:CISS_CentaurG_Prime
  STATUS Orbiting Earth
  RPOS 3626218.19 4307893.85 -3324977.79
  RVEL 6623.056 -3432.559 2656.931
  AROT -52.67 -56.93 90.32
  PRPLEVEL 0:1.00 1:1.00
  ATTACHED 1:6,Atlantis
  ANIM_0 -2 0
  ANIM_1 -2 0
  ANIM_2 -2 0
  ANIM_3 -2 0
  ANIM_4 -2 0
  ANIM_5 -2 0
END
END_SHIPS


---------- Post added at 05:28 PM ---------- Previous post was at 05:19 PM ----------

Also by looking at the generated sources, I noticed that the converter doesn't seem to support the robotic arm function of SC3. This is where attachment points really shine as they are capable of being slaved to animations and moved accordingly. Docking ports are static in position, direction and rotation.
 

Artlav

Aperiodic traveller
Addon Developer
Beta Tester
Joined
Jan 7, 2008
Messages
5,790
Reaction score
780
Points
203
Location
Earth
Website
orbides.org
Preferred Pronouns
she/her
Tried the April 15 2011 release and attachment points doesn't work. Here's the INI file and scenario file:
The given INI translate to these definitions in code:
CreateAttachment(1,_V(0,-2.3,-2.3),_V(0,-1,0),_V(0,0,1),"XS",0);
CreateAttachment(0,_V(0,0,5),_V(0,1,0),_V(0,0,-1),"XS",0);
What is wrong?
I'm really not in the subject there, so help is appreciated.

Also by looking at the generated sources, I noticed that the converter doesn't seem to support the robotic arm function of SC3. This is where attachment points really shine as they are capable of being slaved to animations and moved accordingly. Docking ports are static in position, direction and rotation.
Not quite a trivial feature to add, i'll have to implement the arm for that...
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,441
Reaction score
692
Points
203
The given INI translate to these definitions in code:
CreateAttachment(1,_V(0,-2.3,-2.3),_V(0,-1,0),_V(0,0,1),"XS",0);
CreateAttachment(0,_V(0,0,5),_V(0,1,0),_V(0,0,-1),"XS",0);
What is wrong?
I'm really not in the subject there, so help is appreciated.
The second attachment point is slaved to the robotic arm function so it shouldn't be static. And problem is that the vessel doesn't show up attached to the parent vessel.

And looking at the API Reference manual, it seems like TOPARENT is supposed to be a boolean function IE TRUE or FALSE not 0 or 1.
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,290
Reaction score
3,258
Points
203
Location
Toulouse
Wow, that's not a fix, but a V2.0 already ! :thumbup:

Congratulations again ! :hailprobe:
 

streb2001

Addon Developer
Addon Developer
Donator
Joined
Feb 9, 2008
Messages
326
Reaction score
0
Points
16
Location
North Yorkshire
I think there should be an annual Orbiter "Nobel" prize. You and Computerex should share the first one!
 

Izack

Non sequitur
Addon Developer
Joined
Feb 4, 2010
Messages
6,665
Reaction score
13
Points
113
Location
The Wilderness, N.B.
And looking at the API Reference manual, it seems like TOPARENT is supposed to be a boolean function IE TRUE or FALSE not 0 or 1.
It seems 0 and 1 used as booleans get parsed as false and true when compiling, but that just might just have been a freak for me. Also I didn't try it in attachment points. :shrug:
I think there should be an annual Orbiter "Nobel" prize. You and Computerex should share the first one!
But then the same few people would get it over and over every year. :p

An 'addon of the month' or somesuch might be interesting, though. :hmm:
 
Top