Remember that the sound are global
so it's your responsibilies to manage the sound
when the user switch from one vessel to another.
Hey now that you are programmer it's time to work

look at: opcFocusChanged to manage this.
So when user "goes" into the hubble you must detect
this in "opcFocusChanged" and set RCS sound off
You must also do the same when the shuttle
gain the focus... ie: detect it in opcFocusChanged
and allow again the RCS.
Look also to "oapiGetObjectName" wich will return
the name of an object given it's handle, so you can
make the test.
something like that: (from memory, it need perhaps some tuning)
DLLCLBK void opcFocusChanged (OBJHANDLE new_focus,OBJHANDLE old_focus)
{
char FocusName[255];
oapiGetObjectName (new_focus,FocusName,255);
// if it's hubble we disable the RCS
if(strcmp(FocusName,"hubble" ) ==0)
{
SoundOptionOnOff(PLAYATTITUDETHRUST,FALSE);
}
else // all other vessel have RCS
{
SoundOptionOnOff(PLAYATTITUDETHRUST,TRUE);
}
}
You want to disable the RCS sound because hubble is controlled
with Gyroscop?
Dan