Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Mod Help: Sliding Chronometer

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Observer



Joined: 05 May 2005
Posts: 486

PostPosted: Tue Jun 28, 2005 11:47 pm    Post subject: Mod Help: Sliding Chronometer Reply with quote

Here are a few screenshots of a mod I've been working on to add a sliding chronometer to the other screens in the game:

Mission Start: Control Room


Nav Map


Nav Map after weapon launch


This mod mostly works except for a couple of problems:

1. I can only start the timer from one of the periscope screens or the UZO, though I haven't tested the UZO to be sure.
2. When not in the periscope or UZO screen, there is no sound of from the chronometer.
3. After a torpedo is launched, switching to the attack map screen using the F6 shortcut results in a CTD.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is the modified info (this is just the added info):

Dials.cfg

[DIALS]
DialsNo=48
--------------------------------------------
;last entry in dials.cfg
[Dial43]
Name=CO2 level
Type=39; DIAL_CO2
Dial=0x0
CrtVal=0x3F300004
NewVal=0x0
DialVal=-90,90
RealVal=0,1; normalized
Circular=Yes


[Dial44]
Name=SlideChronoSec
Type=13; DIAL_CHRONO_SEC
Dial=0x0
CrtVal=0x3F430002
NewVal=0x0
DialVal=0,360
RealVal=0,60; seconds
Circular=Yes


[Dial45]
Name=SlideChronoMin
Type=14; DIAL_CHRONO_MIN
Dial=0x0
CrtVal=0x3F430003
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes


[Dial46]
Name=SlideChronoEstSec
Type=40; DIAL_TORP_ESTIM_SEC
Dial=0x0
CrtVal=0x3F430004
NewVal=0x0
DialVal=0,360
RealVal=0,60; seconds
Circular=Yes


[Dial47]
Name=SlideChronoEstMin
Type=41; DIAL_TORP_ESTIM_MIN
Dial=0x0
CrtVal=0x3F430005
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

menu_1024_768.ini

;last entry in menu
[G3F I286]
Name=Capture mouse
Type=1030;Static bmp
ItemID=0x3F000001
ParentID=0x3F000000
Pos=76,754,902,607
Color=0xFFFFFF64
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
MatFlags=0x1
TexFmt=0x9


[G3F I287]
Name=Chrono slidout
Type=1026;Menu group
ItemID=0x3F430000
ParentID=0x3F000000
Pos=20,768,340,340
Color=0xFFFFFFFF
VertSlide=340

[G3F I288]
Name=Center
Type=1030;Static bmp
ItemID=0x3F430006
ParentID=0x3F430000
Pos=64,-128,4,4
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0.0625,0.960938,1,0.984375
MatFlags=0x29
TexFmt=0x9

[G3F I289]
Name=Sec
Type=1031;Stat bmp array
ItemID=0x3F430002
ParentID=0x3F430000
Pos=61,-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=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I290]
Name=Min
Type=1031;Stat bmp array
ItemID=0x3F430003
ParentID=0x3F430000
Pos=62,-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=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I291]
Name=Estim Sec
Type=1031;Stat bmp array
ItemID=0x3F430004
ParentID=0x3F430000
Pos=61,-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=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I292]
Name=Estim Min
Type=1031;Stat bmp array
ItemID=0x3F430005
ParentID=0x3F430000
Pos=62,-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=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I293]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3F430001
ParentID=0x3F430000
Pos=-20,0,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=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2202
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any thoughts on what might be wrong?
Back to top
View user's profile Send private message
U-Cass



Joined: 06 Aug 2004
Posts: 67

PostPosted: Wed Jun 29, 2005 4:14 am    Post subject: Reply with quote

Nope. But keep up the good work Thumbs Up This is one mod everybody will want Neutral\
Back to top
View user's profile Send private message
Nilas



Joined: 03 Apr 2005
Posts: 115

PostPosted: Wed Jun 29, 2005 9:19 am    Post subject: Reply with quote

Yep.. can't help you Sad ..but really hope you'll crack it.. I miss that thing on the map!
Back to top
View user's profile Send private message
Cpt.Nautilus



Joined: 08 Apr 2005
Posts: 317
Location: Patrolling Lake Geneva

PostPosted: Wed Jun 29, 2005 9:46 am    Post subject: Reply with quote

Great mod! A must-have... once the CTD caused by the F6 key is solved. The ticking sound and starting problems are not important.
Back to top
View user's profile Send private message Visit poster's website
Voiceless1



Joined: 20 Apr 2005
Posts: 3
Location: Coeur d'Alene, Idaho USA

PostPosted: Wed Jun 29, 2005 10:51 am    Post subject: Reply with quote

This is great! If you get it working right is there any possibility you could add it to the Sonarman's screen? It would be a great help for those of us who count rpm's to determine target speed.
Back to top
View user's profile Send private message
Observer



Joined: 05 May 2005
Posts: 486

PostPosted: Wed Jun 29, 2005 10:53 pm    Post subject: Reply with quote

Bump for help.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group