![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
EDIT: I can make the chrono move, but you can't activate it.
Simple Idea to make the Chrono portable TO ALL SCREENS. After all, Kaleuns always have his chrono in hands. First Download the new Chronometer with Wooden Casing: http://rapidshare.de/files/16764339/..._v1.1.zip.html ![]() ------------------------------- MANUAL INSTALLATION ---------------------------- **************** First Backup Dials.cfg and menu_1024x768.ini. ******************* This method require to manually edit menu_1024x768.ini and Dials.cfg with the notepad. Install the Data folder in the zip file over the Data folder of your SH3 Directory Make the Chrono portable TO ALL SCREENS. ________________________________________ First, go to data/menu/cfg Edit the file 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 Now 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 ie[Dial48] then replace the xx by ie 49,50,51,52 Code:
[Dialxx] Name=Add_ChronoSec Type=13; DIAL_CHRONO_SEC Dial=0x0 CrtVal=0x3FF00002 NewVal=0x0 DialVal=0,360 RealVal=0,60; seconds Circular=Yes [Dialxx] Name=Add_ChronoMin Type=14; DIAL_CHRONO_MIN Dial=0x0 CrtVal=0x3FF00003 NewVal=0x0 DialVal=0,360 RealVal=0,60; minutes Circular=Yes [Dialxx] Name=Add_ChronoEstSec Type=40; DIAL_TORP_ESTIM_SEC Dial=0x0 CrtVal=0x3FF00004 NewVal=0x0 DialVal=0,360 RealVal=0,60; seconds Circular=Yes [Dialxx] Name=Add_ChronoEstMin Type=41; DIAL_TORP_ESTIM_MIN Dial=0x0 CrtVal=0x3FF00005 NewVal=0x0 DialVal=0,360 RealVal=0,60; minutes Circular=Yes *Save the file after the changes (ctrl+S) Now, open the menu_1024x768.ini file (../Data/Menu) and go to the last [G3F Ixx] parameter. Continue the sequence like you did for Dials.cfg by entering these parameters: Code:
[G3F Ixxx] Name=Dial Type=1031;Stat bmp array ItemID=0x3FF00000 ParentID=0x3F000000 Pos=80,990,214,248 Materials=1 Display=0;No stretch Mat 0=data/menu/gui/Chronometer.tga Crop 0=0,0.03125,0.8359375,0.96875 MatFlags=0x29 TexFmt=0x9 Drag=true BmpState=1 NeedFocus=true SelOne=true IdGroup=0 StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF [G3F Ixxx] Name=Reflection Type=1030;Static bmp ItemID=0x3FF00006 ParentID=0x3FF00000 Pos=0,13,256,256 Materials=1 Display=0;No stretch Mat 0=data/menu/gui/Reflex.tga MatFlags=0x29 TexFmt=0x9 [G3F Ixxx] Name=Center Type=1030;Static bmp ItemID=0x3FF00001 ParentID=0x3FF00000 Pos=109,-126,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 Ixxx] Name=Sec Type=1031;Stat bmp array ItemID=0x3FF00002 ParentID=0x3FF00000 Pos=106,-68,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 Ixxx] Name=Min Type=1031;Stat bmp array ItemID=0x3FF00003 ParentID=0x3FF00000 Pos=107,-82,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 Ixxx] Name=Estim Sec Type=1031;Stat bmp array ItemID=0x3FF00004 ParentID=0x3FF00000 Pos=106,-68,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 Ixxx] Name=Estim Min Type=1031;Stat bmp array ItemID=0x3FF00005 ParentID=0x3FF00000 Pos=107,-82,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 Test the game, if it work, you win! --------------------------------------------------------------------------------------- IF YOU WANT THE CHRONO TO KEEP IT ORIGINAL SKIN Steps and rules are the same mentionned as above. The menu_1024_768.ini file have to change some coordinations. Code:
[G3F Ixxx] Name=Dial Type=1031;Stat bmp array ItemID=0x3FF00000 ParentID=0x3F000000 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=true IdGroup=0 StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF [G3F Ixxx] Name=Center Type=1030;Static bmp ItemID=0x3FF00001 ParentID=0x3FF00000 Pos=83,-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 Ixxx] Name=Sec Type=1031;Stat bmp array ItemID=0x3FF00002 ParentID=0x3FF00000 Pos=80,-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 Ixxx] Name=Min Type=1031;Stat bmp array ItemID=0x3FF00003 ParentID=0x3FF00000 Pos=81,-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 Ixxx] Name=Estim Sec Type=1031;Stat bmp array ItemID=0x3FF00004 ParentID=0x3FF00000 Pos=80,-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 Ixxx] Name=Estim Min Type=1031;Stat bmp array ItemID=0x3FF00005 ParentID=0x3FF00000 Pos=81,-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 IF YOU WANT THE CHRONO TO SHOW IN A SPECIFIC SCREEN. __________________________________________________ __ What you have to do if you want to show the chronometer in a specific room/screen is simple.All you have to do is to do exactly what the previous manual installation instruction shows you. Notice that all the references number are a mix of hexadecimal addressing, ie 0x3F000000. the 3Fxxxxxx or [G3F ixxx] is the reference number of the room/screen interface (ItemID and ParentID). Thus, you only have to replace the 3F by the referenced number of the screen you want, both in the Menu_1024x768.ini and Dials.cfg file. Here is the list of the screen references ingame: 3F;Page layout 24;Page gui event camera 25;Page recognition manual 28;Page UZO 2B;Page obs periscope 26;Page attack periscope 27;Page binocular (Needles doesn't work ATM) 3B;Page TDC 31;Page navigation map 32;Page attack map 33;Page interior 34;Page exterior 35;Page captain log 36;Page mission order 37;Page radio messages Therefore, if you want the Stop Watch to show only in binocular, replace all the 0x3fxxxxxx by 0x27xxxxxx in Dials.cfg and Menu_1024x768.ini files. -------------------------------------------------------------------------------------------------- KNOWN PROBLEMS/BUGS: - The Chrono doesn't activate when I click on it. It not a bug. The click ability is not implemented in this mod. Unfortunately, all buttons features in the Interface of SH3 are Hardcoded somehow. Only effects and drag/drag buttons are accessible by now. If by any chances you find or know a solution to that problem, feel free to write me at jonzadd@hotmail.com. It will be my pleasure to integrade the solution with the mod and you will be fully credited in the release. - The stop watch is showing, but it doesn't budge when I drag it, and the needles are off. That could be for many reasons: 1. Make sure your new inputs are sequential and doesn't skip or write over an existing sequence. Ex: [Dial53] parameter must have [Dial54] as the next sequence. or [G3F i229] parameter must have [G3F i230] as the next sequence. Any jumped sequences will results of errors or anomalies when playing SH3. 2. You followed the sequences number by the wrong room/screen number (ex: [G3F ixxx],,[G2F ixxx],,) 3. Many have reported that extra spaces in end of code lines may results anomalies. Be sure to remove those extra spaces. Just don't remove spacers between parameters sequences. - The Chrono Disapear when I press Del/. on Keypad It not a bug. Since the chrono is binded to the Page Layout (0x3F000000), it supposed to disable like everything else on the Interface layout. No workaround is found at the moment to override this matter. - The Chrono work, but it behind some kind of mask, like behind the Binocular mask. It a stacking problem in the code. Every object you see on screen is a stack display. The way it work is the objects called in the earlier sequence (ie [G27 i2]) will be displayed OVER the later sequence object (ie [G27 i3]). Thus, the mask covering the chrono is over the stack. There's few workaround, but the simpliest way will be to place the sequence of the chrono before the mask and renumber all the section after. however, be aware that procedure can be very long depending of the room/screen section. I would hardly recommend to do it to sections such as 0x3f (Page Layout). ---------------------------------------------------------------------------------------------------- The Dragable-tools v1.0 for IuB/RuB/Harbour Traffic 1.47 JonZ 03-03-06 ----------------------------------------------------------------------------------------- First Download this pack: http://rapidshare.de/files/14562364/...sV1.0.zip.html Originaly it was the Dragable Chronometer mod, but since many people have buffs with codes, I reunited what I use and pack them all, ready to use. What this mod do: -Add a Dragable Chronometer in ALL SCREENS, the wooden stop-watch case is on top of your screen. -Add the NAVIMAP MOD tool. Dragable charts, map and compass to navigation and TDC map, available on top of your screen. -Add a Nationnality Friend or Foe chart on each Periscopes and UZO screen. -Reorganise the Order Icons. More Orders, more icons. -New Help Screen -Added FABC Slideout. - Navimap mod is a creation of FLB Sale's U-999 - FABC Slideout a creation of TimeTraveler and OakGroove. ------INSTALLATION----------------------------------------------------------------------- *Strongly suggested to use JSGME mod installer* Direct download to this site: http://members.iinet.net.au/~jscones...ucts/jsgme.zip It very friendly and save you valuable time. ------READY TO INSTALL -- JSGME METHOD--------------------------------------------------- 1. Copy the Dragable-Tools V1.0 into the MODS folder. Run JSGME and install. ------READY TO INSTALL -- Folder METHOD-------------------------------------------------- 1. Backup data/cfg folder and data/menu folder. 2. Copy and paste the data folder from the zip to the game's data folder. Screenshots: ![]() ![]() ![]() ![]() ![]() Feel free to use the mods for any use or include it in your mod package, I'll appreciate the credits in return. Not for resale. If you want to modify the graphic of the wooden case chrono, I'd appreciate to be informed first. - JonZ |
![]() |
![]() |
#2 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() |
![]() |
![]() |
#3 |
Weps
![]() Join Date: Feb 2004
Posts: 353
Downloads: 121
Uploads: 4
|
![]()
Fantastic!
|
![]() |
![]() |
![]() |
#4 |
Torpedoman
![]() Join Date: Mar 2005
Location: Louisiana, USA
Posts: 115
Downloads: 64
Uploads: 0
|
![]()
so how'd you do it?:P
__________________
-VP Missing targets since 1990. |
![]() |
![]() |
![]() |
#5 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
There just a problem with it is it can only be activated through UZO or Periscopes. I don't know how it is possible it look like it have to be done elsewhere or in hardcode.
Maybe FLB Sale's know something, he did the buttons for the TDC for Periscope. Since he could make additionnal buttons different than the Periscope screen, maybe he can learn me something :P J |
![]() |
![]() |
#6 |
Ocean Warrior
![]() Join Date: May 2005
Location: New Castle of Delaware
Posts: 3,231
Downloads: 658
Uploads: 0
|
![]()
You know what would be nice and maybe you could try it JonZ. Range to target showing up in the Attack Map screen. It's a pain jumping back to the scope TDC to see how close they are. Especially attacking warships.
![]()
__________________
Gary No Borders, No Language, No Culture =s No Country I'm a Deplorable, and proud of it. |
![]() |
![]() |
![]() |
#7 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
![]() Maybe you are looking for the FLB Sale's TDC to Periscope. All the TDC dials in the Periscope screens ![]() |
|
![]() |
![]() |
#8 |
Ocean Warrior
![]() Join Date: May 2005
Location: New Castle of Delaware
Posts: 3,231
Downloads: 658
Uploads: 0
|
![]()
Sorry, I made a mistake on that. I just editied the above to Attack Map. Sorry about that.
![]()
__________________
Gary No Borders, No Language, No Culture =s No Country I'm a Deplorable, and proud of it. |
![]() |
![]() |
![]() |
#9 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
Hmm, interesting idea . I am at work for the moment, so I can't answer that. I think it slightly possible. :hmm: |
|
![]() |
![]() |
#10 |
Ocean Warrior
![]() Join Date: May 2005
Location: New Castle of Delaware
Posts: 3,231
Downloads: 658
Uploads: 0
|
![]()
LOL... sorry I threw you on that. It would be nice to see and I hope it's possible but.... with all the modders out there it's strange no one has tried to implement it before. Good luck on working it out JonZ.
![]()
__________________
Gary No Borders, No Language, No Culture =s No Country I'm a Deplorable, and proud of it. |
![]() |
![]() |
![]() |
#11 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
Well perhaps because most of the people play at 100% realism and don't need a such feature since map contact update is deactivated. :hmm: |
|
![]() |
![]() |
#12 |
Ocean Warrior
![]() Join Date: May 2005
Location: New Castle of Delaware
Posts: 3,231
Downloads: 658
Uploads: 0
|
![]()
I know a few who don't use full realism, and they say the same about liking to see range displayed in the Attack Map.
I don't use Full Real either, and believe me, I don't sink em all. I've had many many misses. I figure if I have a weapons officer, he should do his job like the rest must or swim home. ![]()
__________________
Gary No Borders, No Language, No Culture =s No Country I'm a Deplorable, and proud of it. |
![]() |
![]() |
![]() |
#13 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Understand.
Also to kept in mind that the most popular mods like RuB and IuB allow 100% realism with Map Contact update unchecked. Still have to drive your ship back home manually ![]() |
![]() |
![]() |
#14 |
The Old Man
![]() Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
|
![]()
Wow - I've been looking for a working stopwatch on other screens for a while now. This looks fantastic!
However, you show this on the TDC map - any chance you could make this work so it would be usable on the Nav map? That's where I always want to be to mark the position on the map at the end of the time interval, but the watch is on a different screen and I forget to go back and check it till too late a lot of times. Great work ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#15 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
It still could be Usefull. My main intention was to put it on ALL screens but I started where the chrono would be the most usefull first. I would like to release the code, but for now I am trying to simplify it. There's codes that I am not sure if it necessary. And the Chrono disapear when I drag it but reappear once I drop it ![]() |
|
![]() |
![]() |
|
|