View Issue Details

IDProjectCategoryView StatusLast Update
0002531FSSCPsoundpublic2011-10-29 03:07
ReporterEli2 Assigned ToEli2  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version3.6.14 
Summary0002531: Issues with cockpit sounds
Descriptionhttp://www.hard-light.net/forums/index.php?topic=78778.0

Kolgena:
This build has an issue with cockpit sounds. When you hit backspace (stop throttle), the sound effect that plays is the one for maxing out the throttle (slash).
TagsNo tags attached.

Activities

2011-10-28 22:39

 

CustomizableCockpitSoundsFix.svn.patch (1,819 bytes)   
Index: code/playerman/playercontrol.cpp
===================================================================
--- code/playerman/playercontrol.cpp	(Revision 7934)
+++ code/playerman/playercontrol.cpp	(Arbeitskopie)
@@ -552,7 +552,7 @@
 			control_used(ZERO_THROTTLE);
 			player_clear_speed_matching();
 			if ( ci->forward_cruise_percent > 0.0f && Player_obj->phys_info.fspeed > 0.5) {
-				snd_play( &Snds[ship_get_sound(Player_obj, SND_FULL_THROTTLE)], 0.0f );
+				snd_play( &Snds[ship_get_sound(Player_obj, SND_ZERO_THROTTLE)], 0.0f );
 			}
 
 			ci->forward_cruise_percent = 0.0f;
Index: code/ship/ship.cpp
===================================================================
--- code/ship/ship.cpp	(Revision 7934)
+++ code/ship/ship.cpp	(Arbeitskopie)
@@ -1161,11 +1161,11 @@
 {
 	parse_ship_sound("$CockpitEngineSnd:",                SND_ENGINE, sip);
 	parse_ship_sound("$FullThrottleSnd:",                 SND_FULL_THROTTLE, sip);
-	parse_ship_sound("$FullThrottleSnd:",                 SND_ZERO_THROTTLE, sip);
+	parse_ship_sound("$ZeroThrottleSnd:",                 SND_ZERO_THROTTLE, sip);
 	parse_ship_sound("$ThrottleUpSnd:",                   SND_THROTTLE_UP, sip);
 	parse_ship_sound("$ThrottleDownSnd:",                 SND_THROTTLE_DOWN, sip);
-	parse_ship_sound("$AfterburnerSnd:",                  SND_ABURN_ENGAGE, sip);
-	parse_ship_sound("$AfterburnerEngageSnd:",            SND_ABURN_LOOP, sip);
+	parse_ship_sound("$AfterburnerSnd:",                  SND_ABURN_LOOP, sip);
+	parse_ship_sound("$AfterburnerEngageSnd:",            SND_ABURN_ENGAGE, sip);
 	parse_ship_sound("$AfterburnerFailedSnd:",            SND_ABURN_FAIL, sip);
 	parse_ship_sound("$MissileTrackingSnd:",              SND_MISSILE_TRACKING, sip);
 	parse_ship_sound("$MissileLockedSnd:",                SND_MISSILE_LOCK, sip);

Eli2

2011-10-28 22:39

developer   ~0012906

Attached fix

Echelon9

2011-10-29 03:07

developer   ~0012907

Fixed in http://svn.icculus.org/fs2open?view=rev&revision=7935

Issue History

Date Modified Username Field Change
2011-10-28 22:38 Eli2 New Issue
2011-10-28 22:38 Eli2 Issue generated from: 0002530
2011-10-28 22:39 Eli2 File Added: CustomizableCockpitSoundsFix.svn.patch
2011-10-28 22:39 Eli2 Note Added: 0012906
2011-10-29 03:07 Echelon9 Status new => assigned
2011-10-29 03:07 Echelon9 Assigned To => Eli2
2011-10-29 03:07 Echelon9 Note Added: 0012907
2011-10-29 03:07 Echelon9 Status assigned => resolved
2011-10-29 03:07 Echelon9 Fixed in Version => 3.6.14
2011-10-29 03:07 Echelon9 Resolution open => fixed