Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Addon Requests
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Addon Requests If you have a request for a new addon or want to know where to find a specific addon, ask it here!

Reply
 
Thread Tools
Old 06-10-2019, 04:46 PM   #481
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Thanks. I will get to redoing the cradle and orbus. The ASEM I can add some texture but will not functional. I suppose it could but it would take a lot.


E opens the air lock and i think Shift E eva. But it is the MMU guy.


Yes not sure if the attachment in the center is correct. Will check it out.
gattispilot is online now   Reply With Quote
Thanked by:
Old 06-10-2019, 06:48 PM   #482
pappy2
Orbinaut
Default

Thank you "Gattispilot"
I tested the "E" button with Endeavor but the airlock does not open.

pappy2 is online now   Reply With Quote
Thanked by:
Old 06-10-2019, 06:58 PM   #483
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Regarding the MMU:
Shift + E = Opening the airlock door
E = Appearance of the guy in MMU
E = disappearance of the guy in MMU
gattispilot is online now   Reply With Quote
Thanked by:
Old 06-10-2019, 08:50 PM   #484
pappy2
Orbinaut
Default

Quote:
Originally Posted by gattispilot View Post
 Regarding the MMU:
Shift + E = Opening the airlock door
E = Appearance of the guy in MMU
E = disappearance of the guy in MMU
FANTASTIQUE

pappy2 is online now   Reply With Quote
Thanked by:
Old 06-11-2019, 12:52 AM   #485
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So redid the cradle:


Yes the rms is broke Not grapple things

If you change the cfg for ASEm to this it should be right.
Code:
BEGIN_ATTACHMENT
P .1 .5 0  0 -1 0  0 0 -1 XS ; TO SHUTTLE
P 0 3.335 0  0 1 0  0 0 1 GS ; TO RMS
C 0 -.695 1.145  0 -1 0  0 0 -1 XS ; TO EVA
C 0 -.695 1.145  0 -1 0  0 0 -1 XS ; TO EVA
END_ATTACHMENT
GS is the ID for the rms to attach.
gattispilot is online now   Reply With Quote
Old 06-11-2019, 09:34 AM   #486
pappy2
Orbinaut
Default

Hello "gattispilot"
the satellite support is very well represented, beautiful work.

Regarding the capture of ASEM I changed the .cfg file
but sorry the capture with the RMS still does not work.



pappy2 is online now   Reply With Quote
Thanked by:
Old 06-12-2019, 11:06 AM   #487
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Yes. I am not sure why though. It might be because of the set and seq. working on meshes and then going to look at the code.

---------- Post added 06-12-19 at 05:17 AM ---------- Previous post was 06-11-19 at 06:03 AM ----------

New meshes. Still need to fix rms and get grapple point correct.


here are the new meshes, textures, cfgs.
https://drive.google.com/open?id=1Rb...DIBVaTumJCf-iq

---------- Post added at 06:06 AM ---------- Previous post was at 05:17 AM ----------

So stuck on the code part
Code:
void Atlantis::ToggleGrapple(void)
{
	HWND hDlg;
	OBJHANDLE hV = GetAttachmentStatus(rms_attach);

	if (hV) {  // release satellite

		ATTACHMENTHANDLE hAtt = CanArrest();
		DetachChild(rms_attach);
		if (hDlg = oapiFindDialog(g_Param.hDLL, IDD_RMS)) {
			SetWindowText(GetDlgItem(hDlg, IDC_GRAPPLE), "Grapple");
			EnableWindow(GetDlgItem(hDlg, IDC_STOW), TRUE);
		}
		// check whether the object being ungrappled is ready to be clamped into the payload bay
	//	if (hAtt) {
		//	AttachChild(hV, sat_attach, hAtt);
		//	if (hDlg) {
		//		SetWindowText(GetDlgItem(hDlg, IDC_PAYLOAD), "Purge");
		//		EnableWindow(GetDlgItem(hDlg, IDC_PAYLOAD), TRUE);
		//	}
		//}

#ifdef UNDEF
		VECTOR3 pos, dir, rot, gbay, gpos;
		GetAttachmentParams(sat_attach, pos, dir, rot);
		Local2Global(pos, gbay);
		VESSEL *v = oapiGetVesselInterface(hV);
		DWORD nAttach = v->AttachmentCount(true);
		for (DWORD j = 0; j < nAttach; j++) { // now scan all attachment points
			ATTACHMENTHANDLE hAtt = v->GetAttachmentHandle(true, j);
			v->GetAttachmentParams(hAtt, pos, dir, rot);
			v->Local2Global(pos, gpos);
			if (dist(gpos, gbay) < MAX_GRAPPLING_DIST) {
				AttachChild(hV, sat_attach, hAtt);
				return;
			}
		}
#endif

	}
	else {             // grapple satellite

		VECTOR3 gpos, grms, pos, dir, rot;
		Local2Global(arm_tip[0], grms);  // global position of RMS tip

		// Search the complete vessel list for a grappling candidate.
		// Not very scalable ...
		for (DWORD i = 0; i < oapiGetVesselCount(); i++) {
			OBJHANDLE hV = oapiGetVesselByIndex(i);
			if (hV == GetHandle()) continue; // we don't want to grapple ourselves ...
			oapiGetGlobalPos(hV, &gpos);
			if (dist(gpos, grms) < oapiGetSize(hV)) { // in range
				VESSEL *v = oapiGetVesselInterface(hV);
				DWORD nAttach = v->AttachmentCount(true);
				
				for (DWORD j = 0; j < nAttach; j++) { // now scan all attachment points of the candidate
					ATTACHMENTHANDLE hAtt = v->GetAttachmentHandle(true, j);
					const char *id = v->GetAttachmentId(hAtt);
					//if (strncmp(id, "GS", 2)) continue; // attachment point not compatible
					v->GetAttachmentParams(hAtt, pos, dir, rot);
					v->Local2Global(pos, gpos);
					sprintf(oapiDebugString(), "dist %2.2f  ", dist(gpos, grms));
					if (dist(gpos, grms) < 10) { // found one!
						// check whether satellite is currently clamped into payload bay
						//if (hV == GetAttachmentStatus(sat_attach))
						//	DetachChild(sat_attach);
						
						AttachChild(hV, rms_attach, hAtt);
						if (hDlg = oapiFindDialog(g_Param.hDLL, IDD_RMS)) {
							SetWindowText(GetDlgItem(hDlg, IDC_GRAPPLE), "Release");
							EnableWindow(GetDlgItem(hDlg, IDC_STOW), FALSE);
						}
						return;
					}
				}
			}
		}

	}
}
I have it set to look at any attachment id. and it should attach if less than 10. So when I press grapple the screen print doesn't show
gattispilot is online now   Reply With Quote
Old 06-12-2019, 08:36 PM   #488
Marg
Orbinaut
Default

Only now I realized that payload bay door\Ku Band stc. operation interface imitates L13 panel.
All this menu system surpasses David's413 Shuttle Fleet. Great job!

Just wanted to note that Endeavour's payload bay doors, when opened, are a bit off the orbiter's wall... (x coord. rotation point slightly off?).
Marg is offline   Reply With Quote
Thanked by:
Old 06-12-2019, 09:42 PM   #489
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Quote:
Originally Posted by Marg View Post
 Only now I realized that payload bay door\Ku Band stc. operation interface imitates L13 panel.
All this menu system surpasses David's413 Shuttle Fleet. Great job!

Just wanted to note that Endeavour's payload bay doors, when opened, are a bit off the orbiter's wall... (x coord. rotation point slightly off?).

Thanks. Well I know why it will not attach but I don't know why.



So it looks at the size of the vessel to ASEm was set at 2.0 But it shows the distance at 3.0 So the distance is the value of the y axis.


Code:
for (DWORD i = 0; i < oapiGetVesselCount(); i++) {
            OBJHANDLE hV = oapiGetVesselByIndex(i);
            if (hV == GetHandle()) continue; // we don't want to grapple ourselves ...
            oapiGetGlobalPos(hV, &gpos);
            sprintf(oapiDebugString(), "dist %2.2f size %2.2f ", dist(gpos, grms), oapiGetSize(hV));
            if (dist(gpos, grms) < oapiGetSize(hV)) { // in range
                VESSEL *v = oapiGetVesselInterface(hV);
                DWORD nAttach = v->AttachmentCount(true);
                
                for (DWORD j = 0; j < nAttach; j++) { // now scan all attachment points of the candidate
                    ATTACHMENTHANDLE hAtt = v->GetAttachmentHandle(true, j);
                    const char *id = v->GetAttachmentId(hAtt);

so if you set the cfg to this it seems to work

Code:
; === Configuration file for vessel class NASA ASEM ===
ClassName = ASEM
MeshName = 2016SPACESHUTTLE\ASEM2
Mass = 1124
Size = 10


; === Attachment specs ===
BEGIN_ATTACHMENT
P 0 .5 0  0 -1 0  0 0 -1 XS ; TO SHUTTLE
P 0 3.2 0  0 1 0  0 0 1 GS ; TO RMS
C 0 -.695 1.145  0 -1 0  0 0 -1 XS ; TO EVA
C 0 -.695 1.145  0 -1 0  0 0 -1 XS ; TO EVA
END_ATTACHMENT
I wonder if the rms camera needs to be set back. It is set where it would be in the rms. BUT you get clipping so you can't see the target

Last edited by gattispilot; 06-12-2019 at 10:16 PM.
gattispilot is online now   Reply With Quote
Old 06-13-2019, 06:29 AM   #490
Gargantua2024
Orbinaut
Default

Tinkered with STS-51-F (Challenger's) launch and ATO

Guidance file:
Code:
-32.2=Playsound(XRSound\Launch\STS-51-F.wav)
-30=orbit(101,312,49.5,-1)
-6=engine(0,100,6)
3=engine(100,104.5,1.00)
30=engine(104.5,72.00,5.00)
55=engine(72.0,104.5,5.00)
124=jettison()
124=jettison()
343=engineout(3)
555=jettison()
Attached Thumbnails
STS-51-F (1).jpg   STS-51-F (2).jpg   STS-51-F (3).jpg  

Last edited by Gargantua2024; 06-13-2019 at 06:37 AM.
Gargantua2024 is offline   Reply With Quote
Thanked by:
Old 06-13-2019, 10:03 AM   #491
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

For sts61c some cargo.
Hitchhiker

gas bridge

MSLC

it looks like it justs uses a PAM d2 and regular ase?

eva in sts 49


might need to move the ASEM slightly as it it it hitting an rms support

Last edited by gattispilot; 06-13-2019 at 10:19 AM.
gattispilot is online now   Reply With Quote
Old 06-13-2019, 12:06 PM   #492
Star Voyager
Failed Addon Developer
 
Star Voyager's Avatar
Default

Nope, ASE was bigger for D2. The meshes should be in STS Payloads for 61B. Otherwise looks good!
Star Voyager is offline   Reply With Quote
Thanked by:
Old 06-13-2019, 02:52 PM   #493
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

One thing I noticed. It may be an orbiter issue. IS when I grappled the cradle bar with rms it was right. I exited and now it is wrong. I will try to put together a sts 61C set up.

I need to make the Orbus a vessel by adding the spin. After 35 minutes it would start to spin to 10 rpm. And make the animation of the Intel say work

So I know there is a Pam d2 but do we have the K! satellite?

Last edited by gattispilot; 06-13-2019 at 06:10 PM.
gattispilot is online now   Reply With Quote
Old 06-13-2019, 06:49 PM   #494
Star Voyager
Failed Addon Developer
 
Star Voyager's Avatar
Default

Satcom K should also be in STS Payloads for 61B.
Star Voyager is offline   Reply With Quote
Thanked by:
Old 06-13-2019, 11:49 PM   #495
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So I got the ASE in and the other stuff. Haven't gotten the pamd2 and satellite.


Changed the texture to sat k1

added pamd2 and k1



Last edited by gattispilot; 06-14-2019 at 12:13 AM.
gattispilot is online now   Reply With Quote
Thanked by:
Reply

  Orbiter-Forum > Orbiter Addons > Addon Requests


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 06:09 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.