Idea Shuttle Fleet recompile for Orbiter 2016

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,729
Reaction score
2,696
Points
203
Location
Dallas, TX
Did it work for you?

I kinda have moved on. Done about what I can do.
 

moonheart

Active member
Joined
Jul 12, 2015
Messages
88
Reaction score
39
Points
33
I have been trying your updates and want to thank you for all the time you've put into this - great work. I have not been able to get the spin tables to work or the release of the satellites. - I was able to raise and lower the IUS support though.

One thing I noticed was that the RCS didn't function - only in translation mode. I don't believe you needed to change it at all as one could simply disable the RCS once the Shuttle is into the atmosphere - then you have wing surface control. - Is it possible to return the RCS back to it's original function?

Many thanks!
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,729
Reaction score
2,696
Points
203
Location
Dallas, TX
Thanks

So on the rcs.
I will fix that:
Code:
ATMPRESSURE = GetAtmPressure();
	if (ATMPRESSURE >.1)//in atmosphere so use control surfaces
	{
		//EnableRCS(true);
		SetADCtrlMode(7);//set control surface enable
		(SetAttitudeMode(0));//no rcs
	}
	else {
		//in space
		SetADCtrlMode(0);//disable control surfaces
		(SetAttitudeMode(1));
		(SetAttitudeMode(2));
	}

this is what I have.

So on the spin table does the satellite spin. I tried to figure out the rotation speed and then to know it on the hud
 

moonheart

Active member
Joined
Jul 12, 2015
Messages
88
Reaction score
39
Points
33
I am able to open the satellite pods on STS-5 - but no spinning and the only way to release is to go to the rms dialogue and eject them. On STS-6 I am able to raise the IUS table - but not release - I must go to the RMS table and eject. Also when the TDRS is in free flight, after the engine finishes burning - the TDRS goes flying off on eject - no slow animation.

Many thanks again for all your work - is great to have a working Shuttle fleet again. Is there a launch scen for STS-5? Also a Challenger skin?

Just wondering - take care!
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,729
Reaction score
2,696
Points
203
Location
Dallas, TX
That is why the display is needed. Sure I can add deploy ready but I was trying to follow the Sf where the rpm and angles were displayed. But couldn't figure how to get the angles and rpm of the attachments.


I will add a sts 5 launch and challenger.
 
Last edited:

moonheart

Active member
Joined
Jul 12, 2015
Messages
88
Reaction score
39
Points
33
Many thanks - looking forward to trying the STS-5 launch and Challenger. Also enjoying your Chang-e!
 

moonheart

Active member
Joined
Jul 12, 2015
Messages
88
Reaction score
39
Points
33
Wow - thanks Gattispilot - works great. I now understand how you've put together the launch sequence - thanks for this! I've been trying differnet payloads from the old SF and they fit beautifully. One more ask, if possible - to change the rcs code in the latest version of the SPACESHUTTLE2016D.dll back to the original rcs so that it will work with the tilt table. What would I name a Challenger skin to make it work with your Shuttles? Or do you have one?

Many thanks - been having a great time with your efforts!
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,729
Reaction score
2,696
Points
203
Location
Dallas, TX
Thanks. That was the goal. A lot of reverse engineering.
Try this for sts 6 launch and challenger.
https://drive.google.com/open?id=1Tk4MO11LFnnXoDWGITCVitIrE2jp1sqP

The next changes I think I can do is just add something like IUS ready for deploy,.....Satellite ready for deploy.

With out the display of the angle and rpm it is hard to tell when to release

On the IUS. It should be just geting the sin and sos? and that give the angle. But it wasn't working.

So rather than showing the angle it might show moving ius to 28 degrees. when it gets there ius at 28 and so forth. At the end show Ius at 60 degrees ready to deploy

Same for the others
 
Last edited:

moonheart

Active member
Joined
Jul 12, 2015
Messages
88
Reaction score
39
Points
33
This is great stuff - just tried it and it's nice to see Challenger in orbit again!
- the RCS - how does one change from liner to rotational - doesn't seem to work with the last version of the SPACESHUTTLE2016D.dll - but was fine in earlier versions.
Thanks again- wonderful to have the full suite of Orbiters and payloads.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,729
Reaction score
2,696
Points
203
Location
Dallas, TX
Thanks. Try this dll:
https://drive.google.com/open?id=1H12QNCawd_SyMkNd-aMohhI1w0jK6QQj

it should fix the rcs issue. It has on the HUD so F1 view the IUS status.

The only issue is it didn't go away when IUS deployed
Code:
		if (USEIUS == 1){
			char cbuf[255];
			//tilt of ase/IUS
			//sprintf(oapiDebugString(), " tipx %f tipy %f tipz %f", arm1_tip[1].x, arm1_tip[1].y, arm1_tip[1].z);

		//	if (tilt == 1)tiltvalue = .6;  //first step
		//	if (tilt == 3)tiltvalue = 1.0;  //2nd step
			//phi = phi + .001;//move up second step
		//	if (tilt == 1)		phi = (phi + .001);//move up
		//	if (tilt == 2)		phi = (phi - .001);//move down
		//	if (tilt == 4)		phi = (phi + .001);//move down



			if ((tilt == 1) && (phi < tiltvalue)){

			sprintf(cbuf, "IUS moving to first stop");
			skp->Text(hps->W / 3, hps->H / 5, cbuf, strlen(cbuf));
		}
			if (tilt == 3) {

				sprintf(cbuf, "IUS at first stop");
				skp->Text(hps->W / 3, hps->H / 5, cbuf, strlen(cbuf));
			}
			if ((tilt == 4) && (phi < tiltvalue)) {

				sprintf(cbuf, "IUS moving to second stop");
				skp->Text(hps->W / 3, hps->H / 5, cbuf, strlen(cbuf));
			}

			if (tilt == 5) {

				sprintf(cbuf, "IUS ready to deploy");
				skp->Text(hps->W / 3, hps->H / 5, cbuf, strlen(cbuf));
			}

			if (GetAttachmentStatus(sat_attach))//ius deployed so clear ius info
				sprintf(cbuf, "                             ");
			skp->Text(hps->W / 3, hps->H / 5, cbuf, strlen(cbuf));
		}
 

moonheart

Active member
Joined
Jul 12, 2015
Messages
88
Reaction score
39
Points
33
Works great!

Tilt table - good
RCS - good
IUS - good
TDRS - good

Thanks - wonderful addon - we now can use most, if not all the old Payloads and have an early shuttle program!
 

Gargantua2024

The Desktop Orbinaut
Joined
Oct 14, 2016
Messages
1,057
Reaction score
1,268
Points
128
Location
San Jose Del Monte, Bulacan
Hi there, I recently uploaded historical launch audios for the Shuttle 2016 to the Hangar. They were too large to upload here in the forum, but I hope you enjoyed it so far once it appears haha
 

White Owl

Member
Joined
May 1, 2014
Messages
31
Reaction score
0
Points
6
So I'm getting back into Orbiter after a long absence. 2016 version is very cool, but I miss the old Shuttle Fleet. I see this thread, and am very pleased! Then I try using the new shuttle...

Apparently there's no option for a cockpit view? And I can't figure out how to launch; the SRBs won't detach.

So I look for a manual, to figure out what I'm doing wrong, and I can't find one.

Is there anything like "Shuttle Fleet Recompile for Dummies"? Something for new users, who already can use the default Atlantis, but want the next step up in quality.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,729
Reaction score
2,696
Points
203
Location
Dallas, TX
Well the recompile uses MS2015 for launches.
So if you focus on the shuttle is had the vc and cockpit views and cargo bay view that Sf had.
Basically what I did was use the Atlantis code for a base and added what I could do from reverse engineering it. The SSU was a big help.

So what are trying to do? Because it is ms2015 you just cant't add the shuttle via scn editor like SF.
 

White Owl

Member
Joined
May 1, 2014
Messages
31
Reaction score
0
Points
6
Ah, so my problem is I don't know how to use Multistage 2015. That makes things clearer. I'll go read up on that system. Thanks.
 

moonheart

Active member
Joined
Jul 12, 2015
Messages
88
Reaction score
39
Points
33
Hi White Owl,

It took me awhile to figure it out, but once I got the hang of was very pleased with what gattispilot had done. The focus starts on the ET, not the shuttle itself - that's why there's no VC. You launch using multistage 2015 in the ET - select the Multistage 2015 MFD, select GNC(guidance) - then turn on autopilot - there's a 30 second timer, after which the whole stack will launch. Once in orbit - the ET will jettison automatically - usuallt at t+ 8:56 - or you use the "J" key and manually jettison. From there on , fl your mission. I've been able to create most of the early missions with the "STS payloads"
One more thing to understand - each Multistage flight has a config file and a guidance file found in the config (multistage 2015) folder of Orbiter 2016. They must have these or will not work.

Good luck!
 

White Owl

Member
Joined
May 1, 2014
Messages
31
Reaction score
0
Points
6
Yes, I got that far last night, reading the MS2015 documentation. So at least I know how to launch now! :thumbup:


I like changing focus to the orbiter and opening MS2015 on one mfd, then setting that mfd to target the ET. Set all other mfds as desired, then hit AP. It works.


Now I'm reading up on how to add payloads, which seems relatively straightforward.
 

Sbb1413

Well-known member
Joined
Aug 14, 2018
Messages
948
Reaction score
373
Points
78
Location
India
Preferred Pronouns
he/his/him
Hey John Gattis (sorry for saying your real name), your add-on does not have any textures for Challenger (OV-99)!
John.PNG
Also, any scenarios with XRSound does not work!
Code:
**** Orbiter.log
000000.000: Build Aug 28 2016 [v.160828]
000000.000: Timer precision: 3.66536e-007 sec
000000.000: Found 0 joystick(s)
000000.000: Module AtlantisConfig.dll .... [Build 160828, API 160828]
000000.000: Module AtmConfig.dll ......... [Build 160828, API 160828]
000000.000: Module DGConfigurator.dll .... [Build 160828, API 160828]
000000.000: ---------------------------------------------------------------
BaseDir    : D:\Orbiter\OShuttle16\
ConfigDir  : D:\Orbiter\OShuttle16\Config\
MeshDir    : D:\Orbiter\OShuttle16\Meshes\
TextureDir : D:\Orbiter\OShuttle16\Textures\
HightexDir : D:\Orbiter\OShuttle16\Textures2\
ScenarioDir: D:\Orbiter\OShuttle16\Scenarios\
000000.000: ---------------------------------------------------------------
000000.000: Module D3D9Client.dll ........ [Build 190225, API 160828]
000000.000: Module TrackIR.dll ........... [Build 160828, API 160828]
000000.000: TrackIR module not found.
000000.000: Module CustomMFD.dll ......... [Build 160828, API 160828]
000000.000: Module LuaMFD.dll ............ [Build 160828, API 160828]
000000.000: Module transx.dll ............ [Build 160216, API 160214]
000000.000: Module Orbits.dll ............ [Build 160704, API 160703]
000000.000: Module LuaConsole.dll ........ [Build 160828, API 160828]
000000.000: Module ScriptMFD.dll ......... [Build 160828, API 160828]
000000.000: Module ExtMFD.dll ............ [Build 160828, API 160828]
000000.000: Module ScnEditor.dll ......... [Build 100830, API 100830]
000000.000: Module Attachment Manager.dll  [Build ******, API 060425]
000000.000: Module AutoFCS.dll ........... [Build ******, API 050206]
000000.000: Module Multistage2015_MFD.dll  [Build 170626, API 160828]
000000.000: Module universalParachute.dll  [Build ******, API 060425]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: oapiRegisterMFDMode
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
000000.000: Module XRSound.dll ........... [Build 180309, API 160828]
000000.000: 
000000.000: **** Creating simulation session
000000.000: D3D9: [DirectX 9 Initialized]
000000.000: D3D9: [3DDevice Initialized]
000000.000: D3D9: [Loading Constellations]
000000.000: D3D9: [D3D9Client Initialized]
000000.000: Module Sun.dll ............... [Build 160828, API 160828]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
000000.000: Module Mercury.dll ........... [Build 160828, API 160828]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
000000.000: Module Venus.dll ............. [Build 160828, API 160828]
000000.000: Module VenusAtm2006.dll ...... [Build 160828, API 160828]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
000000.000: Module Earth.dll ............. [Build 160828, API 160828]
000000.000: Module EarthAtmNRLMSISE00.dll  [Build 160828, API 160828]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
000000.000: Module Moon.dll .............. [Build 160828, API 160828]
ELP82: Precision 1e-005, Terms 116/829
000000.000: Module Mars.dll .............. [Build 160828, API 160828]
000000.000: Module MarsAtm2006.dll ....... [Build 160828, API 160828]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
000000.000: Module Phobos.dll ............ [Build ******, API 060425]
000000.000: Module Deimos.dll ............ [Build ******, API 060425]
000000.000: Module Galsat.dll ............ [Build 160828, API 160828]
000000.000: Module Jupiter.dll ........... [Build 160828, API 160828]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
000000.000: Module Io.dll ................ [Build 160828, API 160828]
000000.000: Module Europa.dll ............ [Build 160828, API 160828]
000000.000: Module Ganymede.dll .......... [Build 160828, API 160828]
000000.000: Module Callisto.dll .......... [Build 160828, API 160828]
000000.000: Module Satsat.dll ............ [Build 160828, API 160828]
000000.000: Module Saturn.dll ............ [Build 160828, API 160828]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
000000.000: Module Mimas.dll ............. [Build 160828, API 160828]
SATSAT Mimas: Terms 113
000000.000: Module Enceladus.dll ......... [Build 160828, API 160828]
SATSAT Enceladus: Terms 33
000000.000: Module Tethys.dll ............ [Build 160828, API 160828]
SATSAT Tethys: Terms 101
000000.000: Module Dione.dll ............. [Build 160828, API 160828]
SATSAT Dione: Terms 59
000000.000: Module Rhea.dll .............. [Build 160828, API 160828]
SATSAT Rhea: Terms 68
000000.000: Module Titan.dll ............. [Build 160828, API 160828]
SATSAT Titan: Terms 100
000000.000: Module Iapetus.dll ........... [Build 160828, API 160828]
SATSAT Iapetus: Terms 605
000000.000: Module Uranus.dll ............ [Build 160828, API 160828]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
000000.000: Module Miranda.dll ........... [Build ******, API 060425]
000000.000: Module Ariel.dll ............. [Build ******, API 060425]
000000.000: Module Umbriel.dll ........... [Build ******, API 060425]
000000.000: Module Titania.dll ........... [Build ******, API 060425]
000000.000: Module Oberon.dll ............ [Build ******, API 060425]
000000.000: Module Neptune.dll ........... [Build 160828, API 160828]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
000000.000: Finished initialising world
000000.000: Module Multistage2015.dll .... [Build 170626, API 160828]
000000.000: Multistage Version: 170506
000000.000: Load State Started
000000.000: ET-25: Guidance File present: Config\Multistage2015\Guidance\STS-51-L_(Challenger).txt
000000.000: ET-25: Sound found @step 1
000000.000: ET-25: Orbit Call Found! Targets: Apogee:228000.0 Perigee:105000.0 Inclination:-28.4 Mode:-1.0 GT initial Pitch: 0.0 Abside:105000.0
000000.000: ET-25: Config File: A:\Orbiter\OShuttle16\Config\Multistage2015\STS-51-L.ini
000000.000: ET-25: Number of stages in the ini file: 1
000000.000: ET-25: Number of boosters group in the ini file: 1
000000.000: ET-25: Number of Payloads in the ini file: 1
000000.000: ET-25: Thrust in Real Position
000000.000: ET-25: Texture n.1 Loaded Exhaust_atsme
000000.000: ET-25: Texture n.2 Loaded solidfuel_exhaust
000000.000: ET-25: Texture n.3 Loaded contrail4
000000.000: ET-25: Texture n.4 Loaded contrail
000000.000: ET-25: Texture n.5 Loaded contrailSRBA
000000.000: ET-25: booster n. 1 Tank Added: 1006974.000 kg
000000.000: ET-25: Stage n. 1 Tank Added: 728715.230 kg
000000.000: ET-25: Stage n. 1 Engines Exhaust Added--> number of engines: 3 , diameter: 2.000, position x: -1.600 y: 7.930 z: -27.880
000000.000: ET-25: Stage n. 1 Engines Exhaust Added--> number of engines: 3 , diameter: 2.000, position x: 1.600 y: 7.930 z: -27.880
000000.000: ET-25: Stage n. 1 Engines Exhaust Added--> number of engines: 3 , diameter: 2.000, position x: 0.000 y: 11.330 z: -27.030
000000.000: ET-25: Booster Group n.1 Engine Exhaust Stream Added: solidfuel_exhaust to engine n.1
000000.000: ET-25: Booster Group n.1 Engine Exhaust Stream Added: contrail4 to engine n.1
000000.000: ET-25: Booster Engines Exhaust Added--> Booster Group: 1 number of engines: 1 , diameter: 2.200, position x: 5.800 y: 0.000 z: -33.786
000000.000: ET-25: Booster Group n.1 Engine Exhaust Stream Added: solidfuel_exhaust to engine n.2
000000.000: ET-25: Booster Group n.1 Engine Exhaust Stream Added: contrail4 to engine n.2
000000.000: ET-25: Booster Engines Exhaust Added--> Booster Group: 1 number of engines: 1 , diameter: 2.200, position x: -5.800 y: 0.000 z: -33.786
000000.000: ET-25: Stage n.1 Mesh Preloaded: Atlantis_tank
000000.000: ET-25: Stage n.1 Mesh Added Mesh: Atlantis_tank @ x:-0.050 y:0.000 z:0.000
000000.000: ET-25: Booster Mesh Preloaded: 2016spaceshuttle\booster\rsrm_1
000000.000: ET-25: Booster Mesh Added Mesh: 2016spaceshuttle\booster\rsrm_1 @ x:6.000 y:0.000 z:-11.286
000000.000: ET-25: Booster Mesh Preloaded: 2016spaceshuttle\booster\rsrm_2
000000.000: ET-25: Booster Mesh Added Mesh: 2016spaceshuttle\booster\rsrm_2 @ x:-6.000 y:0.000 z:-11.286
000000.000: Load State Terminated
000000.000: Module EmptyModule.dll ....... [Build 170626, API 160828]
000000.000: Module MS_Camera.dll ......... [Build 170626, API 160828]
000000.000: MS_Camera: Target Vessel Loaded->ET-25
000000.000: Module SPACESHUTTLE2016D.dll . [Build 181218, API 160828]
============================ ERROR: ===========================
Mesh not found: .\Meshes\2016SPACESHUTTLE\Discovery\DiscoveryORG2016f.msh
[MeshManager::LoadMesh | .\Mesh.cpp | 1238]
===============================================================
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: VESSEL::CreateVariableDragElement
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
000000.000: Module spacecraft3.dll ....... [Build ******, API 060425]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: VESSEL::SetBankMomentScale
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
000000.000: Module Spacecraft4.dll ....... [Build 151223, API 100830]
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: D3D9: [Scene Initialized]
000000.000: Post Creation Started
000000.000: ET-25: Gravity Turn Initial Pitch by user: 0.000 Calculated:71.000
000000.000: RESET PEG
000000.000: ET-25: Planet Reference Pressure = 101325.0 Pa  Atmosphere Altitude Limit:2500.0 km
000000.000: Post Creation Terminated
000000.000: oapi::Module::clbkSimulationStart
000000.000: Finished initialising panels
 
Last edited:

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,729
Reaction score
2,696
Points
203
Location
Dallas, TX
Oh. Ok no problem. I will update the zip. And think else? I will look at the missing mesh also?

Not sure about the sound. If the Atlantis had sound mine should.
 
Top