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

Reply
 
Thread Tools Display Modes
Old 03-20-12, 12:23 PM   #8656
Dwail
Sailor man
 
Join Date: Sep 2007
Location: Elche, Spain.
Posts: 43
Downloads: 196
Uploads: 0
Default

Quote:
Originally Posted by Dwail View Post
Hi! TheDarkWraith. Could you create this scrip?

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.
Hi! TheDarkWraith, Could you create one script for this?
Dwail is offline   Reply With Quote
Old 03-20-12, 01:00 PM   #8657
Swat
中国水兵
 
Join Date: Mar 2006
Location: Czech Republic Prague
Posts: 286
Downloads: 224
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
.act files are basically dlls so you either open them with hex editor or attach a debugger to the game while running so you can 'see' inside them
And that's beyond my ability I'm afraid. I've managed to fix sh5.exe so the hydrophone is functional again - thank you for the instructions how to do it. But now I'm afraid I have no idea what you're talking about
__________________

First Patrol Of U-21 Part 1:http://www.youtube.com/watch?v=DqBqInzBaGc
First Patrol Of U-21 Part 2:http://www.youtube.com/watch?v=WWqyTaomDjM
Swat is offline   Reply With Quote
Old 03-22-12, 03:16 PM   #8658
quink99
中国水兵
 
Join Date: Jul 2011
Posts: 278
Downloads: 941
Uploads: 0
Default

TDW,

I've noticed that I'm unable to raise time compression above 32 times even when I have the NAV map open. Any suggestions as to what I should do to regain this indispensible function? If you want my MOD list, just let me know.

Thanks
quink99 is offline   Reply With Quote
Old 03-22-12, 09:28 PM   #8659
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by quink99 View Post
TDW,

I've noticed that I'm unable to raise time compression above 32 times even when I have the NAV map open. Any suggestions as to what I should do to regain this indispensible function? If you want my MOD list, just let me know.

Thanks
It's something external to the mod then. You must have edited a cfg file that specifies all the time compression settings or a mod did.
TheDarkWraith is offline   Reply With Quote
Old 03-22-12, 10:06 PM   #8660
quink99
中国水兵
 
Join Date: Jul 2011
Posts: 278
Downloads: 941
Uploads: 0
Default

see next post

Last edited by quink99; 03-22-12 at 10:17 PM.
quink99 is offline   Reply With Quote
Old 03-22-12, 10:15 PM   #8661
quink99
中国水兵
 
Join Date: Jul 2011
Posts: 278
Downloads: 941
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
It's something external to the mod then. You must have edited a cfg file that specifies all the time compression settings or a mod did.
TDW,

Would it be possible to give me directions to this .cfg file and advice as to whether I could open up your NewUIs_TDC_6.9.0 zip, find that same file unaltered, and transfer it into the appropriate folder to overwrite the altered one that is there now? Or will this not work?

Thanks
quink99 is offline   Reply With Quote
Old 03-23-12, 12:12 AM   #8662
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by quink99 View Post
TDW,

Would it be possible to give me directions to this .cfg file and advice as to whether I could open up your NewUIs_TDC_6.9.0 zip, find that same file unaltered, and transfer it into the appropriate folder to overwrite the altered one that is there now? Or will this not work?

Thanks
ask Sober. He knows which file I'm talking about and can probably help you out
TheDarkWraith is offline   Reply With Quote
Old 03-23-12, 02:28 AM   #8663
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Put your dvd in and look at the ini file .
Support/ini/EN/main
Handy to know its there
Paste them to your SH5 save game folder found in my documents .
TimeStop=0
RealTime=1
LandProximity=8,8192
CriticalDamage=1,1024
CrewEfficiency=128
AirEnemyDetected=1,8
SoundEffects=2
CharacterAnim=32
FriendDetected=32,8192
EnemyDetected=8,64
RadioReport=32,8192
Particles=32
PrayState=8,32
HunterState=8,32
3DRender=32
Maximum=8192
THE_MASK is offline   Reply With Quote
Old 03-23-12, 01:12 PM   #8664
quink99
中国水兵
 
Join Date: Jul 2011
Posts: 278
Downloads: 941
Uploads: 0
Default

Quote:
Originally Posted by sober View Post
Put your dvd in and look at the ini file .
Support/ini/EN/main
Handy to know its there
Paste them to your SH5 save game folder found in my documents .
TimeStop=0
RealTime=1
LandProximity=8,8192
CriticalDamage=1,1024
CrewEfficiency=128
AirEnemyDetected=1,8
SoundEffects=2
CharacterAnim=32
FriendDetected=32,8192
EnemyDetected=8,64
RadioReport=32,8192
Particles=32
PrayState=8,32
HunterState=8,32
3DRender=32
Maximum=8192
Thanks Sober,

Although I do not have the DVD version of SH 5, I have the download version from Amazon.com, and was thus unable to access the .ini file you mentioned. I was, however, able to find an identical .cfg file available in my current SH 5>My Documents>data>cfg>main>main.cfg under [TIME COMPRESSION]. Using the values given above I was able to restore it to it's default SH 5 values and I'm now off to test it.

Several months ago I changed these values to match those which are clickable in your signature but I can no longer recall why I was inspired to do that. (It's hell getting old).
quink99 is offline   Reply With Quote
Old 03-24-12, 04:15 PM   #8665
misha1967
Commander
 
Join Date: May 2004
Location: Texas, USA
Posts: 470
Downloads: 78
Uploads: 0
Default

I found an odd thing happening when adding entries to the boat's journal from within the game: I open the journal by pushing the journal button on the top right, then click on add entry, enter whatever babble I think is important and then click "Accept" to add it to the journal. So far, so good.

But what I found is that the added entry has a time stamp exactly one hour later than the time I added it. So if I added it at 16:45 boat time, it will appear in the journal as 17:45 [followed by my entry].

At first I thought it was a "GMT as opposed to local time" issue, so I switched to GMT in the game, but it was still the same.

Not exactly a "huge" issue, but I was wondering if there's a setting somewhere that I either messed up or forgot to enable?
__________________
Ansonsten, Herr Lutter, ist alles in Butter
Liqui-cooled Intel i2550K @ 4.2 GHz, 8 Gb RAM, GTX 970 GPU
misha1967 is offline   Reply With Quote
Old 03-24-12, 06:50 PM   #8666
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by misha1967 View Post
I found an odd thing happening when adding entries to the boat's journal from within the game: I open the journal by pushing the journal button on the top right, then click on add entry, enter whatever babble I think is important and then click "Accept" to add it to the journal. So far, so good.

But what I found is that the added entry has a time stamp exactly one hour later than the time I added it. So if I added it at 16:45 boat time, it will appear in the journal as 17:45 [followed by my entry].

At first I thought it was a "GMT as opposed to local time" issue, so I switched to GMT in the game, but it was still the same.

Not exactly a "huge" issue, but I was wondering if there's a setting somewhere that I either messed up or forgot to enable?
All maritime log entries are always made in GMT time IIRC and that's how I coded this
TheDarkWraith is offline   Reply With Quote
Old 03-24-12, 07:11 PM   #8667
misha1967
Commander
 
Join Date: May 2004
Location: Texas, USA
Posts: 470
Downloads: 78
Uploads: 0
Default

Makes sense, TDW, but it still adds an hour when I switch to GMT by clicking on the digital clock. Should I set the game to start in GMT by default through the options.py file, perhaps? (Also, I'm in the Baltic so it ought to subtract an hour to be in GMT).
__________________
Ansonsten, Herr Lutter, ist alles in Butter
Liqui-cooled Intel i2550K @ 4.2 GHz, 8 Gb RAM, GTX 970 GPU
misha1967 is offline   Reply With Quote
Old 03-24-12, 08:33 PM   #8668
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by misha1967 View Post
Makes sense, TDW, but it still adds an hour when I switch to GMT by clicking on the digital clock. Should I set the game to start in GMT by default through the options.py file, perhaps? (Also, I'm in the Baltic so it ought to subtract an hour to be in GMT).
Sounds like I coded it to record time in local time then. Maybe that's how maritime log entries are made. Actually I think that is how maritime logs are kept because at the start of every day in maritime logs they write how many hours +- GMT they are. Yeah I think this is the correct way and that's how it's coded
TheDarkWraith is offline   Reply With Quote
Old 03-27-12, 05:41 AM   #8669
Morts
Admiral
 
Join Date: Sep 2006
Location: Denmark
Posts: 2,395
Downloads: 23
Uploads: 0
Default

Love how the folder setup doesnt make any sort of sense !
Morts is offline   Reply With Quote
Old 03-27-12, 05:09 PM   #8670
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Ships journal . What happens if i forget to save and then exit then click on save changes to the journal . The changes will be saved to the journal but that play time doesnt exist because i never saved the game . I know it sounds lame but sometimes it might happen .

Also on the save changes to ships journal panel shown here .

Is there a way to enable the boxes to stay checked or unchecked ?
THE_MASK is offline   Reply With Quote
Reply

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 08:55 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.