Project Space Transportation System 2016

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Timer works. But only when mouse button depressed
case AID_AFTEVENTSET: { //sprintf(oapiDebugString(), "Minuter M: %d T: %d G: %d ", Minutes4setAFT, Minutes3setAFT, Minutes2setAFT); SetAnimation(anim_AFTSETRESET, 0); panelswitch(); TimerSetAFT = 1; SetAnimation(anim_AFTSETRESET, .5); //SetAnimation(anim_mfd2, 0); } return true;

panel switch
void Atlantis::panelswitch() { switchtimer = (switchtimer + 1);// count up sprintf(oapiDebugString(), "timer M: %d ", switchtimer); if (switchtimer > 10)switchtimer = 0; // if timer reaches point reset timer if (switchtimer == 0)return;//return since timer reached end }

here is where it goes when the area is pressed.
oapiVCRegisterArea(AID_AFTEVENTSET, PANEL_REDRAW_NEVER, PANEL_MOUSE_LBDOWN | PANEL_MOUSE_LBPRESSED |PANEL_MOUSE_ONREPLAY);

Ideally it should be mouse pressed, moved the switch up (animation state 0) and when released the animation state goes to .5


Redid the front VC and aft section with the range finder. Not sure how it works though

Redid the left aft section R10,..... I know there are mission specific section, So maybe leave blank?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Got it to work. Thanks to

Abdullah Radwan​


Now to get SSu to work in 2016. I was looking at 2010. Seems something were not working.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Looking at the Early shuttle VC. Overhead panels.
Here is the SSU textures on the VC:
cEKPVaZ.jpg


Clearer. But you can see no buttons/dials.switches. guards,.............

Here is the default overhead:
pKKf5J7.jpg


I suppose one option is to paint the switches,,.... on

Opinion?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Thanks. They are from SSU just added switches,...... to the textures. It would be nice to have the different MFD screens. The SF GPC has some screen but are for SF only. Building the mfd is beyond me. Really no graphics just text and numbers
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Updating the vc
but have a question
8eqNgsP.jpg
is from the SSU. Not sure how to duplicate the display with the + and - and decimal point?
sprintf(cbuf, "%f", Minutes4set); // TextOut(hDC, 410, 325, cbuf, strlen(cbuf)); TextOut(hDC, 270, 160, cbuf, strlen(cbuf)); sprintf(cbuf, "%d", Minutes4set); // TextOut(hDC, 410, 325, cbuf, strlen(cbuf)); TextOut(hDC, 270, 365, cbuf, strlen(cbuf)); sprintf(cbuf, "%d", Minutes3set); // TextOut(hDC, 410, 325, cbuf, strlen(cbuf)); TextOut(hDC, 290, 365, cbuf, strlen(cbuf)); sprintf(cbuf, "%d", Minutes2set); //TextOut(hDC, 410, 325, cbuf, strlen(cbuf)); TextOut(hDC, 250, 365, cbuf, strlen(cbuf)); sprintf(cbuf, "%d", Minutes1set); // TextOut(hDC, 410, 325, cbuf, strlen(cbuf)); TextOut(hDC, 230, 365, cbuf, strlen(cbuf));

Right now I am painting the numbers to the texture
fLMVcpT.jpg

new overhead front with working MET
gqwy3ed.jpg

I added the dials to the textures
UTS2we9.jpg

aft section with working MET and Event timer

y76SmcG.jpg
aft section. You can see what number I have shown
XUCN3VE.jpg

working side mfd
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Thanks.

I had to align the panel that controls the payload paydoors,.....Panel R13L

Trying to get the vc animation to work

void PayloadBayOp::DefineAnimations (UINT vcidx) { static VECTOR3 switch_rot = {0,0,1}; static VECTOR3 switch_row1 = {1.3068,2.1991,12.7983}; static VECTOR3 switch_row2 = {1.2132,2.1377,12.7983}; static VECTOR3 switch_row3 = {1.1244,2.0794,12.7983}; // Animations for switches on panel R13L in the VC static UINT VC_R13L_S1_Grp = GRP_SwitchR13L_1_VC; static MGROUP_ROTATE VC_R13L_S1 (vcidx, &VC_R13L_S1_Grp, 1, switch_row1, switch_rot, (float)(90.0*RAD)); anim_VC_R13L[0] = sts->CreateAnimation (0.5); sts->AddAnimationComponent (anim_VC_R13L[0], 0, 1, &VC_R13L_S1); static UINT VC_R13L_S2_Grp = GRP_SwitchR13L_2_VC; static MGROUP_ROTATE VC_R13L_S2 (vcidx, &VC_R13L_S2_Grp, 1, switch_row1, switch_rot, (float)(90.0*RAD)); anim_VC_R13L[1] = sts->CreateAnimation (0.5); sts->AddAnimationComponent (anim_VC_R13L[1], 0, 1, &VC_R13L_S2); static UINT VC_R13L_S3_Grp = GRP_SwitchR13L_3_VC; static MGROUP_ROTATE VC_R13L_S3 (vcidx, &VC_R13L_S3_Grp, 1, switch_row1, switch_rot, (float)(90.0*RAD)); anim_VC_R13L[2] = sts->CreateAnimation (0.5); sts->AddAnimationComponent (anim_VC_R13L[2], 0, 1, &VC_R13L_S3); static UINT VC_R13L_S4_Grp = GRP_SwitchR13L_4_VC; static MGROUP_ROTATE VC_R13L_S4 (vcidx, &VC_R13L_S4_Grp, 1, switch_row1, switch_rot, (float)(90.0*RAD)); anim_VC_R13L[3] = sts->CreateAnimation (0.5); sts->AddAnimationComponent (anim_VC_R13L[3], 0, 1, &VC_R13L_S4);
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
I was able to get the payload door section to function

Concerning the display in the Aft. WOW. So the KU antenna is moveable. Getting the Antenna to animate can done. Not sure about the display though. Right now you press a switch and the KU deploys or stows. I suppose like the RMS. When you press stow the antenna would need to go back to start and then rotate in. In the display the elevation and azimuth is selected. But not sure when the white and yellow lines move?
 

Attachments

  • ssua2panel2.jpg
    ssua2panel2.jpg
    252.6 KB · Views: 4
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
For some reason I keep getting this in my Orbiter log when I launch the scn that has STS 1.

Code:
**** Orbiter.log
000000.000: Build Aug 28 2016 [v.160828]
000000.000: Timer precision: 1e-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: Module ProjectApolloConfigurator.dll  [Build 210329, API 190914]
000000.000: Module Meshdebug.dll ......... [Build 160828, 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 LuaConsole.dll ........ [Build 160828, API 160828]
000000.000: Module ExtMFD.dll ............ [Build 160828, API 160828]
000000.000: Module FlightData.dll ........ [Build 160828, API 160828]
000000.000: Module Framerate.dll ......... [Build 160828, API 160828]
000000.000: Module Rcontrol.dll .......... [Build 160828, API 160828]
000000.000: Module ScnEditor.dll ......... [Build 160828, API 160828]
000000.000: Module GenericCamera.dll ..... [Build 210401, API 160828]
000000.000: Module DX9ExtMFD.dll ......... [Build 210401, API 160828]
000000.000: Module PursuitMFD_2016.dll ... [Build 171119, API 160828]
000000.000: Module Multistage2015_MFD.dll  [Build 170506, API 160828]
000000.000: Module uap.dll ............... [Build 110613, API 100830]
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 ProjectApolloMFD.dll .. [Build 210329, API 190914]
000000.000: Module ApolloRTCCMFD.dll ..... [Build 210329, API 190914]
000000.000: Module OrbiterSound.dll ...... [Build 200811, API 160828]
000000.000: Module LunarTransferMFD.dll .. [Build 191224, API 160828]
000000.000: Module ScriptMFD.dll ......... [Build 160828, API 160828]
000000.000: ---------------------------------------------------------------
BaseDir    : C:\Orbiter 2016\
ConfigDir  : C:\Orbiter 2016\Config\
MeshDir    : C:\Orbiter 2016\Meshes\
TextureDir : C:\Orbiter 2016\Textures\
HightexDir : C:\Orbiter 2016\Textures2\
ScenarioDir: C:\Orbiter 2016\Scenarios\
000000.000: ---------------------------------------------------------------
D3D9 DLLs  : C:\WINDOWS\SYSTEM32\d3dx9_43.dll [v 9.29.952.3111]
           : C:\WINDOWS\SYSTEM32\d3d9.dll [v 10.0.19041.928]
000000.000: ---------------------------------------------------------------
000000.000: Module D3D9Client.dll ........ [Build 210401, API 160828]
000000.000: 
000000.000: **** Creating simulation session
000000.000: D3D9: [DirectX 9 Initialized]
D3D9: 3D-Adapter.............. : Intel(R) Iris(R) Plus Graphics
D3D9: MaxTextureWidth......... : 8192
D3D9: MaxTextureHeight........ : 8192
D3D9: MaxTextureRepeat........ : 8192
D3D9: VolTexAddressCaps....... : 0x3F
D3D9: NumSimultaneousRTs...... : 4
D3D9: VertexDeclCaps.......... : 0x37F
D3D9: MiscCaps................ : 0x2FCCF2
D3D9: XNA Math Support........ : Yes
D3D9: Vertex Texture.......... : Yes
D3D9: Separate AlphaBlend..... : Yes
D3D9: Shadow Mapping.......... : Yes
D3D9: D3DFMT_A16B16G16R16F.... : Yes
D3D9: D3DFMT_A32B32G32R32F.... : Yes
D3D9: D3DFMT_D32F_LOCKABLE.... : No
D3D9: D3DFMT_A2R10G10B10...... : Yes
D3D9: D3DFMT_L8............... : Yes
D3D9: D3DDTCAPS_DEC3N......... : No
D3D9: D3DDTCAPS_FLOAT16_2..... : Yes
D3D9: D3DDTCAPS_FLOAT16_4..... : Yes
D3D9: Runs under WINE......... : No
D3D9: D3D9Build Date.......... : 210401
D3D9: Available Texture Memory : 2038 MB
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 EarthAtmJ71G.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 170506, API 160828]
000000.000: Multistage Version: 170506
000000.000: Load State Started
000000.000: ET-1: Guidance File present: Config\Multistage2015\Guidance\guidance_shuttle_STS-1real.txt
000000.000: ET-1: Config File: C:\Orbiter 2016\Config\Multistage2015\Space-Shuttle_STS-1Enew.ini
000000.000: ET-1: Number of stages in the ini file: 0
000000.000: ET-1: Number of boosters group in the ini file: 0
000000.000: ET-1: Number of Payloads in the ini file: 0
000000.000: ET-1: Stage n. 1 Engines Exhaust Added--> number of engines: 1 , diameter: 0.000, position x: 0.000 y: 0.000 z: -0.000
000000.000: Load State Terminated
000000.000: Module EmptyModule.dll ....... [Build 170505, API 160828]
000000.000: Module MS_Camera.dll ......... [Build 170505, API 160828]
000000.000: MS_Camera: Target Vessel Loaded->ET-1
000000.000: >>> ERROR: No vessel class configuration file found for:
============================ ERROR: ===========================
Shuttle2016BEARLY
[Vessel::OpenConfigFile | .\Vessel.cpp | 243]
===============================================================
000000.000: >>> TERMINATING <<<
 
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
So far so good, but the only thing I'm concerned about is reentry. I don't have a joystick, so that may be a problem for me, but if anybody wants to make an AP that works that'll be great with me.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Glad it works. Yes for SF for 2010 there was a AP that allowed one to land. BUt it doesn't work in 2016. The people who made it have left and no source code. We have some landing scenarios
 
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
Glad it works. Yes for SF for 2010 there was a AP that allowed one to land. BUt it doesn't work in 2016. The people who made it have left and no source code. We have some landing scenarios
Oh alright, I'm going to go see what else there is to the mod since I've only tried out the launch sequence.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
I think new vc camera positions are needed.
OSfAJot.jpg

top is SSU bottom is sts2016. I had to stretch the bottom image.

If we want the KU animation,.... you need new VC positions so you can press the keys.

Maybe even add a camera position to the save things.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Ok. I got the VC camera position to save.

On the KU band antenna. I will need some help

6dwkPLs.jpg

3VNx9ro.jpg

GXtPdUb.jpg

kDxghtL.jpg



The KU band has a Alpha range of 360 and Beta range of 162.

It looks like the rms it needs to rotate to a start position.

As I see it when the it is manual mode the crew can steer the Antenna. I think it is the Azimuth l/r elevation and rate changes, right

Looking at SSu it looks like the elevation goes from =90 to -90

So what would make the KU band move. I mean if you set the elevation to +45 Would the Alpha or Beta change?
 
Top