Problem Spacecraft3 payload jettison while landed

Michael_Chr

New member
Joined
Jul 16, 2013
Messages
153
Reaction score
0
Points
0
Location
Virklund
While writing an SC3 ini file for a lunar lander I have come across a problem/feature with the SC3 module. I'm creating a lunar lander that carries its acsent vehicle as a payload according to the SC3 documentation. Whilst on the surface after landing and jettison of the acsent vehicle payload now the new vessel is not spawned at the position where the payload mesh were but in the centrepos of the vessel it was spawned from.
I have tried jettisoning it in orbit and there the vessels spawn at the correct position - so in that respect it works....
Anyone else come across this problem???
Any ideas to fix it...???
UCD is an option...but if for no other reasons I would prefer to refrain from that since it creates havoc with the CG vs. RCS use (You can gather that my payloads are a bit offcentered :)
I guess most of the times that new vessels are spawned from landers they sit on top of the landing vehicle - hence the spawningt point is not an issue...my payload however sits in front. of the lander.



Code:
BEGIN_DESC
Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 53125.6094888964
END_ENVIRONMENT

BEGIN_FOCUS
  Ship Hydra
END_FOCUS

BEGIN_CAMERA
  TARGET Hydra
  MODE Extern
  POS 0.46 -142.88 -42.52
  TRACKMODE TargetRelative
  FOV 60.00
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_SHIPS
Hydra:Spacecraft/spacecraft3
  STATUS Landed Moon
  POS -33.3945018 41.0848054
  HEADING 90.07
  AFCMODE 7
  PRPLEVEL 0:0.999788
  IDS 0:391 100 1:453 100
  NAVFREQ 0 0
  RCS 1
  CTRL_SURFACE 0
  CONFIGURATION 1
END
END_SHIPS

BEGIN_ExtMFD
END

BEGIN_ReFuelMFD
  SCENARIO_TREE 
    NAMED Computers
    END_NODE 
  END_NODE 
END

BEGIN_uap
END

Code:
[LIFT]
PT0=(-180,0)
PT1=(-60,0)
PT2=(-30,-0.4)
PT3=(-1,0)
PT4=(15,0.8)
PT5=(20,1)
PT6=(25,0.8)
PT7=(60,0)
PT8=(180,0)



[CONFIG]
MESHNAME="hydra\hydra_lander"
SIZE=9
EMPTY_MASS=5800
FUEL_MASS=28000
MAIN_THRUST=10000
RETRO_THRUST=10000
HOVER_THRUST=100000
ATTITUDE_THRUST=8000
ISP=5500
TRIM=0.05
PMI=(15.5,22.1,7.7)
CW_Z_POS=0.09
CW_Z_NEG=0.09
CW_X=2.
CW_Y=1.4
CROSS_SECTION=(53.0,186.9,25.9)
COG=2.47
PITCH_MOMENT_SCALE=0.00005
BANK_MOMENT_SCALE=0.00005
ROT_DRAG=(0.10,0.13,0.04)
LAUNCH_PT1=(4.954951,-3.829537,3.816078) 
LAUNCH_PT2=(-4.954951,-3.829537,3.816078)
LAUNCH_PT3=(0,-3.829537,-3.816078)
LAND_PT1=(4.954951,-3.354,3.816078)
LAND_PT2=(-4.954951,-3.354,3.816078)
LAND_PT3=(0,-3.354,-3.816078)
VISIBLE=1
CAMERA=(0,2.761709,5.454783)

[PAYLOAD_0]
MESHNAME=LER_3a
NAME=LER
MASS=8353
OFF=(0,-0.5,-7)
MODULE=LER2
SPEED=(0,5,-5)
ROT_SPEED=(0,0,0)

[PAYLOAD_1]
MESHNAME=hydra\Hydra_ascent
NAME=Hydra-ascent
MASS=8353
OFF=(0,0.2,5.35)
MODULE=Spacecraft/Spacecraft3
SPEED=(0,0,5)
ROT_SPEED=(0,0,0)

[AERODYNAMICS]
MODEL:capsule

; ========================
; ===================
; =================
; ================
; == ANIMATION ===
; ================
; =================
; ===================
; ========================

; ===========================
; === Animation Sequences ===
; ===========================

[ANIM_SEQ_0]
; LEGS DEPLOY/RETRACT
KEY=G
DURATION=5

[ANIM_SEQ_1]
; MAIN DOCKING TUBE DEPLOY
KEY=K
DURATION=5

[ANIM_SEQ_2]
; HUD RETRACT
KEY=0
DURATION=3

[ANIM_SEQ_3]
; CONTROL PANEL RETRACT
KEY=1
DURATION=3

[ANIM_SEQ_4]
; COCKPIT REAR PANEL RETRACT
KEY=2
DURATION=3

[ANIM_SEQ_5]
; ANTENNA DEPLOY
KEY=3
DURATION=3

[ANIM_SEQ_6]
; COMMAND MODULE INTERIOR HATCH
KEY=4
DURATION=3

[ANIM_SEQ_7]
; COMMAND MODULE INTERIOR LADDER
KEY=5
DURATION=3

[ANIM_SEQ_8]
; FORWARD EXTERIOR HATCH
KEY=7
DURATION=3

[ANIM_SEQ_9]
; REAR EXTERIOR HATCH
KEY=8
DURATION=3

[ANIM_SEQ_10]
; EXTERIOR LADDER
KEY=9
DURATION=5

[ANIM_SEQ_11]
; TOP DOCKING RING DEPLOY
KEY=6
DURATION=3

; ============================
; ============================
: === Animation Components ===
; ============================
; ============================

; =============================
; Legs Deploy / Retract
; =============================

[ANIM_COMP_0]
; Legs retract
SEQ=0
GROUPS=0
RANGE=(0,1)
TYPE=TRANSLATE
SHIFT=(0,1.9,0)

[ANIM_COMP_1]
; Feet Fold Left
SEQ=0
GROUPS=1,2
RANGE=(0,1.0)
ROT_PNT=(-4.948036,-3.637804,0)
ROT_AXIS=(0,0,1)
ANGLE=-60
PARENT=0

[ANIM_COMP_2]
; Feet Fold Right
SEQ=0
GROUPS=3,4
RANGE=(0,1.0)
ROT_PNT=(4.948036,-3.637804,0)
ROT_AXIS=(0,0,1)
ANGLE=60
PARENT=0


; ==================
; Antenna Deploy
; ==================

[ANIM_COMP_3]
; Antenna Front 1
SEQ=5
GROUPS=7
RANGE=(0,1)
ROT_PNT=(0,3.144733,3.261973)
ROT_AXIS=(0,1,0)
ANGLE=-45

[ANIM_COMP_4]
; Antenna Front 2
SEQ=5
GROUPS=5,6
RANGE=(0.2,1)
ROT_PNT=(0,3.153004,3.399245)
ROT_AXIS=(1,0,0)
ANGLE=70
PARENT=3

[ANIM_COMP_5]
; Antenna Rear 1
SEQ=5
GROUPS=10
RANGE=(0,1)
ROT_PNT=(0,3.153004,-5.334494)
ROT_AXIS=(0,1,0)
ANGLE=-60

[ANIM_COMP_6]
; Antenna Rear 2
SEQ=5
GROUPS=8,9
RANGE=(0.1,1)
ROT_PNT=(0,3.153004,-5.468228)
ROT_AXIS=(1,0,0)
ANGLE=-110
PARENT=5


; =============================
; TOP DOCKING RING DEPLOY
; =============================

[ANIM_COMP_7]
;
SEQ=11
GROUPS=14
RANGE=(0,1)
TYPE=TRANSLATE
SHIFT=(0,0.321234,0)


; ========================================
; ==================================
; ===============================
; === DOCKING and ATTACHMENT ===
; ===============================
; ==================================
; ========================================

[DOCK_0]
POS=(0,3.782766,0.235)
DIR=(0,1,0)
ROT=(0,0,-1)

[DOCK_1]
POS=(0,1.57,0)
DIR=(0,-1,0)
ROT=(0,0,-1)

[PARENT_ATTACH_0]
NAME="MAIN_PAYLOAD"
POS=(0,1.76016,0.2239822)
DIR=(0,-1,0)
ROT=(0,0,1)
LOOSE=0
RANGE=10
ID="GS"

[CHILD_ATTACH_0]
POS=(0,3.748085,0.2239822)
DIR=(0,1,0)
ROT=(0,0,1)
LOOSE=1
ID="CG1"

; =========================================
; ==================================
; ===============================
; ===== ENGINES & RCS ========
; ===============================
; ==================================
; =========================================

[EX_MAIN_0]
OFF=(-3.862891,-0.03704524,-5.54677)
DIR=(0,0,-1)
LENGTH=0.9
WIDTH=0.075

[EX_MAIN_1]
OFF=(3.862891,-0.03704524,-5.54677)
DIR=(0,0,-1)
LENGTH=0.9
WIDTH=0.075

[EX_RETRO_0]
OFF=(-3.862891,-0.03704524,6.001747)
DIR=(0,0.042,1)
LENGTH=0.9
WIDTH=0.075

[EX_RETRO_1]
OFF=(3.862891,-0.03704524,6.001747)
DIR=(0,0.042,1)
LENGTH=0.9
WIDTH=0.075


[EX_HOVER_0]
OFF=(-3.993944,-2.646374,4.194571)
DIR=(0,-1,0)
LENGTH=5
WIDTH=0.55

[EX_HOVER_1]
OFF=(3.993944,-2.646374,4.194571)
DIR=(0,-1,0)
LENGTH=5
WIDTH=0.55

[EX_HOVER_2]
OFF=(-3.993944,-2.646374,-3.745963)
DIR=(0,-1,0)
LENGTH=5
WIDTH=0.55

[EX_HOVER_3]
OFF=(3.993944,-2.646374,-3.745963)
DIR=(0,-1,0)
LENGTH=5
WIDTH=0.55

; === THRUSTERS ========

[EX_ATT_0]
OFF=(-3.861794,0.2327954,5.354307)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=1
LIN_AXIS=Y
LIN_CW=1
	
[EX_ATT_1]
OFF=(3.861794,0.2327954,5.354307)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=1
LIN_AXIS=Y
LIN_CW=1

[EX_ATT_2]
OFF=(-3.861794,-0.3080596,5.541817)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=0
LIN_AXIS=Y
LIN_CW=0

[EX_ATT_3]
OFF=(3.861794,-0.3080596,5.541817)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=0
LIN_AXIS=Y
LIN_CW=0

; +++++++

[EX_ATT_4]
OFF=(-3.861794,0.2327954,-4.902867)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=0
LIN_AXIS=Y
LIN_CW=1

[EX_ATT_5]
OFF=(3.861794,0.2327954,-4.902867)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=0
LIN_AXIS=Y
LIN_CW=1

[EX_ATT_6]
OFF=(-3.861794,-0.3080596,-5.091439)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=1
LIN_AXIS=Y
LIN_CW=0

[EX_ATT_7]
OFF=(3.861794,-0.3080596,-5.091439)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=1
LIN_AXIS=Y
LIN_CW=0

; +++++++ Z ROTATION FWD

[EX_ATT_8]
OFF=(-3.861794,0.2327954,5.354307)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=1

[EX_ATT_9]
OFF=(3.861794,0.2327954,5.354307)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=0

[EX_ATT_10]
OFF=(3.861794,-0.3080596,5.541817)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=1

[EX_ATT_11]
OFF=(-3.861794,-0.3080596,5.541817)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=0

; +++++++ Z ROTATION REAR

[EX_ATT_12]
OFF=(-3.861794,0.2327954,-4.902867)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=1

[EX_ATT_13]
OFF=(3.861794,0.2327954,-4.902867)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=0

[EX_ATT_14]
OFF=(3.861794,-0.3080596,-5.091439)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=1

[EX_ATT_15]
OFF=(-3.861794,-0.3080596,-5.091439)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=0

; +++++++ Y ROTATION / X TRANSLATION FWD / AFT

[EX_ATT_16]
OFF=(-4.126325,-0.03704524,5.721014)
DIR=(-1,0,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Y
ROT_CW=1
LIN_AXIS=X
LIN_CW=0

[EX_ATT_17]
OFF=(4.126325,-0.03704524,5.721014)
DIR=(1,0,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Y
ROT_CW=0
LIN_AXIS=X
LIN_CW=1

[EX_ATT_18]
OFF=(4.126325,-0.03704524,-5.26984)
DIR=(1,0,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Y
ROT_CW=1
LIN_AXIS=X
LIN_CW=1

[EX_ATT_19]
OFF=(-4.126325,-0.03704524,-5.26984)
DIR=(-1,0,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Y
ROT_CW=0
LIN_AXIS=X
LIN_CW=0

; +++++++ Z TRANSLATION

[EX_ATT_20]
OFF=(-3.862891,-0.03704524,6.004577)
DIR=(0,0,1)
LENGTH=0.6
WIDTH=0.06
LIN_AXIS=Z
LIN_CW=1

[EX_ATT_21]
OFF=(3.862891,-0.03704524,6.004577)
DIR=(0,0,1)
LENGTH=0.6
WIDTH=0.06
LIN_AXIS=Z
LIN_CW=1


[EX_ATT_22]
OFF=(-3.862891,-0.03704524,-5.548185)
DIR=(0,0,-1)
LENGTH=0.6
WIDTH=0.06
LIN_AXIS=Z
LIN_CW=0

[EX_ATT_23]
OFF=(3.862891,-0.03704524,-5.548185)
DIR=(0,0,-1)
LENGTH=0.6
WIDTH=0.06
LIN_AXIS=Z
LIN_CW=0
 

PhantomCruiser

Wanderer
Moderator
Tutorial Publisher
Joined
Jan 23, 2009
Messages
5,603
Reaction score
168
Points
153
Location
Cleveland
You could maybe reverse engineer what the FOI team did with their Poderosa II, and the HLV lander from Jekka and Momo. AFAIR both of them have landers that do what you are wanting to do.

http://francophone.dansteph.com/?page=addon&id=11
[ame="http://www.orbithangar.com/searchid.php?ID=4334"]Poderosa II Mission[/ame]
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,919
Reaction score
216
Points
138
Location
Cape
While writing an SC3 ini file for a lunar lander I have come across a problem/feature with the SC3 module. I'm creating a lunar lander that carries its acsent vehicle as a payload according to the SC3 documentation. Whilst on the surface after landing and jettison of the acsent vehicle payload now the new vessel is not spawned at the position where the payload mesh were but in the centrepos of the vessel it was spawned from.
I have tried jettisoning it in orbit and there the vessels spawn at the correct position - so in that respect it works....
Anyone else come across this problem???
Any ideas to fix it...???
UCD is an option...but if for no other reasons I would prefer to refrain from that since it creates havoc with the CG vs. RCS use (You can gather that my payloads are a bit offcentered :)
I guess most of the times that new vessels are spawned from landers they sit on top of the landing vehicle - hence the spawningt point is not an issue...my payload however sits in front. of the lander.



Code:
BEGIN_DESC
Contains the latest simulation state.
END_DESC
 
BEGIN_ENVIRONMENT
  System Sol
  Date MJD 53125.6094888964
END_ENVIRONMENT
 
BEGIN_FOCUS
  Ship Hydra
END_FOCUS
 
BEGIN_CAMERA
  TARGET Hydra
  MODE Extern
  POS 0.46 -142.88 -42.52
  TRACKMODE TargetRelative
  FOV 60.00
END_CAMERA
 
BEGIN_HUD
  TYPE Surface
END_HUD
 
BEGIN_SHIPS
Hydra:Spacecraft/spacecraft3
  STATUS Landed Moon
  POS -33.3945018 41.0848054
  HEADING 90.07
  AFCMODE 7
  PRPLEVEL 0:0.999788
  IDS 0:391 100 1:453 100
  NAVFREQ 0 0
  RCS 1
  CTRL_SURFACE 0
  CONFIGURATION 1
END
END_SHIPS
 
BEGIN_ExtMFD
END
 
BEGIN_ReFuelMFD
  SCENARIO_TREE 
    NAMED Computers
    END_NODE 
  END_NODE 
END
 
BEGIN_uap
END

Code:
[LIFT]
PT0=(-180,0)
PT1=(-60,0)
PT2=(-30,-0.4)
PT3=(-1,0)
PT4=(15,0.8)
PT5=(20,1)
PT6=(25,0.8)
PT7=(60,0)
PT8=(180,0)
 
 
 
[CONFIG]
MESHNAME="hydra\hydra_lander"
SIZE=9
EMPTY_MASS=5800
FUEL_MASS=28000
MAIN_THRUST=10000
RETRO_THRUST=10000
HOVER_THRUST=100000
ATTITUDE_THRUST=8000
ISP=5500
TRIM=0.05
PMI=(15.5,22.1,7.7)
CW_Z_POS=0.09
CW_Z_NEG=0.09
CW_X=2.
CW_Y=1.4
CROSS_SECTION=(53.0,186.9,25.9)
COG=2.47
PITCH_MOMENT_SCALE=0.00005
BANK_MOMENT_SCALE=0.00005
ROT_DRAG=(0.10,0.13,0.04)
LAUNCH_PT1=(4.954951,-3.829537,3.816078) 
LAUNCH_PT2=(-4.954951,-3.829537,3.816078)
LAUNCH_PT3=(0,-3.829537,-3.816078)
LAND_PT1=(4.954951,-3.354,3.816078)
LAND_PT2=(-4.954951,-3.354,3.816078)
LAND_PT3=(0,-3.354,-3.816078)
VISIBLE=1
CAMERA=(0,2.761709,5.454783)
 
[PAYLOAD_0]
MESHNAME=LER_3a
NAME=LER
MASS=8353
OFF=(0,-0.5,-7)
MODULE=LER2
SPEED=(0,5,-5)
ROT_SPEED=(0,0,0)
 
[PAYLOAD_1]
MESHNAME=hydra\Hydra_ascent
NAME=Hydra-ascent
MASS=8353
OFF=(0,0.2,5.35)
MODULE=Spacecraft/Spacecraft3
SPEED=(0,0,5)
ROT_SPEED=(0,0,0)
 
[AERODYNAMICS]
MODEL:capsule
 
; ========================
; ===================
; =================
; ================
; == ANIMATION ===
; ================
; =================
; ===================
; ========================
 
; ===========================
; === Animation Sequences ===
; ===========================
 
[ANIM_SEQ_0]
; LEGS DEPLOY/RETRACT
KEY=G
DURATION=5
 
[ANIM_SEQ_1]
; MAIN DOCKING TUBE DEPLOY
KEY=K
DURATION=5
 
[ANIM_SEQ_2]
; HUD RETRACT
KEY=0
DURATION=3
 
[ANIM_SEQ_3]
; CONTROL PANEL RETRACT
KEY=1
DURATION=3
 
[ANIM_SEQ_4]
; COCKPIT REAR PANEL RETRACT
KEY=2
DURATION=3
 
[ANIM_SEQ_5]
; ANTENNA DEPLOY
KEY=3
DURATION=3
 
[ANIM_SEQ_6]
; COMMAND MODULE INTERIOR HATCH
KEY=4
DURATION=3
 
[ANIM_SEQ_7]
; COMMAND MODULE INTERIOR LADDER
KEY=5
DURATION=3
 
[ANIM_SEQ_8]
; FORWARD EXTERIOR HATCH
KEY=7
DURATION=3
 
[ANIM_SEQ_9]
; REAR EXTERIOR HATCH
KEY=8
DURATION=3
 
[ANIM_SEQ_10]
; EXTERIOR LADDER
KEY=9
DURATION=5
 
[ANIM_SEQ_11]
; TOP DOCKING RING DEPLOY
KEY=6
DURATION=3
 
; ============================
; ============================
: === Animation Components ===
; ============================
; ============================
 
; =============================
; Legs Deploy / Retract
; =============================
 
[ANIM_COMP_0]
; Legs retract
SEQ=0
GROUPS=0
RANGE=(0,1)
TYPE=TRANSLATE
SHIFT=(0,1.9,0)
 
[ANIM_COMP_1]
; Feet Fold Left
SEQ=0
GROUPS=1,2
RANGE=(0,1.0)
ROT_PNT=(-4.948036,-3.637804,0)
ROT_AXIS=(0,0,1)
ANGLE=-60
PARENT=0
 
[ANIM_COMP_2]
; Feet Fold Right
SEQ=0
GROUPS=3,4
RANGE=(0,1.0)
ROT_PNT=(4.948036,-3.637804,0)
ROT_AXIS=(0,0,1)
ANGLE=60
PARENT=0
 
 
; ==================
; Antenna Deploy
; ==================
 
[ANIM_COMP_3]
; Antenna Front 1
SEQ=5
GROUPS=7
RANGE=(0,1)
ROT_PNT=(0,3.144733,3.261973)
ROT_AXIS=(0,1,0)
ANGLE=-45
 
[ANIM_COMP_4]
; Antenna Front 2
SEQ=5
GROUPS=5,6
RANGE=(0.2,1)
ROT_PNT=(0,3.153004,3.399245)
ROT_AXIS=(1,0,0)
ANGLE=70
PARENT=3
 
[ANIM_COMP_5]
; Antenna Rear 1
SEQ=5
GROUPS=10
RANGE=(0,1)
ROT_PNT=(0,3.153004,-5.334494)
ROT_AXIS=(0,1,0)
ANGLE=-60
 
[ANIM_COMP_6]
; Antenna Rear 2
SEQ=5
GROUPS=8,9
RANGE=(0.1,1)
ROT_PNT=(0,3.153004,-5.468228)
ROT_AXIS=(1,0,0)
ANGLE=-110
PARENT=5
 
 
; =============================
; TOP DOCKING RING DEPLOY
; =============================
 
[ANIM_COMP_7]
;
SEQ=11
GROUPS=14
RANGE=(0,1)
TYPE=TRANSLATE
SHIFT=(0,0.321234,0)
 
 
; ========================================
; ==================================
; ===============================
; === DOCKING and ATTACHMENT ===
; ===============================
; ==================================
; ========================================
 
[DOCK_0]
POS=(0,3.782766,0.235)
DIR=(0,1,0)
ROT=(0,0,-1)
 
[DOCK_1]
POS=(0,1.57,0)
DIR=(0,-1,0)
ROT=(0,0,-1)
 
[PARENT_ATTACH_0]
NAME="MAIN_PAYLOAD"
POS=(0,1.76016,0.2239822)
DIR=(0,-1,0)
ROT=(0,0,1)
LOOSE=0
RANGE=10
ID="GS"
 
[CHILD_ATTACH_0]
POS=(0,3.748085,0.2239822)
DIR=(0,1,0)
ROT=(0,0,1)
LOOSE=1
ID="CG1"
 
; =========================================
; ==================================
; ===============================
; ===== ENGINES & RCS ========
; ===============================
; ==================================
; =========================================
 
[EX_MAIN_0]
OFF=(-3.862891,-0.03704524,-5.54677)
DIR=(0,0,-1)
LENGTH=0.9
WIDTH=0.075
 
[EX_MAIN_1]
OFF=(3.862891,-0.03704524,-5.54677)
DIR=(0,0,-1)
LENGTH=0.9
WIDTH=0.075
 
[EX_RETRO_0]
OFF=(-3.862891,-0.03704524,6.001747)
DIR=(0,0.042,1)
LENGTH=0.9
WIDTH=0.075
 
[EX_RETRO_1]
OFF=(3.862891,-0.03704524,6.001747)
DIR=(0,0.042,1)
LENGTH=0.9
WIDTH=0.075
 
 
[EX_HOVER_0]
OFF=(-3.993944,-2.646374,4.194571)
DIR=(0,-1,0)
LENGTH=5
WIDTH=0.55
 
[EX_HOVER_1]
OFF=(3.993944,-2.646374,4.194571)
DIR=(0,-1,0)
LENGTH=5
WIDTH=0.55
 
[EX_HOVER_2]
OFF=(-3.993944,-2.646374,-3.745963)
DIR=(0,-1,0)
LENGTH=5
WIDTH=0.55
 
[EX_HOVER_3]
OFF=(3.993944,-2.646374,-3.745963)
DIR=(0,-1,0)
LENGTH=5
WIDTH=0.55
 
; === THRUSTERS ========
 
[EX_ATT_0]
OFF=(-3.861794,0.2327954,5.354307)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=1
LIN_AXIS=Y
LIN_CW=1
 
[EX_ATT_1]
OFF=(3.861794,0.2327954,5.354307)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=1
LIN_AXIS=Y
LIN_CW=1
 
[EX_ATT_2]
OFF=(-3.861794,-0.3080596,5.541817)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=0
LIN_AXIS=Y
LIN_CW=0
 
[EX_ATT_3]
OFF=(3.861794,-0.3080596,5.541817)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=0
LIN_AXIS=Y
LIN_CW=0
 
; +++++++
 
[EX_ATT_4]
OFF=(-3.861794,0.2327954,-4.902867)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=0
LIN_AXIS=Y
LIN_CW=1
 
[EX_ATT_5]
OFF=(3.861794,0.2327954,-4.902867)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=0
LIN_AXIS=Y
LIN_CW=1
 
[EX_ATT_6]
OFF=(-3.861794,-0.3080596,-5.091439)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=1
LIN_AXIS=Y
LIN_CW=0
 
[EX_ATT_7]
OFF=(3.861794,-0.3080596,-5.091439)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=X
ROT_CW=1
LIN_AXIS=Y
LIN_CW=0
 
; +++++++ Z ROTATION FWD
 
[EX_ATT_8]
OFF=(-3.861794,0.2327954,5.354307)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=1
 
[EX_ATT_9]
OFF=(3.861794,0.2327954,5.354307)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=0
 
[EX_ATT_10]
OFF=(3.861794,-0.3080596,5.541817)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=1
 
[EX_ATT_11]
OFF=(-3.861794,-0.3080596,5.541817)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=0
 
; +++++++ Z ROTATION REAR
 
[EX_ATT_12]
OFF=(-3.861794,0.2327954,-4.902867)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=1
 
[EX_ATT_13]
OFF=(3.861794,0.2327954,-4.902867)
DIR=(0,1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=0
 
[EX_ATT_14]
OFF=(3.861794,-0.3080596,-5.091439)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=1
 
[EX_ATT_15]
OFF=(-3.861794,-0.3080596,-5.091439)
DIR=(0,-1,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Z
ROT_CW=0
 
; +++++++ Y ROTATION / X TRANSLATION FWD / AFT
 
[EX_ATT_16]
OFF=(-4.126325,-0.03704524,5.721014)
DIR=(-1,0,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Y
ROT_CW=1
LIN_AXIS=X
LIN_CW=0
 
[EX_ATT_17]
OFF=(4.126325,-0.03704524,5.721014)
DIR=(1,0,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Y
ROT_CW=0
LIN_AXIS=X
LIN_CW=1
 
[EX_ATT_18]
OFF=(4.126325,-0.03704524,-5.26984)
DIR=(1,0,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Y
ROT_CW=1
LIN_AXIS=X
LIN_CW=1
 
[EX_ATT_19]
OFF=(-4.126325,-0.03704524,-5.26984)
DIR=(-1,0,0)
LENGTH=0.6
WIDTH=0.06
ROT_AXIS=Y
ROT_CW=0
LIN_AXIS=X
LIN_CW=0
 
; +++++++ Z TRANSLATION
 
[EX_ATT_20]
OFF=(-3.862891,-0.03704524,6.004577)
DIR=(0,0,1)
LENGTH=0.6
WIDTH=0.06
LIN_AXIS=Z
LIN_CW=1
 
[EX_ATT_21]
OFF=(3.862891,-0.03704524,6.004577)
DIR=(0,0,1)
LENGTH=0.6
WIDTH=0.06
LIN_AXIS=Z
LIN_CW=1
 
 
[EX_ATT_22]
OFF=(-3.862891,-0.03704524,-5.548185)
DIR=(0,0,-1)
LENGTH=0.6
WIDTH=0.06
LIN_AXIS=Z
LIN_CW=0
 
[EX_ATT_23]
OFF=(3.862891,-0.03704524,-5.548185)
DIR=(0,0,-1)
LENGTH=0.6
WIDTH=0.06
LIN_AXIS=Z
LIN_CW=0

When you jettison a payload, it should just fall to the ground.
 

PhantomCruiser

Wanderer
Moderator
Tutorial Publisher
Joined
Jan 23, 2009
Messages
5,603
Reaction score
168
Points
153
Location
Cleveland
Yeah. I was thinking if the touchdown points were modified; that when jettisoned it would appear to be in the same spot, just no longer be part of the "mother" craft.
 

Michael_Chr

New member
Joined
Jul 16, 2013
Messages
153
Reaction score
0
Points
0
Location
Virklund
In both cases their landers were designed to be spawned in the same position as their mothership i.e. on top of them. (the Height can be adjusted via the landing points). I tried with HLV module to offset the payload (mesh statement) but when jettison occurs on ground the spawned vessel shows up where the centre of mesh of the mother ship is. I even tried to "nudge" a spawned vessel by adding some speed but it is recognized that the ship from the start is on the surface - hence all speed additions are ignored.
As a crude way of fixing this I was thinking about offsetting the entire mesh to accomodate for this - but I guess that wont work since I cant offset thrusters and CG.
So I guess I'm back to using UCD for it to work. :(
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,919
Reaction score
216
Points
138
Location
Cape
I'm confused. You don't want the landing points, to be on the ground ?
 

Michael_Chr

New member
Joined
Jul 16, 2013
Messages
153
Reaction score
0
Points
0
Location
Virklund
I'm confused. You don't want the landing points, to be on the ground ?

What I'm after is that the "payload" vessel spawns where its mesh was previously defined as a payload on the "mothership".

Pictures explains it better than words:)
This is the situation where the payload has not been "jettisoned".

The cabin part to left of the entire vehicle is the payload.
This is what happens when I jettison that payload.

As you can see the new vessel is spawned at the (0,0,0) position relative to the mothership on the ground and not at the offset position where I had placed the payloadmesh.
The interesting part is that when in orbit the vessel is spawned at the position of the original mesh.
But is there a solution to spawn a vessel at an offset position ?
It seems that Vinka did not include the payload "offset" check when a SC3 vessel is landed. All other SC3 addons I have checked exhibits same behavior but its not a problem for them since their payloads shall spawn in the (0,0,0) pos of the mother ship (Altair, Apollo LM, HLV, Poderosa etc.)

Hope this explains it better - every bit of advice would be deeply appreciated

ps. I want spawned vessel to be in a landed state i.e. the landing points on the ground. I have adjusted the Y value of the landing points to cater for this.
 

BrianJ

Addon Developer
Addon Developer
Joined
Apr 19, 2008
Messages
1,679
Reaction score
902
Points
128
Location
Code 347
Hi,
I suspect the "spawn-payload-at-mothership-origin(0,0,0)-if-landed" is spacecraft3.dll bug.
Tried it with Rosetta/Philae while landed and exactly same bug happens.

Only workarounds I can think of are:
1) Have payload already present in scenario, attached or docked to mothership.
2) Add docking ports to payload and mothership so that when payload is spawned it immediately docks to mothership - but you must spawn payload BEFORE landing.

Cheers,
Brian
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,919
Reaction score
216
Points
138
Location
Cape
Hi,
I suspect the "spawn-payload-at-mothership-origin(0,0,0)-if-landed" is spacecraft3.dll bug.
Tried it with Rosetta/Philae while landed and exactly same bug happens.

Only workarounds I can think of are:
1) Have payload already present in scenario, attached or docked to mothership.
2) Add docking ports to payload and mothership so that when payload is spawned it immediately docks to mothership - but you must spawn payload BEFORE landing.

Cheers,
Brian

I think it will crash, if you have 2 vessels docked at landing (Orbiter bug).

What I'm after is that the "payload" vessel spawns where its mesh was previously defined as a payload on the "mothership".



Pictures explains it better than words

This is the situation where the payload has not been "jettisoned".



The cabin part to left of the entire vehicle is the payload.

This is what happens when I jettison that payload.



As you can see the new vessel is spawned at the (0,0,0) position relative to the mothership on the ground and not at the offset position where I had placed the payloadmesh.

The interesting part is that when in orbit the vessel is spawned at the position of the original mesh.

But is there a solution to spawn a vessel at an offset position ?

It seems that Vinka did not include the payload "offset" check when a SC3 vessel is landed. All other SC3 addons I have checked exhibits same behavior but its not a problem for them since their payloads shall spawn in the (0,0,0) pos of the mother ship (Altair, Apollo LM, HLV, Poderosa etc.)



Hope this explains it better - every bit of advice would be deeply appreciated



ps. I want spawned vessel to be in a landed state i.e. the landing points on the ground. I have adjusted the Y value of the landing points to cater for this.



I think it's a configuation from launch to landing. Ttry changing the configuration in the scenario.

---------- Post added at 02:53 PM ---------- Previous post was at 02:47 PM ----------

One thing I remember what I did for the Jason lander, was to add a dummy mesh, that the Jason was attached to for tail sitting, while landed which had the touchdown points turned 90 deg. After launch it was unattached for the Jason to be able to land on it's wheels.
 

Michael_Chr

New member
Joined
Jul 16, 2013
Messages
153
Reaction score
0
Points
0
Location
Virklund
Thanks for your inputs Brian and Don...its really appreciated

One thing I remember what I did for the Jason lander, was to add a dummy mesh, that the Jason was attached to for tail sitting, while landed which had the touchdown points turned 90 deg. After launch it was unattached for the Jason to be able to land on it's wheels.

I have thought about this but can you activate a dummymesh within the confines of SC3?

Maybe an animation of some kind?

I could also offset either(mothership or payload) of the meshes - but that would create problems with thrusters cg etc...???

I would suspect I would need to code the vessel as a module then which I'm not capable of. On the other hand I'm seriously considering writing out in this forum for help with coding this and making it a real dll instead of making it as an SC3 vessel.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,919
Reaction score
216
Points
138
Location
Cape
Thanks for your inputs Brian and Don...its really appreciated



I have thought about this but can you activate a dummymesh within the confines of SC3?

Maybe an animation of some kind?

I could also offset either(mothership or payload) of the meshes - but that would create problems with thrusters cg etc...???

I would suspect I would need to code the vessel as a module then which I'm not capable of. On the other hand I'm seriously considering writing out in this forum for help with coding this and making it a real dll instead of making it as an SC3 vessel.

Basically, I created an invisible Jason as a tail sitter, with all the correct thrusters, and attached the regular Jason to it.
 

funkheld

New member
Joined
Nov 23, 2014
Messages
15
Reaction score
0
Points
0
where you please get this spaceship from: Hydra?

where you please get this spaceship from : Hydra
Thank you.

greeting
 

PhantomCruiser

Wanderer
Moderator
Tutorial Publisher
Joined
Jan 23, 2009
Messages
5,603
Reaction score
168
Points
153
Location
Cleveland
I think it's something that he is making on his own. Looks pretty awesome so far.
 

Michael_Chr

New member
Joined
Jul 16, 2013
Messages
153
Reaction score
0
Points
0
Location
Virklund
Hydra...Its a creation I'm working on these days. A Lunar Lander ... a little like an Altair on steriods:). What you see is only ½ of it. A habitation module goes inside all that framing. It holds a LER on the aft end for drop off after Descent. In the front is the ascent stage. It has dimensions to fit inside an 8.5 meter diameter fairing for Launching - So an SLS or Quasar can launch it (but most likely only that :)).
Some of the meshes and textures are more or less borrowed from other authors so I have to get their permision first before I can go public with it...but first I need a finished product
 
Top