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 08-31-10, 07:25 PM   #17
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Abd_von_Mumit View Post
When the script is running I press Esc, which drops TC to 1 and switches to first person view. According to game's clock script loop should end/start in, say, 30 more minutes, so I have 30 more minutes to run all around my sub before script switches me back to the map. But the script still runs as if TC was still x128, and interrupts my merry running after 15 seconds instead of 30 minutes.
that's interesting. I've hooked into the game's TC level function to 'trap' that command so anytime TC level is changed I should get notified of it and take appropriate action (high precision timer gets changed - has nothing to do with the script). I'll have to test your script you posted to see what's going on by pressing the ESC key

It's also ok to have an ending 0 for the command instead of 1. That's just the delay before executing the next command. If 0 then it's sets the minimum time for you (is like 0.1 seconds)

EDIT:

valid bug. Bug is not because of me but because game doesn't follow it's own rules.....nice....ok I'll have to figure out why and how to fix it.......

EDIT 2:

found a solution. Luckily I know this game and it's files pretty well......bug fixed. Fix will appear in v4.2.0 which is ready for release but I'm working on the options migrater now so you don't have to manually redo your options file everytime I release a new version.

Last edited by TheDarkWraith; 08-31-10 at 07:47 PM.
TheDarkWraith is offline   Reply With Quote
 

Thread Tools
Display Modes

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:02 AM.


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.