Orbiter-Forum  

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

Addon Development Developers post news, updates, & discussions here about your projects in development.

Closed Thread
 
Thread Tools
Old 02-14-2018, 08:13 PM   #46
Face
Beta Tester
 
Face's Avatar

Default

Quote:
Originally Posted by Urwumpe View Post
 Is there anything else incluencing the behavior during PostCreation?
Some thruster definition maybe? Perhaps XRSound chokes on some unusual construct.
Face is offline  
Thanked by:
Old 02-14-2018, 08:17 PM   #47
dbeachy1
O-F Administrator
 
dbeachy1's Avatar


Default

Hmm, if it's not the vessel class name itself, it could indeed be something related to how the vessel defines its thrusters. Is there any way you could zip up the scenario + vessel binaries + .cfg files and attach them to a post so I can try to reproduce the CTD here tonight?
dbeachy1 is offline  
Old 02-14-2018, 08:25 PM   #48
Urwumpe
Certain Super User
 
Urwumpe's Avatar

Default

Well there is nothing too fishy, the thrusters are mostly boilerplate right now.

Code:
void GEMINI::ConfigureACMEGroups(bool OAMS, bool sysA, bool sysB)
	{
		THRUSTER_HANDLE thT[6];
		int a = 0;

		//PITCH UP
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS25[4];	//THRUSTER 5
			thT[a++] = thOAMS25[5]; //THRUSTER 6
		}
		if (sysA) {
			thT[a++] = thRCS_A[4];	//THRUSTER 5
			thT[a++] = thRCS_A[5];	//THRUSTER 6
		}
		if (sysB) {
			thT[a++] = thRCS_B[4];	//THRUSTER 5
			thT[a++] = thRCS_B[5];	//THRUSTER 6
		}

		if (a > 0)
			CreateThrusterGroup(thT, a, THGROUP_ATT_PITCHUP);
		else
			DelThrusterGroup(THGROUP_ATT_PITCHUP);

		a = 0;

		//PITCH DOWN
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS25[0];	//THRUSTER 1
			thT[a++] = thOAMS25[1]; //THRUSTER 2
		}
		if (sysA) {
			thT[a++] = thRCS_A[0];	//THRUSTER 1
			thT[a++] = thRCS_A[1];	//THRUSTER 2
		}
		if (sysB) {
			thT[a++] = thRCS_B[0];	//THRUSTER 1
			thT[a++] = thRCS_B[1];	//THRUSTER 2
		}

		if (a > 0)
			CreateThrusterGroup(thT, a, THGROUP_ATT_PITCHDOWN);
		else
			DelThrusterGroup(THGROUP_ATT_PITCHDOWN);

		//YAW RIGHT
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS25[2];	//THRUSTER 3
			thT[a++] = thOAMS25[3]; //THRUSTER 4
		}
		if (sysA) {
			thT[a++] = thRCS_A[2];	//THRUSTER 3
			thT[a++] = thRCS_A[3];	//THRUSTER 4
		}
		if (sysB) {
			thT[a++] = thRCS_B[2];	//THRUSTER 3
			thT[a++] = thRCS_B[3];	//THRUSTER 4
		}

		if (a > 0)
			CreateThrusterGroup(thT, a, THGROUP_ATT_YAWRIGHT);
		else
			DelThrusterGroup(THGROUP_ATT_YAWRIGHT);

		//YAW LEFT
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS25[6];	//THRUSTER 7
			thT[a++] = thOAMS25[7]; //THRUSTER 8
		}
		if (sysA) {
			thT[a++] = thRCS_A[6];	//THRUSTER 7
			thT[a++] = thRCS_A[7];	//THRUSTER 8
		}
		if (sysB) {
			thT[a++] = thRCS_B[6];	//THRUSTER 7
			thT[a++] = thRCS_B[7];	//THRUSTER 8
		}

		if (a > 0)
			CreateThrusterGroup(thT, a, THGROUP_ATT_YAWLEFT);
		else
			DelThrusterGroup(THGROUP_ATT_YAWLEFT);
		//ROLL RIGHT
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS25[2];	//THRUSTER 3
			thT[a++] = thOAMS25[6]; //THRUSTER 7
		}
		if (sysA) {
			thT[a++] = thRCS_A[2];	//THRUSTER 3
			thT[a++] = thRCS_A[6];	//THRUSTER 7
		}
		if (sysB) {
			thT[a++] = thRCS_B[2];	//THRUSTER 3
			thT[a++] = thRCS_B[6];	//THRUSTER 7
		}

		if (a > 0)
			CreateThrusterGroup(thT, a, THGROUP_ATT_BANKRIGHT);
		else
			DelThrusterGroup(THGROUP_ATT_BANKRIGHT);

		//ROLL LEFT
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS25[3];	//THRUSTER 4
			thT[a++] = thOAMS25[7]; //THRUSTER 8
		}
		if (sysA) {
			thT[a++] = thRCS_A[3];	//THRUSTER 4
			thT[a++] = thRCS_A[7];	//THRUSTER 8
		}
		if (sysB) {
			thT[a++] = thRCS_B[3];	//THRUSTER 4
			thT[a++] = thRCS_B[7];	//THRUSTER 8
		}
		if (a > 0)
			CreateThrusterGroup(thT, a, THGROUP_ATT_BANKLEFT);
		else
			DelThrusterGroup(THGROUP_ATT_BANKLEFT);

		//FORWARD
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS100[0];	//THRUSTER 9
			thT[a++] = thOAMS100[1];    //THRUSTER 10
		}

		if (a > 0)
		{
			CreateThrusterGroup(thT, a, THGROUP_ATT_FORWARD);
			CreateThrusterGroup(thT, a, THGROUP_MAIN);
		}
		else 
		{
			DelThrusterGroup(THGROUP_ATT_FORWARD);
			DelThrusterGroup(THGROUP_MAIN);
		}

		//AFT
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS85[0];	//THRUSTER 11
			thT[a++] = thOAMS85[1];    //THRUSTER 12
		}

		if (a > 0)
		{
			CreateThrusterGroup(thT, a, THGROUP_ATT_BACK);
			CreateThrusterGroup(thT, a, THGROUP_RETRO);
		}
		else
		{
			DelThrusterGroup(THGROUP_ATT_BACK);
			DelThrusterGroup(THGROUP_RETRO);
		}

		//RIGHT
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS100[2];	//THRUSTER 13
		}

		if (a > 0)
		{
			CreateThrusterGroup(thT, a, THGROUP_ATT_RIGHT);
			
		}
		else
		{
			DelThrusterGroup(THGROUP_ATT_RIGHT);
		}

		//LEFT
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS100[3];	//THRUSTER 14
		}

		if (a > 0)
		{
			CreateThrusterGroup(thT, a, THGROUP_ATT_LEFT);

		}
		else
		{
			DelThrusterGroup(THGROUP_ATT_LEFT);
		}

		//UP
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS100[4];	//THRUSTER 15
		}

		if (a > 0)
		{
			CreateThrusterGroup(thT, a, THGROUP_ATT_UP);

		}
		else
		{
			DelThrusterGroup(THGROUP_ATT_UP);
		}

		//DOWN
		a = 0;
		if (OAMS && EquipmentSectionAvailable())
		{
			thT[a++] = thOAMS100[5];	//THRUSTER 16
		}

		if (a > 0)
		{
			CreateThrusterGroup(thT, a, THGROUP_ATT_DOWN);

		}
		else
		{
			DelThrusterGroup(THGROUP_ATT_DOWN);
		}
	}

	void GEMINI::CreateOAMSThrusters()
	{
		thOAMS25[0] = CreateThruster(OAMS_THRUSTER1_POS + COG_OFFSET_FULL, OAMS_THRUSTER1_DIR, OAMS25_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS25[1] = CreateThruster(OAMS_THRUSTER2_POS + COG_OFFSET_FULL, OAMS_THRUSTER2_DIR, OAMS25_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS25[2] = CreateThruster(OAMS_THRUSTER3_POS + COG_OFFSET_FULL, OAMS_THRUSTER3_DIR, OAMS25_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS25[3] = CreateThruster(OAMS_THRUSTER4_POS + COG_OFFSET_FULL, OAMS_THRUSTER4_DIR, OAMS25_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS25[4] = CreateThruster(OAMS_THRUSTER5_POS + COG_OFFSET_FULL, OAMS_THRUSTER5_DIR, OAMS25_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS25[5] = CreateThruster(OAMS_THRUSTER6_POS + COG_OFFSET_FULL, OAMS_THRUSTER6_DIR, OAMS25_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS25[6] = CreateThruster(OAMS_THRUSTER7_POS + COG_OFFSET_FULL, OAMS_THRUSTER7_DIR, OAMS25_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS25[7] = CreateThruster(OAMS_THRUSTER8_POS + COG_OFFSET_FULL, OAMS_THRUSTER8_DIR, OAMS25_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);

		thOAMS100[0] = CreateThruster(OAMS_THRUSTER9_POS + COG_OFFSET_FULL, OAMS_THRUSTER9_DIR, OAMS100_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS100[1] = CreateThruster(OAMS_THRUSTER10_POS + COG_OFFSET_FULL, OAMS_THRUSTER10_DIR, OAMS100_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS85[0] = CreateThruster(OAMS_THRUSTER11_POS + COG_OFFSET_FULL, OAMS_THRUSTER11_DIR, OAMS85_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS85[1] = CreateThruster(OAMS_THRUSTER12_POS + COG_OFFSET_FULL, OAMS_THRUSTER12_DIR, OAMS85_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);

		thOAMS100[2] = CreateThruster(OAMS_THRUSTER13_POS + COG_OFFSET_FULL, OAMS_THRUSTER13_DIR, OAMS100_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS100[3] = CreateThruster(OAMS_THRUSTER14_POS + COG_OFFSET_FULL, OAMS_THRUSTER14_DIR, OAMS100_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS100[4] = CreateThruster(OAMS_THRUSTER15_POS + COG_OFFSET_FULL, OAMS_THRUSTER15_DIR, OAMS100_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);
		thOAMS100[5] = CreateThruster(OAMS_THRUSTER16_POS + COG_OFFSET_FULL, OAMS_THRUSTER16_DIR, OAMS100_THRUST, phOAMS, RCS_ISP0, RCS_ISPSL);

		for (int i = 0; i < 8; ++i)
		{
			AddExhaust(thOAMS25[i], 1.5, 0.1);
		}

		for (int i = 0; i < 2; ++i)
		{
			AddExhaust(thOAMS85[i], 2.5, 0.2);
		}

		for (int i = 0; i < 6; ++i)
		{
			AddExhaust(thOAMS100[i], 3, 0.25);
		}

		SetDefaultPropellantResource(phOAMS);
	}

	void GEMINI::CreateRCSThrustersA()
	{
		thRCS_A[0] = CreateThruster(THRUSTER1_POS + OFFSET_SYSTEM_A + COG_OFFSET_FULL, THRUSTER1_DIR, RCS_THRUST, phRCS_A, RCS_ISP0, RCS_ISPSL);
		thRCS_A[1] = CreateThruster(THRUSTER2_POS + OFFSET_SYSTEM_A + COG_OFFSET_FULL, THRUSTER2_DIR, RCS_THRUST, phRCS_A, RCS_ISP0, RCS_ISPSL);
		thRCS_A[2] = CreateThruster(THRUSTER3_POS + OFFSET_SYSTEM_A + COG_OFFSET_FULL, THRUSTER3_DIR, RCS_THRUST, phRCS_A, RCS_ISP0, RCS_ISPSL);
		thRCS_A[3] = CreateThruster(THRUSTER4_POS + OFFSET_SYSTEM_A + COG_OFFSET_FULL, THRUSTER4_DIR, RCS_THRUST, phRCS_A, RCS_ISP0, RCS_ISPSL);
		thRCS_A[4] = CreateThruster(THRUSTER5_POS + OFFSET_SYSTEM_A + COG_OFFSET_FULL, THRUSTER5_DIR, RCS_THRUST, phRCS_A, RCS_ISP0, RCS_ISPSL);
		thRCS_A[5] = CreateThruster(THRUSTER6_POS + OFFSET_SYSTEM_A + COG_OFFSET_FULL, THRUSTER6_DIR, RCS_THRUST, phRCS_A, RCS_ISP0, RCS_ISPSL);
		thRCS_A[6] = CreateThruster(THRUSTER7_POS + OFFSET_SYSTEM_A + COG_OFFSET_FULL, THRUSTER7_DIR, RCS_THRUST, phRCS_A, RCS_ISP0, RCS_ISPSL);
		thRCS_A[7] = CreateThruster(THRUSTER8_POS + OFFSET_SYSTEM_A + COG_OFFSET_FULL, THRUSTER8_DIR, RCS_THRUST, phRCS_A, RCS_ISP0, RCS_ISPSL);

		for (int i = 0; i < 8; ++i) 
		{
			AddExhaust(thRCS_A[i], 1.5, 0.1);
		}
	}

	void GEMINI::CreateRCSThrustersB()
	{
		thRCS_B[0] = CreateThruster(THRUSTER1_POS + OFFSET_SYSTEM_B + COG_OFFSET_FULL, THRUSTER1_DIR, RCS_THRUST, phRCS_B, RCS_ISP0, RCS_ISPSL);
		thRCS_B[1] = CreateThruster(THRUSTER2_POS + OFFSET_SYSTEM_B + COG_OFFSET_FULL, THRUSTER2_DIR, RCS_THRUST, phRCS_B, RCS_ISP0, RCS_ISPSL);
		thRCS_B[2] = CreateThruster(THRUSTER3_POS + OFFSET_SYSTEM_B + COG_OFFSET_FULL, THRUSTER3_DIR, RCS_THRUST, phRCS_B, RCS_ISP0, RCS_ISPSL);
		thRCS_B[3] = CreateThruster(THRUSTER4_POS + OFFSET_SYSTEM_B + COG_OFFSET_FULL, THRUSTER4_DIR, RCS_THRUST, phRCS_B, RCS_ISP0, RCS_ISPSL);
		thRCS_B[4] = CreateThruster(THRUSTER5_POS + OFFSET_SYSTEM_B + COG_OFFSET_FULL, THRUSTER5_DIR, RCS_THRUST, phRCS_B, RCS_ISP0, RCS_ISPSL);
		thRCS_B[5] = CreateThruster(THRUSTER6_POS + OFFSET_SYSTEM_B + COG_OFFSET_FULL, THRUSTER6_DIR, RCS_THRUST, phRCS_B, RCS_ISP0, RCS_ISPSL);
		thRCS_B[6] = CreateThruster(THRUSTER7_POS + OFFSET_SYSTEM_B + COG_OFFSET_FULL, THRUSTER7_DIR, RCS_THRUST, phRCS_B, RCS_ISP0, RCS_ISPSL);
		thRCS_B[7] = CreateThruster(THRUSTER8_POS + OFFSET_SYSTEM_B + COG_OFFSET_FULL, THRUSTER8_DIR, RCS_THRUST, phRCS_B, RCS_ISP0, RCS_ISPSL);

		for (int i = 0; i < 8; ++i)
		{
			AddExhaust(thRCS_B[i], 1.5, 0.1);
		}
	}
Urwumpe is offline  
Old 02-14-2018, 08:38 PM   #49
dbeachy1
O-F Administrator
 
dbeachy1's Avatar


Default

If you can't send the binaries, one thing you could try is commenting out different thruster definitions until it doesn't crash -- it might narrow it down. Also, you could set EnableVerboseLogging = 1 in your XRSound.cfg so XRSound will log exactly what vessel is doing what -- it may give us a clue.

You can also try commenting out animations, if any. XRSound tracks those as well in order to play sounds for them (if configured to do so via its XRSound-<vessel class>.cfg file).
dbeachy1 is offline  
Old 02-14-2018, 08:39 PM   #50
Urwumpe
Certain Super User
 
Urwumpe's Avatar

Default

What might be interesting there: In the first timestep, the thrustergroups are configured according to the attached sections of the spacecraft:

Code:
void GEMINI::clbkPreStep(double fSimT, double fDeltaT, double fMJD)
	{
		if (bFirstSimulationPass)
		{
			UpdateMasses();
			ConfigureACMEGroups(bEnableOAMS, RCSAEnabled(), RCSBEnabled());
			bFirstSimulationPass = false;
		}
		subsystems.PreStep(fSimT, fDeltaT, fMJD);
EDIT: And for packaging the binaries, there is the tiny problem that I did not even think about packaging yet. I still use assets of another add-on as placeholders, thus I am currently far away from any release. I'll try getting something done the manual way but it takes some time.

Last edited by Urwumpe; 02-14-2018 at 08:43 PM.
Urwumpe is offline  
Thanked by:
Old 02-14-2018, 08:51 PM   #51
dbeachy1
O-F Administrator
 
dbeachy1's Avatar


Default

Well, you are welcome to just zip up your entire Orbiter folder, minus scenery files, and FTP them up to my Web site -- I could send you a login.

Thanks for your help on this, I really want to track this down!

EDIT:
Just sent you a PM with SFTP login credentials.

Last edited by dbeachy1; 02-14-2018 at 08:59 PM. Reason: Added note
dbeachy1 is offline  
Old 02-14-2018, 10:13 PM   #52
Urwumpe
Certain Super User
 
Urwumpe's Avatar

Default

Quote:
Originally Posted by dbeachy1 View Post
 Well, you are welcome to just zip up your entire Orbiter folder, minus scenery files, and FTP them up to my Web site -- I could send you a login.

Thanks for your help on this, I really want to track this down!
Lets try something more efficient, its the 6 GB one.

I just write a file list for packing everything related into a ZIP.

---------- Post added at 23:13 ---------- Previous post was at 22:04 ----------

There should be an upload now, please consider it a "destroy after reading" situation. Its not meant for public distribution.
Urwumpe is offline  
Thanked by:
Old 02-14-2018, 11:11 PM   #53
dbeachy1
O-F Administrator
 
dbeachy1's Avatar


Default

Quote:
Originally Posted by Urwumpe View Post
  Lets try something more efficient, its the 6 GB one.

I just write a file list for packing everything related into a ZIP.

---------- Post added at 23:13 ---------- Previous post was at 22:04 ----------

There should be an upload now, please consider it a "destroy after reading" situation. Its not meant for public distribution.
Thanks! I downloaded the zip and I'm digging into this now.

EDIT:
Thanks to the files Urwumpe uploaded, I was able to find and fix the crash. The problem turned out to quite simple: the code in XRSound that handles docking callouts and radar beeps needs to track the distance from a given vessel's docking port to the docking port its NAV radio is tuned to (e.g,. the ISS's docking port). However, if the source vessel doesn't have a docking port defined, the Orbiter core (correctly) returns NULL for that, and that is something XRSound didn't check for since that code is based on the existing code in the XR vessels, and all XR vessels have docking ports. The fix was to check for NULL there.

@Urwumpe -- I sent you a PM with a download link for a pre-release of BETA-3 to try out. I also deleted all the files you uploaded, as you requested.

Last edited by dbeachy1; 02-15-2018 at 12:10 AM. Reason: Fixed the crash.
dbeachy1 is offline  
Old 02-15-2018, 09:01 AM   #54
Urwumpe
Certain Super User
 
Urwumpe's Avatar

Default

Thank you

Problem is solved, time for creating newer better bugs.
Urwumpe is offline  
Thanked by:
Old 02-16-2018, 04:14 AM   #55
dbeachy1
O-F Administrator
 
dbeachy1's Avatar


Default

I just uploaded XRSound BETA-3 -- same download links. I also uploaded BETA-3 versions of the XR vessels; however, you do not need to udpate those unless you want to view the newly updated XR Flight Operations Manual, since that was the only change to their download packages. The BETA-2 XR vessel versions did not have a flight manual included because the flight manual still contained references to UMMu and OrbiterSound.

XRSound 1.00 BETA-3 release notes:
  • Fixed CTD if a vessel does not define a docking port (special thanks to Urwumpe for uploading a zip package to help me track this down).
  • Implemented vessel-independent music playback from a folder with any number of files; has these new settings in XRSound.cfg:
    Code:
    [SYSTEM]
    #--------------------------------------------------------------------------
    # Global music settings.  Sound files in the specified music folder may be 
    # played back at random or sequentially.  Unlike other sounds and sound 
    # groups, music sounds play independently of any vessel, *except that* 
    # the active vessel determines whether the music keeps playing or
    # is paused at any given instant.  See the MusicPlayInternal and 
    # MusicPlayExternal settings in the [SOUND_FILES] section later in
    # this file for details.
    #
    # Sound ID = 10003
    #
    # A lossless version of 'Solar Serenity' by Grzegorz Lorens (Loru on Orbiter-Forum) is
    # available at https://loru.bandcamp.com/track/solar-serenity
    #
    # Defaults:
    #   MusicFolder = XRSound\Default\Music (which contains Solar Serenity.ogg). [none = disable music; e.g., MusicFolder = none]
    #   MusicVolume = 1.0    [range is between 0 (muted) and 1.0 (max)]
    #   MusicOrder = random  [may be sequential or random]
    #--------------------------------------------------------------------------
    MusicFolder = XRSound\Default\Music
    MusicVolume = 1.0
    MusicOrder = random
    
    [SOUND_FILES]
    #--------------------------------------------------------------------------
    # Vessel-specific music settings; by default, plays only in external view in space (vacuum).
    # Refer the global (i.e., vessel-independent) music settings above in the [SYSTEM] section
    # for more information.
    #
    # Defaults:
    #   MusicPlayInternal = off   [sets whether music plays in internal view; values are off (default), space, or on]
    #   MusicPlayExternal = space [sets whether music plays in external view; values are off, space (default), or on]
    #--------------------------------------------------------------------------
    MusicPlayInternal = off
    MusicPlayExternal = space
  • Updated the XR Flight Operations Manual for XRSound and removed UMMU references.
  • Tweaked XRSound and XR vessel license terms to clarify that only for-profit commercial use without written authorization is prohibited.
  • Updated irrKlang Pro sound engine to the newly released 1.6.0 version.
  • Updated XRSound startup to write the irrKlang version to XRSound.log.
  • Added code to convert any illegal filename characters in a vessel's Orbiter class name (e.g., "/") to underscores when looking up that vessel's XRSound-<vessel classname>.cfg file. e.g., a vessel with class "Foo/BAR" as its class name would use "XRSound-Foo_BAR.cfg" as its override filename.
  • Wrote the initial version of the XRSound User Manual.pdf.

Please let me know if you have any problems with it, particularly with the new MusicFolder support. As always, thanks so much for your help beta-testing!

P.S. @Woo482 and @Xyon: I pushed the XRSound BETA-3 source up to my server; same download link and password as before. Please download it and save it as a backup when you have a chance. Thanks.
dbeachy1 is offline  
Old 02-16-2018, 03:10 PM   #56
Abloheet
Addon Developer
 
Abloheet's Avatar
Default

Woohoo! Much thanks for this fantastic sound library. Now Orbiter 2016 should become more popular than 2010. This project is the catalyst which will lead to the creation of newer and cooler replacements for some closed libraries
Abloheet is offline  
Thanked by:
Old 02-16-2018, 06:48 PM   #57
kuddel
Donator
Default Small issues / question

Hi Douglas,

thanks for the updated version of XRSound.

I've two things to mention:
  1. XRSound appears under "Miscellaneous", but I think it would be more fitting if it would appear under "Sound module for Orbiter" (like OrbiterSound did/does). See attached image.
  2. I can't find the .cfg option to disable "Silence of Space"[TM]
    Is this option missing, or just not (yet) documented in the XRSound.cfg file?
    I mean I like to hear the RCS & Mains in Space. ATC & RCS-Mode- Announcements do work in external view however.
  3. Is it possible to overwrite a vessel-specific sound-event with "no sound"?
    For example when landing Atlantis, the "Warning Gear is Up" annotation does not feel right We have to deploy it that late.
    Alternatively a config parameter like WarningGearIsUpAltitude could also work (that could be set to 0)
Attached Thumbnails
Addon-Group.png  

Last edited by kuddel; 02-16-2018 at 07:52 PM.
kuddel is offline  
Old 02-16-2018, 08:58 PM   #58
kuddel
Donator
Default Twin Sonic Boom

Hi (again) Douglas,

while fiddling around with BETA3 of XRSound I found myself switching the default Sonic Boom for Atlantis

Attached are my changes.
I know that usually a 3rd party developer should not put their custom sounds under the XRSound/Default folder...
but hey, maybe this Twin Sonic Boom might end up in your distribution I claim no copyright for this, so it's free to be used by anyone.

The sound is, by the way actually Atlantis! (STS-122, February 20. 2008).

I've also included the -1 dB normalized version, so it's up to you to tweak it to your "level" (mine is intentionally clipped to let it feel "louder")
Attached Files
File Type: zip XRSound-AtlantisPatches.zip (114.9 KB, 6 views)
kuddel is offline  
Thanked by:
Old 02-16-2018, 09:52 PM   #59
francisdrake
Addon Developer
Default

This is an excellent project! Very professional!

Some minor remarks:

- When an autopilot is engaged, the attitude thruster sound plays continously, although the thrusters only fire from time to time, after the initial attitude has been reached.

- Can thruster sounds also play in outboard view?
I know this is not real in vaccum, but I am spoiled by movie sound effects.

- Could someone make a dll or so to mimic Orbitersounds "Disable autopilots above 10x time acceleration?" This is surely no sound config, but I used this option forever and was wondering what happens to my vessel at higher time acceleration, before I realized I was missing this setting.
francisdrake is offline  
Old 02-16-2018, 10:14 PM   #60
Ripley
Tutorial translator
 
Ripley's Avatar
Default

Quote:
Originally Posted by francisdrake View Post
 Could someone make a dll or so to mimic Orbitersounds "Disable autopilots above 10x time acceleration?"
There is already another addon doing this... Let me dig it out...

---------- Post added at 22:14 ---------- Previous post was at 22:09 ----------

There you go. Hope it works with O2016:
Autotime
Ripley is offline  
Closed Thread

  Orbiter-Forum > Orbiter Addons > Addon Development

Tags
beta, xr1, xr2, xr5, xrsound


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 05:10 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.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.