Michael_Chr
New member
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.
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