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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-28-06, 10:07 PM   #16
Clyde00
Mate
 
Join Date: Jan 2006
Location: Derby City in Kentucky
Posts: 53
Downloads: 182
Uploads: 0
Default

Hey JonZ,

I noticed in the menu ini (with Chomu's mod) that there is a start chrono entry referenced in the periscope, obscope and uzo. There is also a sec, min, and estsec reference into each of the scopes and uzo in the dials.cfg.

Have you tried creating a new dial specifically for the navmap in the dials.cfg following the entries of the one of the ones that work, then create a reference to that dial's sec, min, and estsec in the menu ini? I will play around a little and see what happens (I currently have the integrated orders 101 mod).

Seems like the menu ini calls on the specific dials for each scope? They don't appear to be the same dial for all the scopes, but when you start one working all of them including the one mounted on the attack scope stalk start working. I will let you know if I can get any of them to start elsewhere besides the scope 2d views.
Clyde00 is offline   Reply With Quote
Old 02-28-06, 10:17 PM   #17
JonZ
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Clyde00
Hey JonZ,

I noticed in the menu ini (with Chomu's mod) that there is a start chrono entry referenced in the periscope, obscope and uzo. There is also a sec, min, and estsec reference into each of the scopes and uzo in the dials.cfg.

Have you tried creating a new dial specifically for the navmap in the dials.cfg following the entries of the one of the ones that work, then create a reference to that dial's sec, min, and estsec in the menu ini? I will play around a little and see what happens (I currently have the integrated orders 101 mod).

Seems like the menu ini calls on the specific dials for each scope? They don't appear to be the same dial for all the scopes, but when you start one working all of them including the one mounted on the attack scope stalk start working. I will let you know if I can get any of them to start elsewhere besides the scope 2d views.
Yes I did. The TDC map is referenced to 3B. Therefor, I made bitmap group ItemID called 0x3BF00000. The item parent is referenced to the itemID 0x3B000000. Even after replicating the exact lines of the UZO and Periscope (Only changed the referenced numbers) it doesn't work.

I tried to pick a look on Sale's TDC on Periscope and the trick is he modify alot of the Dials.cfg file to pickup the Dragable buttons. Unfortunately, I see he couldn't made a button that toggle the Auto Update TDC for almost the same reason of the Chronometer.

A workaround would be to make a Keyboard command. That would mean to also edit the command_en.cfg file. Still uncertain that it will do it.



Perhaps there is a command line that would allow Dials.cfg to define a toggle button that make the chrono activating.
  Reply With Quote
Old 02-28-06, 10:37 PM   #18
ADukes
Sailor man
 
Join Date: Feb 2006
Posts: 45
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by JonZ
How do work the CROP command in the menu.ini file (crop 1=x.y, x.y, x.y, x.y)
http://www.subsim.com/phpBB/viewtopi...=268428#268428
ADukes is offline   Reply With Quote
Old 02-28-06, 11:38 PM   #19
JonZ
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by ADukes
Quote:
Originally Posted by JonZ
How do work the CROP command in the menu.ini file (crop 1=x.y, x.y, x.y, x.y)
http://www.subsim.com/phpBB/viewtopi...=268428#268428
Holy Crikey! thanks alot!
  Reply With Quote
Old 02-28-06, 11:53 PM   #20
JonZ
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Ok, Im out of Idea about the disapearing problem.

Here's the recipe:

First Backup Dials.cfg and menu_1024x768.ini.

Dials.cfg, go to the first lines and increment the Dials numbers by 4 like this example:

[DIALS]
DialsNo=xx+4

example:
DialsNo=56; was 52


Then go to the end of the file and Copy paste these 4 definitions and replace the xx by the numbers that follow the before number (if your last dial definition was [Dial48] then replace the xx by 49,50,51,52.

[Dialxx]
Name=Add_ChronoSec
Type=13; DIAL_CHRONO_SEC
Dial=0x0
CrtVal=0x3BF00002
NewVal=0x0
DialVal=0,360
RealVal=0,60; seconds
Circular=Yes

[Dialxx]
Name=Add_ChronoMin
Type=14; DIAL_CHRONO_MIN
Dial=0x0
CrtVal=0x3BF00003
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes

[Dialxx]
Name=Add_ChronoEstSec
Type=40; DIAL_TORP_ESTIM_SEC
Dial=0x0
CrtVal=0x3BF00004
NewVal=0x0
DialVal=0,360
RealVal=0,60; seconds
Circular=Yes

[Dialxx]
Name=Add_ChronoEstMin
Type=41; DIAL_TORP_ESTIM_MIN
Dial=0x0
CrtVal=0x3BF00005
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes

Now, open the menu_1024x768.ini file and go to the last [G3B Ixx] parameter. Continue the sequence like you did for Dials.cfg by entering these parameters:

[G3B Ixxx]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3BF00000
ParentID=0x3B000000
Pos=220,350,163,213
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Periscope.tga
Crop 0=0.00292969,0.767578,0.15918,0.208008
MatFlags=0x21
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3B Ixxx]
Name=Sec
Type=1031;Stat bmp array
ItemID=0x3BF00002
ParentID=0x3BF00000
Pos=81,-70,10,120
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0.3125,0,0.3125,0.9375
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3B Ixxx]
Name=Min
Type=1031;Stat bmp array
ItemID=0x3BF00003
ParentID=0x3BF00000
Pos=82,-83,8,40
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0,0,0.25,0.3125
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3B Ixxx]
Name=Estim Sec
Type=1031;Stat bmp array
ItemID=0x3BF00004
ParentID=0x3BF00000
Pos=81,-70,10,120
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0.6875,0,0.3125,0.9375
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3B Ixxx]
Name=Estim Min
Type=1031;Stat bmp array
ItemID=0x3BF00005
ParentID=0x3BF00000
Pos=82,-83,8,40
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0,0.492188,0.25,0.3125
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF



Now you should have the warpin Chrono on TDC. I hope someone will come up with a brillant Idea :p
  Reply With Quote
Old 03-01-06, 12:32 AM   #21
vodkaphile
Torpedoman
 
Join Date: Mar 2005
Location: Louisiana, USA
Posts: 115
Downloads: 64
Uploads: 0
Default

Is there a way to set a key to start/stop chrono? i.e. ctrl+c or something? this would get around not being able to click it.
__________________
-VP
Missing targets since 1990.
vodkaphile is offline   Reply With Quote
Old 03-01-06, 12:33 AM   #22
JonZ
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

HOLY CRIKEY!

Found the Disapearing Chronometer problem.

On the Dial parameter I replaced these values:

;MatFlags=0x21; <-------------------------------- Removed

;TexFmt=0x9 <----------------------------------Removed

SelOne=True; <---------------------------------Was False

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


I UPDATED THE CODE TO BE SUPPORTED TO ALL SCREENS NOW, SEE POST #1!!!!!!!


  Reply With Quote
Old 03-01-06, 05:32 AM   #23
timetraveller
Beach Leaf
 
Join Date: Dec 2004
Location: Atlantic Shipping Lanes
Posts: 287
Downloads: 1
Uploads: 0
Default

Amazing work, Jonz!

TT
timetraveller is offline   Reply With Quote
Old 03-01-06, 06:49 AM   #24
Der Teddy Bar
Blade Master
 
Join Date: Jan 2002
Posts: 1,388
Downloads: 0
Uploads: 0
Default

Today will be remembered in History!
Der Teddy Bar is offline   Reply With Quote
Old 03-01-06, 09:36 AM   #25
vodkaphile
Torpedoman
 
Join Date: Mar 2005
Location: Louisiana, USA
Posts: 115
Downloads: 64
Uploads: 0
Default

but you're not able to click it right?

I've been searching for a way to map it to a key but haven't been able to find any.
__________________
-VP
Missing targets since 1990.
vodkaphile is offline   Reply With Quote
Old 03-01-06, 10:25 AM   #26
JonZ
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by vodkaphile
but you're not able to click it right?

I've been searching for a way to map it to a key but haven't been able to find any.
Unfortunately the click ability seems to be hardcoded. I've long searched on this site to see if there's any alternatives but there's none and those who tried to make it work failed and gave up.

This is a touchy area. At this point, if someone with experience with Hex can continue the search for the click abilty then it would be great.


For now, it just an alternative for people who like something like the Chronu's Slideout Chronometer mod. And the only near good workaround will be to drag the chrono on the upper right corner, press F3 or O click on the chronometer of that page and press the key of the room you want.
  Reply With Quote
Old 03-01-06, 10:50 AM   #27
ADukes
Sailor man
 
Join Date: Feb 2006
Posts: 45
Downloads: 0
Uploads: 0
Default

Maybe it is only the problem that a dragable chrono can't be clickable. Have you tried a non-dragable?
ADukes is offline   Reply With Quote
Old 03-01-06, 10:56 AM   #28
JonZ
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by ADukes
Have you tried a non-dragable?

  Reply With Quote
Old 03-01-06, 10:57 AM   #29
Kpt. Lehmann
GWX Project Director
 
Kpt. Lehmann's Avatar
 
Join Date: Jul 2005
Location: The Republic of Texas
Posts: 6,994
Downloads: 124
Uploads: 0


Default

My hero!

Way to go Jonz
__________________

www.thegreywolves.com
All you need is good men. - Heinrich Lehmann-Willenbrock
Kpt. Lehmann is offline   Reply With Quote
Old 03-01-06, 06:52 PM   #30
vodkaphile
Torpedoman
 
Join Date: Mar 2005
Location: Louisiana, USA
Posts: 115
Downloads: 64
Uploads: 0
Default

I still think there has to be some command to make it bindable to a key, i.e. ctrl C or something.
__________________
-VP
Missing targets since 1990.
vodkaphile is offline   Reply With Quote
Reply


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


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