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 |

Is there a mod put the stop watch on other screens?
Goto page Previous  1, 2, 3, 4  Next
 
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
chomu



Joined: 23 Sep 2005
Posts: 59
Location: Japan

PostPosted: Sun Nov 13, 2005 10:52 pm    Post subject: Reply with quote

Quote:

I have tried that, just to put in the stopwatch. Putted in the lines in the menu_1024_768 file and added that stopwatch.tga, but it never worked for me. Dammit!

It would be a very usefull and nice feature to have a stopwatch visible and possible to stop/start in every views. Slide in or not.

Does someone have a clue how to mod this? Hmmm


I tried it too.
But, I have not solved the how to start and stop on another chronometer.
Then, I plan to perform analysis and trial.
Back to top
View user's profile Send private message Visit poster's website
Observer



Joined: 05 May 2005
Posts: 486

PostPosted: Mon Nov 14, 2005 1:07 am    Post subject: Reply with quote

This is the change necessary to the menu_1024_768.ini.

New entry

Code:
[G3F I71]
Name=Chrono
Type=1026;Menu group
ItemID=0x3F1C0000
ParentID=0x3F010000
Pos=106,2,100,130
Color=0xFFFFFFFF

[G3F I72]
Name=Sec
Type=1031;Stat bmp array
ItemID=0x3F1C0002
ParentID=0x3F1C0000
;Pos=61,-70,10,120
Pos=47,-23.4,8,89
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 I73]
Name=Min
Type=1031;Stat bmp array
ItemID=0x3F1C0003
ParentID=0x3F1C0000
;Pos=62,-83,8,40
Pos=48,-33,6,29.6
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 I74]
Name=Estim Sec
Type=1031;Stat bmp array
ItemID=0x3F1C0004
ParentID=0x3F1C0000
Pos=47,-23.4,8,89
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 I75]
Name=Estim Min
Type=1031;Stat bmp array
ItemID=0x3F1C0005
ParentID=0x3F1C0000
Pos=48,-33,6,29.6
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 I76]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3F1C0006
ParentID=0x3F1C0000
Pos=0,-15,100,100
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/chronometer1.tga
Crop 0=0.009433962,0.009433962,1,1
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I77]
Name=Throttle
Type=1026;Menu group
ItemID=0x3F1A0000
ParentID=0x3F010000
Pos=4,2,100,130
Color=0xFFFFFFFF


Original entry:


Code:
[G3F I71]
Name=Rudder
Type=1026;Menu group
ItemID=0x3F1C0000
ParentID=0x3F010000
Pos=106,2,100,130
Color=0xFFFFFFFF

[G3F I72]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3F1C0001
ParentID=0x3F1C0000
Pos=2,-17,96,96
Color=0xFFFFFF00
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/dialsfdb.tga
Crop 0=0.300781,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2220
ToolTipBox=0x3F01000E, 0x0

[G3F I73]
Name=Crt val
Type=1031;Stat bmp array
ItemID=0x3F1C0002
ParentID=0x3F1C0000
Pos=42,-33,17,63
Color=0xFE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/indicators.tga
Crop 0=0,0.996094,0.8125,-0.34375
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I74]
Name=New val
Type=1031;Stat bmp array
ItemID=0x3F1C0003
ParentID=0x3F1C0000
Pos=42,-33,17,63
Color=0x969696C8
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/indicators.tga
Crop 0=0,0.996094,0.8125,-0.34375
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I75]
Name=Bkgr
Type=1030;Static bmp
ItemID=0x3F1C0004
ParentID=0x3F1C0000
Pos=0,-15,100,100
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/dialsfdb.tga
Crop 0=0.5,0.00390625,1,1
MatFlags=0x9
TexFmt=0x9

[G3F I76]
Name=Throttle
Type=1026;Menu group
ItemID=0x3F1A0000
ParentID=0x3F010000
Pos=4,2,100,130
Color=0xFFFFFFFF


Please note the orignal entry "Name=Throttle" entry is [G3F I76] while the new entry for the stopwatch is [G3F I77]. The stopwatch creates an extra entry to work, and because of that, requires all of the entries following [G3F I76] be renumbered to work correctly (and it's a huge pain in the you-know-what!).

You will also need the graphics from here:

http://rapidshare.de/files/7608395/Stopwatch_Mod.zip.html

Good luck!
Back to top
View user's profile Send private message
Kpt. Lehmann



Joined: 25 Jul 2005
Posts: 1665
Location: Texas, USA

PostPosted: Mon Nov 14, 2005 2:56 am    Post subject: Reply with quote

Thank you Observer! Thumbs Up Thumbs Up Thumbs Up :sunny:
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Mon Nov 14, 2005 3:17 am    Post subject: Reply with quote

oh, nice! Thumbs Up
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Mon Nov 14, 2005 5:24 am    Post subject: Reply with quote

Observer,

Are you sure everything you post is correct?

When I load a mission, I get an item ID missing = 0x3F1C0001

So i see you don't have that ID... What's going on?



EDIT: a lot of your ID values were incorrect. I had to edit them to get the stopwatch to work.
Next I will figure out how to get a clickable stopwatch...
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Mon Nov 14, 2005 1:18 pm    Post subject: Reply with quote

In order to get a clickable stopwatch, have you guys compared 'text blocks' with the other 3 stopwatches? Most likely, they hold all of the answers.

And...

What about making comparisons with the dials right next to the stopwatch? If we can figure out how the compass or telegraph are interactive, then maybe we can make the stopwatch interactive too.
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Mon Nov 14, 2005 4:53 pm    Post subject: Reply with quote

Am I alone in here???

Geez! This is hard. Someone help me. :dead:
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Mon Nov 14, 2005 6:36 pm    Post subject: Reply with quote

.... Can't figure out the click ability... I'm burnt out.... I give up. :dead:
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Mon Nov 14, 2005 6:57 pm    Post subject: Reply with quote

Dude... What am I taking about?! I never give up! I will solve the clicky chronometer before I die.

I was thinking. If we can't click on the bottom right chronometer, would it be possible to swap that one with the chronometer from say the observation periscope? Maybe it would work if we switched their ID values or something... It's worth a try.
Back to top
View user's profile Send private message
BladeHeart



Joined: 20 Mar 2005
Posts: 447

PostPosted: Mon Nov 14, 2005 7:00 pm    Post subject: Reply with quote

Forgive me if this is a stupid question, but I am not a programer.

Why not copy the other file across with a few of the obvious alterations, such as locations?
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Mon Nov 14, 2005 7:04 pm    Post subject: Reply with quote

BladeHeart wrote:
Why not copy the other file across with a few of the obvious alterations, such as locations?


That is basically what is going on. We have copied and pasted a new chronometer, but the problem is that it is an unclickable chronometer. And no one knows why...

I suspect that only the obs persicope, atk periscope, and UZO are hardcoded to allow for clickable chronometers.

Currently looking for a workaround...
Back to top
View user's profile Send private message
BladeHeart



Joined: 20 Mar 2005
Posts: 447

PostPosted: Mon Nov 14, 2005 7:06 pm    Post subject: Reply with quote

Then why not tell it that's it is one of those screens when referring to the stopwatch?
Back to top
View user's profile Send private message
Observer



Joined: 05 May 2005
Posts: 486

PostPosted: Mon Nov 14, 2005 8:08 pm    Post subject: Reply with quote

marhkimov wrote:
Observer,

Are you sure everything you post is correct?

When I load a mission, I get an item ID missing = 0x3F1C0001

So i see you don't have that ID... What's going on?



EDIT: a lot of your ID values were incorrect. I had to edit them to get the stopwatch to work.
Next I will figure out how to get a clickable stopwatch...


I think I forgot to copy that part of the file to the post. This is what happens when you don't write things down. Crying or Very sad
Back to top
View user's profile Send private message
Observer



Joined: 05 May 2005
Posts: 486

PostPosted: Mon Nov 14, 2005 8:11 pm    Post subject: Reply with quote

marhkimov wrote:
BladeHeart wrote:
Why not copy the other file across with a few of the obvious alterations, such as locations?


That is basically what is going on. We have copied and pasted a new chronometer, but the problem is that it is an unclickable chronometer. And no one knows why...

I suspect that only the obs persicope, atk periscope, and UZO are hardcoded to allow for clickable chronometers.

Currently looking for a workaround...


I wish you better luck than I. I fooled with this for a while without much success. It may be a mouse capture thing. In other words, not linked to the stopwatch, rather to the mouse. How does the mouse identiy clickable areas on the screen. I didn't try this, so maybe it's the answer.
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Mon Nov 14, 2005 8:16 pm    Post subject: Reply with quote

It's been hours and it is looking hopeless.

Everytime I swap or change an ID, i get a multitude of missing ID errors. And then, when I think I've fixed it, MORE errors! And so on and so forth.

It is very annoying. I've spent nearly 5 hours today and yesterday, with nearly zilch progress... Confused
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
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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