Multiple Payload for Default Atlantis

Matte

Member
Joined
Nov 24, 2007
Messages
169
Reaction score
0
Points
16
Location
Milano
Good Morning.
i'm trying to attach 2 payloads, a Artemis module and a PMA docking adapter in the Shuttle Bay.
HTML:
BEGIN_DESC
Launch Space Shuttle Atlantis from Launch Complex 39B at the Kennedy Space Center for mission STS-003, Deployment of Artemis Core module in Orbit.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
END_ENVIRONMENT

BEGIN_FOCUS
  Ship STS-003
END_FOCUS

BEGIN_CAMERA
  TARGET STS-003
  MODE Extern
  POS 2.89 -0.51 -70.39
  TRACKMODE TargetRelative
  FOV 50.00
  BEGIN_PRESET
    Cockpit:STS-003:40.00
    Ground:STS-003:40.00:Earth -80.62339 28.61960 110.00
    Track:STS-003:50.00:RELATIVE 2.890 -0.009 -1.229
    Ground:STS-003:10.00:Earth -80.65298 28.58028 20.00
  END_PRESET
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_MFD Left
  TYPE Surface
END_MFD

BEGIN_MFD Right
  TYPE Orbit
  PROJ Ship
  REF Earth
END_MFD

BEGIN_SHIPS
STS-003:Atlantis
  STATUS Landed Earth
  BASE Cape Canaveral:11
  POS -80.6232502 28.6197342
  HEADING 2.00
  PRPLEVEL 0:1.000 1:1.000 2:1.000
  NAVFREQ 0 0
  CONFIGURATION 0
  CARGODOOR 0 0.0000
  GEAR 0 0.0000
  KUBAND 0 0.0000
  ARM_STATUS 0.5000 0.0000 0.0000 0.5000 0.5000 0.5000
END
Artemis:Well-Artemis
  STATUS Landed Earth
  ATTACHED 0:0,STS-003
END
pma:Well-pma
  STATUS Landed Earth
  ATTACHED 0:0,STS-003
END
END_SHIPS

the actual SCN does not work; i mean that one of the 2 modules is in the bay, the other one is flying away or in absurd position.
what do i have to do?
thanks
Matte
 
Artemis:Well-Artemis
STATUS Landed Earth
ATTACHED 0:0,STS-003
END
pma:Well-pma
STATUS Landed Earth
ATTACHED 0:0,STS-003
END

You are trying to attach both payloads to the same grappling point, which leads to undefined behavior.

You should always attach different payloads to different attachment points. But there is no good positioned attachment point for 2nd payload in default atlantis configuration, so you will have to add it manualy. And default atlantis only checks for payloads in 0th attachment point. To detach payloads in connected to other points, you will need to use attachment MFD or something similar.

Or you can use kulch's universal cargo deck, which allows you easily add as many payloads as you wish, without touching configs at all.
 
thnks for your useful answer. i'll look for those add-ons.
 
Universal Cargo Deck is not compatible with Atlantis because it changes it's dry mass during flight because of booster and ET separation.
is there any other method?
 
and while using ttchment MFD i'm experiencing absurd deformation while trying to modify the attachment point position...
 
Try to make it by the same way as in SSU. Make file "payload.ini" and place it in Config/Spacecraft3 folder. Here is example content of payload.ini

Code:
=== Vessel class payload ===

[CONFIG]
MESHNAME="dummy"
SIZE=4
EMPTY_MASS=0
FUEL_MASS=0
ATTITUDE_THRUST = 0
ISP=5e5
PMI=(20,20,20)
CROSS_SECTION=(25.40,25.37,16.87)
COG=2.0
PITCH_MOMENT_SCALE=0.00001
BANK_MOMENT_SCALE=0.00001
ROT_DRAG=(11.5,11.5,11.5)
 

VISIBLE=1
CAMERA=(0,2.3,2)
FOCUS=1


[CHILD_ATTACH_0]    ; attachment point in bay
NAME="Attach"
POS=(0,0,0)
DIR=(0,-1,0)
ROT=(0,0,1)
ID="XS"

[Parent_ATTACH_0]    ; something
NAME="Attach"
POS=(0,0,0)
DIR=(0,-1,0)
ROT=(0,0,1)
RANGE=50.

[Parent_ATTACH_1]    ; something
NAME="Attach"
POS=(0,0,0)
DIR=(0,-1,0)
ROT=(0,0,1)
RANGE=50.

[Parent_ATTACH_2]    ;OBSS MPM's
NAME="Right"
POS=(2.81,1.01,1.68)
DIR=(0,1,0)
ROT=(0,0,1)
LOOSE=0
RANGE=50.

[Parent_ATTACH_3]    ;Unity
NAME="Aft"
POS=(0,0.082,0.52)
DIR=(0,1,0)
ROT=(0,0,-1)
RANGE=50.

In scenario file:
Code:
payload:spacecraftspacecraft3
  STATUS Landed Earth
  RPOS -3169082.88 -3229089.93 -4970880.29
  RVEL 3472.188 4545.989 -5161.218
  AROT -175.22 14.12 -40.57
  ATTACHED 0:0,Shuttle name
  NAVFREQ 0 0
  RCS 1
  CTRL_SURFACE 1
  CONFIGURATION 1
  CURRENT_PAYLOAD 0
  SEQ 0 -2 0.000000
  SEQ 1 -2 0.000000
  SEQ 2 -2 0.000000
  SEQ 3 -2 0.744333
  SEQ 4 2 0.497979
  SEQ 5 2 0.806975
  SEQ 6 -2 0.717533
  SEQ 7 -2 0.500000
  SEQ 8 -2 0.738610
  SEQ 9 -2 0.500000
END
Unity:Well-Themis
  STATUS Orbiting Earth
  RPOS 7007867.44 0.00 58424.78
  RVEL -62.873 -0.000 7541.423
  AROT 0.00 0.00 0.00
  NAVFREQ 0 0
  ATTACHED 0:3,payload
END

ATTACHED 0:3,payload

3 is a number of Parrent attach for Unity.

I think you understand :)
 
Back
Top