SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Voice Recognition for SH5 (https://www.subsim.com/radioroom/showthread.php?t=164926)

Ross59 05-01-10 07:52 PM

Thats sort of where I was hopping to head to. Your two mods together are awesome and I am trying to implement FreetrackIR as well. You guys just make this game so much more enjoyable Thanks. :up:

skwasjer 05-01-10 09:03 PM

Quote:

Originally Posted by Ross59 (Post 1379645)
Excellant mod skwasjer thanks. is there a list of all the in game commands available some where so as to be able to customise the xml files. I would like to be able to "teleport"between various stations as you could in SH3 with something like "goto observation periscope". this command was handy in Shoot1.3.
:salute:

Look in the documentation folder.

I am limited in time to improve the mod right now, but will continue to work on it when I can.

Regards, skwas

Ross59 05-03-10 02:54 AM

Thanks skwasjer found it

M4XDmG 05-13-10 05:25 PM

Rudder controls with patch 1.2
 
This mod works with patch 1.2, except the rudder controls. When you say ie. set "Rudder 5 degrees to port", you get actually 25 degrees to port. Apparently the patch changed something with the rudder.
I'm absolutelly not a modder, but tried to find a way to fix this and against all odds I did find a solution. I decided to share this to other users while waiting a next update to this great mod. (This mod and Darkwraiths UI are the main reasons why I like this game so much)

Go to Speech Recognition 1.4/Data/Scripts/Menu
Open Speech Recognition.py

Find this line: param1 /= Menu.GuiDials.mps_kt / 10
Change number 10 to 2

And you're done! With simple math I figured that somehow degrees are multiplied with 5. So dividing that 10 with 5 would propably give me the proper value for rudder and it did.

icecold 05-13-10 08:05 PM

I would like to see this mod completly compatable with reapers UI realism mod. The two combined would create untold realism.

They work together fine as it is, only with one draw back, you lose a tdc panel due to a conflict.

The General 05-14-10 04:38 AM

Quote:

Originally Posted by M4XDmG (Post 1391581)
This mod works with patch 1.2, except the rudder controls. When you say ie. set "Rudder 5 degrees to port", you get actually 25 degrees to port. Apparently the patch changed something with the rudder.
I'm absolutelly not a modder, but tried to find a way to fix this and against all odds I did find a solution. I decided to share this to other users while waiting a next update to this great mod. (This mod and Darkwraiths UI are the main reasons why I like this game so much)

Go to Speech Recognition 1.4/Data/Scripts/Menu
Open Speech Recognition.py

Find this line: param1 /= Menu.GuiDials.mps_kt / 10
Change number 10 to 2

And you're done! With simple math I figured that somehow degrees are multiplied with 5. So dividing that 10 with 5 would propably give me the proper value for rudder and it did.

Thank you so much for this information M4x :up: Have you noticed that pressing F5 (Man the deck-gun) initiates surfacing the Boat?

M4XDmG 05-14-10 05:27 AM

No problem, glad I could help! I've actually never tried F5 with patch 1.2, I use voice command for manning the deck gun. As far as I can tell, it works properly. I've read that F5 actually man's the deck gun AND calls "Surface the boat" order, though if you order to man the deck gun I think you are already surfaced... :DL I have no idea why the patch changed that command the way it is now.

skwasjer 05-14-10 07:01 AM

Thanks for the info! A bit surprising though...

The only reason you may lose some UI functionality is due to the menu_xx.ini file. You could make it easily compatible with other mods (or patch 1.2) by using that ini-file and add the speech-page to it. The rest of this mod should not conflict. I will try to release a patch 1.2 compatible version asap. I still have some work left on this mod too regarding German speech. Sorry for the delay!

siebr00 05-14-10 07:52 AM

HowTo
 
[QUOTE=7Infanterie19]

I've added all my time compression keywords between 64 and 2048 using your <commandText param1= and it works great.
I've added the Crew, Systems and Weapons Management on my own

-----

Hi 7Infanterie19 & Skwasjer,

Is there somewhere an How-To to extend the recognized commands? I would love to add things like the time compression etc.

Thanks.

TwistedAdonis 05-15-10 07:25 AM

I always have trouble getting this to work with the new TDC UI iterations from Darkwraith.

I got the last few versions working, but no joy with 2.2.2.

I can't work out what to change in Winmerge. Anyone got it working? If so, how?


Cheers.

M4XDmG 05-15-10 07:53 AM

Quote:

Originally Posted by TwistedAdonis (Post 1393342)
I always have trouble getting this to work with the new TDC UI iterations from Darkwraith.

I got the last few versions working, but no joy with 2.2.2.

I can't work out what to change in Winmerge. Anyone got it working? If so, how?


Cheers.

I have never used winmerge. I just:

copied the line 89=6F;Speech Recognition from the Speech recognition 1.4/Data/Menu/Pages/menu_1024_768.ini

Pasted it to Darkwraith mods menu_1024_768.ini file, to the end of the list. Changed the pasted line's group number 89 to the next free one, which is 92

And changed line GroupNo=91 to GroupNo=92, saved the file

Deleted menu_1024_768.ini from speech recognition 1.4 and added speech recognition mod with JSGME after the darkwraiths UI mods.

Works!

TwistedAdonis 05-15-10 08:50 AM

Quote:

Originally Posted by M4XDmG (Post 1393372)
Works!

Yes it does.

I had to reinstall fresh copies of the mods because I had modified the old ones earlier. That, with your instructions, sorted it out.

Thanks man.

I can't play the game without this mod. It roolz.

M4XDmG 05-15-10 01:20 PM

No prob. This mod truly is awesome!

Zedi 05-16-10 01:47 AM

Is any chance to be ported on win xp os's too?

skwasjer 05-19-10 06:39 PM

Quote:

Originally Posted by siebr00 (Post 1392215)
Hi 7Infanterie19 & Skwasjer,

Is there somewhere an How-To to extend the recognized commands? I would love to add things like the time compression etc.

Thanks.

There's no how-to from me. But it is not hard either. Open up the grammar and commands file both in a text editor (notepad), and check how the current time compression related commands are defined. Otherwise perhaps 7Infanterie19 could post the changes he made.


All times are GMT -5. The time now is 09:43 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.