SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
02-18-23, 01:19 PM | #1 | |
Sonar Guy
|
Quote:
Yeah, this would be fine. Propbeany, maybe you have an idea: I would like to add a lever in the periscope view to manually incrementally raise and lower the periscope. Just as it goes with the German submarines in SH4. |
|
02-19-23, 07:45 AM | #2 |
CTD - it's not just a job
|
Well... imagine that! I've been looking off and on at doing that also... I was thinking of trying to tie into the Insert/Delete and the PageUp/PageDown keys, but... zee skeelz, zay are lacking no?? lol - I am lost. So I was going to try to "copy" the section in menu_1024_768 for the U-Boats - if it's possible - and see what happens in the experimental labs here, I mean, besides smoke and CTDs...
|
02-21-23, 05:52 AM | #3 | |
Sonar Guy
|
Quote:
Yeah, i see. Triyng to add new ItemID's to the Menu_1024_768 i get everytime a CTD with Missing MenuID blabla... This means i'm missing where the ID's nbrs are managed. My idea is to add a dial in the Dials.cfg to add the Periscope_up and periscope_down function. Somebody some tips for me? |
|
02-24-23, 06:07 PM | #4 |
Silent Hunter
|
Another great mod!! Hi Jimimadrid, you are like a scarecrow - outstanding in your field. A question that has nothing to do with this previous work but you are very good at interfaces - do you know how to increase the size of the crew special abilities icons? Like the green "MASTER ENGINEER" symbol in the picture below....I would like them to be maybe 2x - 2.5x bigger than they are now.... enlarged from 28 x 28 to 56 x 56 pixels ?
I understand where the images are (in data\menu\skins\[nationality]\gui\layout but I don't understand how cropping/enlarging works with menu1024.ini or your editing tools. Thank you!!
__________________
https://www.facebook.com/WolvesoftheKaiser/ |
02-24-23, 07:23 PM | #5 | |
Silent Hunter
|
Quote:
did he just call jimi a "scarecrow"?
__________________
there are only two things in the world: submarines and targets. Fortis et stabilis et fidelis, semper ------------------------------------------------------------ Silent Hunter 4 1.5 Gold Edition on CDROM LAA enabled Dell XPS with 32 GB Ram running Win10 |
|
02-25-23, 07:45 AM | #6 |
Sonar Guy
|
Yes, that's how I always look in the morning before I dress up and put on make-up |
02-25-23, 07:57 AM | #7 |
Silent Hunter
|
OK I found this stuff in menu1024.ini
[G61 I53] Name=Abilities Icons2 Type=1031;Stat bmp array ItemID=0x61030012 ParentID=0x61030000 Pos=372,-16,26,26 Zone= 602 330 26 26 0 1 0x61030011 1 -0.5 0x61030012 0 0.5 10 0 Color=0xFFFFFFFF Materials=21 Display=2;Linear Mat 0=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 0=0.205566,0.453125,0.0126953,0.0507813 Mat 1=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 1=0.22168,0.453125,0.0126953,0.0507813 Mat 2=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 2=0.237793,0.453125,0.0126953,0.0507813 Mat 3=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 3=0.253906,0.453125,0.0126953,0.0507813 Mat 4=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 4=0.27002,0.453125,0.0126953,0.0507813 Mat 5=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 5=0.286133,0.453125,0.0126953,0.0507813 Mat 6=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 6=0.302246,0.453125,0.0126953,0.0507813 Mat 7=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 7=0.318359,0.453125,0.0126953,0.0507813 Mat 8=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 8=0.334473,0.453125,0.0126953,0.0507813 Mat 9=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 9=0.350586,0.453125,0.0126953,0.0507813 Mat 10=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 10=0.366699,0.453125,0.0126953,0.0507813 Mat 11=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 11=0.382813,0.453125,0.0126953,0.0507813 Mat 12=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 12=0.205566,0.517578,0.0126953,0.0507813 Mat 13=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 13=0.22168,0.517578,0.0126953,0.0507813 Mat 14=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 14=0.237793,0.517578,0.0126953,0.0507813 Mat 15=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 15=0.253906,0.517578,0.0126953,0.0507813 Mat 16=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 16=0.27002,0.517578,0.0126953,0.0507813 Mat 17=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 17=0.286133,0.517578,0.0126953,0.0507813 Mat 18=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 18=0.302246,0.517578,0.0126953,0.0507813 Mat 19=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 19=0.318359,0.517578,0.0126953,0.0507813 Mat 20=data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga Crop 20=0.334473,0.517578,0.0126953,0.0507813 MatFlags=0x9 TexFmt=0x0 Drag=false BmpState=0 NeedFocus=false SelOne=false IdGroup=0 I'm wondering if maybe I could replace the material data/menu/Skins/American/gui/layout/JM-CrewSystemsManagement.tga with my own tga file?? Still not sure how cropping numerical values are generated (I understand basic principle...it tells where the pixels for a certain button, etc are located?)
__________________
https://www.facebook.com/WolvesoftheKaiser/ |
02-25-23, 10:47 AM | #8 | |
Silent Hunter
|
Quote:
__________________
there are only two things in the world: submarines and targets. Fortis et stabilis et fidelis, semper ------------------------------------------------------------ Silent Hunter 4 1.5 Gold Edition on CDROM LAA enabled Dell XPS with 32 GB Ram running Win10 |
|
02-25-23, 08:09 AM | #9 | |
Sonar Guy
|
Quote:
You can use the SH_MenuEditor. You have to change this settings: (This changes the icon size on the noticeboard.) [G61 I55] Display= 2;linear Zone= 538 326 40 40 0 1 0x61030004 1 -0.5 0x6103000A 0 0.5 10 0 [G61 I56] Display= 2;linear Zone= 510 326 40 40 0 1 0x6103000E 1 -0.5 0x61030004 0 0.5 10 0 [G61 I57] Display=2;linear Zone= 482 326 40 40 0 1 0x61030003 1 -0.5 0x6103000E 0 0.5 10 0 [G61 I58] Display= 2;linear Zone= 454 326 40 40 0 1 0x61030010 1 -0.5 0x61030003 0 0.5 10 0 This changes the iconsize on the Photo [G61 I99] Zone= 507 659 40 40 0 1 0x61050000 1 -1 0x61050003 -1 0.5 0 0 Here a little Demo with 40x40 pixel PS: Display= 0;No stretch = The graphic use the same pixel in the zoneline as in the Cropline. Display= 2;linear = the graphics from the cropline will be enlarged/minimized to the setting of the Zoneline. Take this everytime in mind Hope this helps Last edited by jimimadrid; 02-25-23 at 08:18 AM. |
|
02-19-23, 08:58 AM | #10 |
Mate
Join Date: Mar 2018
Posts: 56
Downloads: 551
Uploads: 0
|
This is technically impossible. The German and American interfaces are controlled by two differentsections of code in sh4.exe - this code works in different ways. The lever will not work for the Americans.
|
|
|