SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-14-11, 12:45 AM   #26
MiTon
Sparky
 
Join Date: Apr 2010
Location: Germany
Posts: 157
Downloads: 270
Uploads: 2
Default

Quote:
Originally Posted by jwilliams View Post
I also had problems with any course starting with 2 hundred.

It take a little getting used to but you have to say two twice.
Once for the word TO and again for TWO.

E.G.
"set new course two two four three"

The speech rec. still get it wrong and take a few tries, but it mostly gets it right now.



@ MiTon

The starboard and port are the wrong way.

I ask for 5 degrees to port and it comes up with 5 degrees to starboard.

It's an easy fix in the Speech Recognition.py file. Just though I point it out so it can be fixed in future releases.

Line 122


Just change the 1 (highlighted yellow) to a 0.


You should not change this, if you do, the script can't know if port or starbord is selected, it takes param2 to decide this. And if it's always 0 ...

If it's wrong change the SHSpeech_Commands.xml

Code:
<order><!-- set rudder x degrees to port -->
            ...
            
            <commandText param2="1">Set_rudder</commandText>

to

Code:
<order><!-- set rudder x degrees to port -->
            ...
            
            <commandText>Set_rudder</commandText>
and

Code:
<order><!-- set rudder x degrees to starboard -->
           ...
            <commandText>Set_rudder</commandText>
        </order>
to

Code:
<order><!-- set rudder x degrees to starboard -->
           ...
            <commandText param2="1">Set_rudder</commandText>
        </order>

Will fix it asap!

Last edited by MiTon; 04-14-11 at 02:11 AM.
MiTon is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.