![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
10-06-09, 06:09 AM
|
#1 |
|
The Old Man
![]() |
Good news. After a week of wasting time I've managed to integrate the tdc into the attack periscope screen. It sits on the notepad so it can be hidden from view. All dials work great, I just hope I can find a way to create an AutoTDC button on it, but I have not had any success so far. By the way, untill I have ALL the items in place, I won't bother with making the thing look pretty (colors, contrast, scratches, chiped paint, glass blur etc.)
Here's a 1920x1200 game screenshot. The image files used are actually calibrated for this size so there's no scaling of the images. They look best at this particular resolution (or 1600x1200). ![]() And here's a screenshot at 1024x768. The relative sizes are the same as for 1600:1200. As you can see it only takes up as much space as the notepad did. The scope view is not obstructed too much. The vernier dials eliminated the need for a low rez version of the mod. The game does a better job at rescaling the files than photoshop can do ![]() ![]() And just in case you didn't believe me, here's a screenshot after I've hidden the panel. (no, I haven't changed the "handle" image yet) ![]() So, after I put in the static highlights overlay and the fake dials for the moving shadows and eliminate any possibility of a autoupdate button, I'll post a ready to use alpha version for all to play with untill I put in the torpedo panel. |
|
|
10-06-09, 09:22 AM
|
#2 |
|
The Old Man
![]() Join Date: May 2007
Location: München / Germany
Posts: 1,482
Downloads: 426
Uploads: 0
|
RESPECT !! ![]() A lot of work! my friend |
|
|
10-06-09, 10:06 AM
|
#3 |
|
The Old Man
![]() |
Thanks Tomi, it's not that much work but I need to be veery careful on each step.
Now here's a question: has anyone managed to create a working button in the Periscope screens? Here's what I've found so far. I've stated multiple times before that the commands.cfg files no longer links commands to interface items. I was wrong. That file works exactly the same as in SH3. In both, you can only link commands to items in the layout page (G3F). For example: [Cmd194] Name=Periscope_depth Ctxt=1 MnID=0x3F050009 Str=1032 Key0=0x50,C,"P" I have managed to make a working button in the layout page by simply copying a working button (the unused pause button). In red is the neccesary part for receiving the command and in green are "useless" parts. As you can see there's no need for BmpState or other lines that were used for BmpArrays(dials). From what I just tested, any other combination, any other type of item will no longer accept commands from the cfg file. [G3F I412] Name=Pause Type=1032;Button ItemID=0x3F030FFF ParentID=0x3F000000 Pos=309,0,100,100 Zone= 309 768 100 100 1 1 0x3F000000 1 0 0x3F030FFF 0 0 0 0 Color=0xFFFFFF32 Materials=4 Display=2;Linear Mat 0=data/menu/gui/layout/bkgr.tga Mat 1=data/menu/gui/layout/bkgr.tga Mat 2=data/menu/gui/layout/bkgr.tga Mat 3=data/menu/gui/layout/bkgr.tga MatFlags=0x1 TexFmt=0x0 Font=4 Text=2708 TextFlags=0x1 StatesColors=0xB0B0B0FF, 0xAAAAAAFF, 0xFFFFFFFF, 0xFFFF00FF ToolTipText=2210 ToolTipBox=0x3F01000E, 0x0 So I've tried to parent the item to the notepad. But the game screamed at me that it can't find that id. So then I tried to just use the notepad as a position parent. That screwed the position, I can't seem to place any item above the middle of the screen and of course, the button doesn't move with the TDC (notepad). I've placed the item in the periscope page (but kept it's id), the button is placed correctly but it doesn't recieve the command. So... case closed. Yes I can mimic what OLC did and put the Autoupdate button in the layout page, but it will be easier to just make an Order button in the Periscope Page of the Order Bar. Too bad Last edited by karamazovnew; 10-06-09 at 11:34 AM. |
|
|
10-06-09, 11:33 AM
|
#4 |
|
Pacific Aces Dev Team
|
Excellent work
![]() A good reason to switch finally to SH4 for U-Boats
__________________
One day I will return to sea ... |
|
|
10-06-09, 03:13 PM
|
#5 |
|
Chief
![]() Join Date: Jul 2005
Posts: 316
Downloads: 28
Uploads: 0
|
very nice, karamasovjev,
bring it on! looks very promising, i am waiting for this for a long time. i am still playing the american part in tmo but it looks like the german side will be playable and exciting the coming days.... keep up the good work and stay on it when you get difficulties... damn good work. remember, the map and the persicope are the most important stations in a subsim... Jaeger
__________________
Everything comes to him who waits |
|
|
10-06-09, 03:52 PM
|
#6 |
|
The Old Man
![]() Join Date: Jan 2007
Posts: 1,441
Downloads: 234
Uploads: 0
|
We are waiting patiently. Question, how are the dials going to scale on 1920 by 1080 wide screen lcd?
Thanks for all of your hard work there!
__________________
Wilcke For the best in Fleet Boats go to: Submarine Sim Central. http://forum.kickinbak.com/index.php Check out: A Brief Introduction to the Pacific Submarine War by Ducimus http://www.subsim.com/radioroom/showthread.php?t=128185 Operation Monsun plus OMEGU, the #1 ATO Solution for SH4! Signature Art by Gunfighter |
|
|
10-06-09, 05:03 PM
|
#7 | |
|
Admiral
![]() Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
|
Quote:
When do you thing that it will be ready for "prime time". With your permission I would like to integrate this into OMEGU as soon as you think it is ready |
|
|
|
10-06-09, 05:23 PM
|
#8 | |
|
Mr. Bad Wolf
|
Quote:
My last update post here at subsim: http://www.subsim.com/radioroom/show...6&postcount=39 The auto/manual thing does work 99% of the time. ![]() That little green/yellow button you can see... If I can manage to find the time to find notes or anything regarding how to, I'll be glad to send it to you. I like that you have made it possible to hide the dials in the left side. Mine is attached to the lower right panel, where you choose torpedo tubes.
__________________
![]() ![]() Download my mods from SHMF Follow my photography here taler dansk, speak English, spreche Deutsch, parle français, forstår svenska/norsk, comprendo castellano |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
