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 05-05-10, 04:57 PM   #1
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
explain what you mean by moving.

Same old same old the box was moving down behind the gauges again
until I stopped the clock from popping up.
Oh no I didn't load the fix into the mod I was thinking it was already
in it
SeaWolf U-57 is offline   Reply With Quote
Old 05-05-10, 05:51 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SeaWolf U-57 View Post
Same old same old the box was moving down behind the gauges again
until I stopped the clock from popping up.
Oh no I didn't load the fix into the mod I was thinking it was already
in it
the fix is already in the version I sent you. So explain exactly what you did to get the messagebox to move. I would like to duplicate this problem.
TheDarkWraith is offline   Reply With Quote
Old 05-05-10, 06:03 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Here's the newest feature I'm working on. I call it user marks. Instead of the boring pencil adding X marks to the map I wanted something that I could add text to. So I created it. When you add a new user mark you're asked to type in the text for it. Then when you mouse over the user mark on the TAI a pop up shows with the text for it. It's taken me 2 days to just get this far on it and I'm stuck at one spot. As the game doesn't expose the current zoom level or what it does when you zoom/unzoom I have to figure out a way to make the user mark scale appropriately by zoom. In order to make this work I have the mousewheel disabled when you mouse in the TAI map. It becomes re-enabled when you mouse out. This had to be done since I can't read the current zoom level I have to force you to use the zoom and unzoom buttons in the bottom right of the TAI map. When you press those I can increment or decrement a counter to know which zoom level the TAI is in. My problem is this: I add a new user mark to the TAI map:


now all I know about this user mark are it's screen coordinates in the TAI. Now I want to zoom in. That would place me at the 1500m scale. So what mathematical formula would I use to scale the position of the user mark? I thought that since we went from 3000m to 1500m that I should double the value....nope, no way. So I tried dividing by 2...nope, no way again. I have to figure out the correct way to scale this point on the map when zooming/unzooming
TheDarkWraith is offline   Reply With Quote
Old 05-05-10, 06:03 PM   #4
7thSeal
Samurai Navy
 
Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
Default

One small item I noticed is that when I set the Show Items Note to false in the option file it will still be enabled when starting up the game. Not really a big deal though since you have the ability to toggle it off in the options bar after starting a patrol.
7thSeal is offline   Reply With Quote
Old 05-05-10, 06:07 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by 7thSeal View Post
One small item I noticed is that when I set the Show Items Note to false in the option file it will still be enabled when starting up the game. Not really a big deal though since you have the ability to toggle it off in the options bar after starting a patrol.
good bug report. Is that the only one that does that? Just looked at the code and I don't see how that can be happening......

EDIT:

just tested it by setting it to both values and everything worked fine. Don't know what you're doing wrong.
TheDarkWraith is offline   Reply With Quote
Old 05-05-10, 06:10 PM   #6
7thSeal
Samurai Navy
 
Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
good bug report. Is that the only one that does that?
It seems so, I also have the show message box set to false and it seems to stay disabled on startup.
7thSeal is offline   Reply With Quote
Old 05-05-10, 06:18 PM   #7
7thSeal
Samurai Navy
 
Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
Default

I'll go back and try it again, I disable the mod before making any changes in the option file and then re-enable it before starting the game. I've checked it twice already thinking I might of forgot to save it after the changes but it was still set to false.

Get back to you after I try it again.

Edit\ Well I went through it again and it still wasn't working. Don't know what I was doing wrong but I went ahead and replaced the option file with a fresh copy from the dl I have and made all my usual changes again and saved it. Started up the game and the show items note is disabled.

Last edited by 7thSeal; 05-05-10 at 06:35 PM.
7thSeal is offline   Reply With Quote
Old 05-06-10, 12:48 AM   #8
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
Default

Ok here is today results I have been playing the game with both clock TC at 32
and 1 with no problems at all
so I un-installed your mod and started the game played it for a while don't know
if anything was wrong because its such a long time since I have seen the stock
version running.
loaded your mod back up and yes again the Message box was on something and
could not standstill the icons didn't light up when selected. these things I have
seen before so I saved the game and exited it.
I then restarted the game without making any changes and off it went with no problems so what could cause this I wonder is JSGME not writing all the files
across the first time you enable the mods I think this is unlikely.
I would put this down to the Synchronized games form server crap you get at the start
of the game this is somehow restricting the file changes until you save the game
and then reload it. from now on any new mod I load up I will start the game let
it run for a while then save it and restart it and then see if the new changes are working or not.
SeaWolf U-57 is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 12:00 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.