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-17-12, 11:01 AM   #11
Dwail
Sailor man
 
Join Date: Sep 2007
Location: Elche, Spain.
Posts: 43
Downloads: 196
Uploads: 0
Default

Hi! TheDarkWraith. Could you create this scrip?

Quote:
Originally Posted by Dwail
Hi, Stormfly. Am I another time!!. Sorry if only comment for problems. This is the situation:

In my "commands.cfg" :

**********************************
[Cmd436]
Name=Toggle_battle_stations
Contexts=1
HasDelayedExecution=Yes
Key0=0x42,s,"B" ;(Shift+B)
Sound_0=ELO_Weapon,MC_CR_SO_01_A (sound for activate battle stations)
***********************************

Sound_0=ELO_Weapon,MC_CR_SO_03 *This line add for me, contains the correct sound to deactivate battle stations. But I don't know if is possible incorporate this line to [Cmd436].

I'd like this:

- first push of key (shift+b) for toggle_battle_stations (on)
with Sound_0=ELO_Weapon,MC_CR_SO_01_A

- second push of key (shift+b) for toggle_battle_stations (off)
with Sound_0=ELO_Weapon,MC_CR_SO_03

If possible do it? How?


**************************
yes i was after that long time ago, it is a known problem...

...there is only one command for battlestations which is toggleing it, there are no seperate commands for battlestations on or off.

but there are maybe 1 old and possible 1 new solution after what we have discovered so far:

1. dont use the key at all, use the weapons officer`s dialog menue.

2. connect the keystroke command with a script (as Rubini did for commanding the crew to go up or below the cunning tower), which can check if crew is on battlestions or not, then you can use the script to play the sounds accordingly. (maybe you just need to add a crew script, which have the exact name as the command).

example:
if Wp:Isbattlestations() then or something similar.
Dwail is offline   Reply With Quote
 

Tags
dbrn, favorite, new ui


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 11:02 PM.


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