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, 03:16 PM   #27
jwilliams
Ace of the Deep
 
Join Date: Nov 2009
Location: New Zealand
Posts: 1,013
Downloads: 124
Uploads: 0
Default

Quote:
Originally Posted by MiTon View Post
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 ...


Will fix it asap!
It isn't always 0.

Using SHSpeechEngine test ap.
Quote:
rudder 5 degrees to starboard: Set_rudder, param1=5, param2=0
rudder 5 degrees to port: Set_rudder, param1=5, param2=1
So when you say port param2 is 1.
And when you say starboard param2 is 0

Quote:
# if param2 is 0, then 'starboard' was said instead of 'port', so we invert the number of degrees.
If param2 == 0 :param1 *= -1
I've been using the .py file modded as I pointed out for over a month (from the previous release of your mod) without problem. Works as intended.
__________________
Windows 7, 64bit. Phenom II 965BE (OC 4cores @ 3.8 Ghz).
Radeon HD4870 (1gb gddr5). 6gb Ram.

Last edited by jwilliams; 04-14-11 at 03:34 PM.
jwilliams 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 12:20 AM.


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