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 03-07-10, 08:15 PM   #1
martes86
Grey Wolf
 
Join Date: Jun 2004
Location: The Colourful Seville - Spain
Posts: 971
Downloads: 18
Uploads: 0
Default [TEC] Adding independent engines control

Hi there,

I've been trying stuff, but it seems like I'm barking at the wrong tree.
First off, I tried adding a new command in Commands.cfg
Then, added the corresponding string in Silent Hunter 5\data\LngGameData\Texts\Spanish\Data\Menu\menu.tx t
Also added a new action to the VIIA file crew_commands.txt. Said action was a copy of the ahead_slow action, and seeming how it called both STB and PT engine "humans", it seemed like the right choice to call just one of them to have only one engine affected, as the set_speed.aix file contains "strategies" for both engines, but I don't really know if it's really being called there, or if it's just to make the crew models do animation stuff.
I've also tried modifying the existing action for the regular ahead_slow command, but doesn't work either.

Anyone having any success on this?

Modifications follow:

Commands.cfg
[Commands]
CommandsNb=601

[...]

[Cmd2401]
Name=Starboard_ahead_slow
Contexts=1
StringID=24001
;Key0=0x31,Cs,"Shift+1"
Key0=0x30,Cs,"Shift+0"
HasDelayedExecution=Yes
CommandClass=Speed
Sound_0=ELO_Helm,MC_CR_CHIEF_13
-------------------------------------------------------------------

Menu.txt (spanish version)
24001=Estribor avante muy despacio

-------------------------------------------------------------------

crew_commands.txt (Type VIIA)
Starboard_ahead_slow 1 2 3 ( CR_HELM = ss_helmsman, DER_DE_STB01_A = ss_de_stb, CR_CHIEF = ss_chief_eng )
Ahead_slow 1 2 3 ( CR_HELM = ss_helmsman, DER_DE_PORT01 = ss_de_port, CR_CHIEF = ss_chief_eng )


Cheers
martes86 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 06:50 AM.


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.