![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
05-05-10, 04:57 PM
|
#1 |
|
Ace of the Deep
![]() Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
|
|
|
|
05-05-10, 05:51 PM
|
#2 |
|
Black Magic
![]() |
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.
|
|
|
05-05-10, 06:03 PM
|
#3 |
|
Black Magic
![]() |
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 |
|
|
05-05-10, 06:03 PM
|
#4 |
|
Samurai Navy
![]() Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
|
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.
|
|
|
05-05-10, 06:07 PM
|
#5 | |
|
Black Magic
![]() |
Quote:
EDIT: just tested it by setting it to both values and everything worked fine. Don't know what you're doing wrong. |
|
|
|
05-05-10, 06:10 PM
|
#6 |
|
Samurai Navy
![]() Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
|
|
|
|
05-05-10, 06:18 PM
|
#7 |
|
Samurai Navy
![]() Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
|
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. |
|
|
05-06-10, 12:48 AM
|
#8 |
|
Ace of the Deep
![]() Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
|
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. |
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
| Thread Tools | |
| Display Modes | |
|
|
