SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-18-23, 11:14 AM   #1
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,769
Downloads: 444
Uploads: 2


Default

You do kind of have that KM with the compass displaying the heading, but the game does not have the logic for you to order "Bring her to 342T NOW!!!" and have the helmsman say "Aye aye, sir! 32 degrees rudder to port, bringing her to 342T!" For one thing, I do better math than the game, and doing such as that would involve something higher than algebra ( ), like (shudder) that trig-oh-not-me stuff... "TILT TILT TILT"...

Excellent stuff jimimadrid! Now, if we could just get you the code for the executable for SH4, and have you tweak directly in there...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 02-18-23, 01:19 PM   #2
jimimadrid
spanish graphic guru
 
jimimadrid's Avatar
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 381
Downloads: 113
Uploads: 19


Default

Quote:
Originally Posted by propbeanie View Post
Now, if we could just get you the code for the executable for SH4...



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.


jimimadrid is offline   Reply With Quote
Old 02-19-23, 07:45 AM   #3
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,769
Downloads: 444
Uploads: 2


Default

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...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 02-21-23, 05:52 AM   #4
jimimadrid
spanish graphic guru
 
jimimadrid's Avatar
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 381
Downloads: 113
Uploads: 19


Default

Quote:
Originally Posted by propbeanie View Post
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...



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?
jimimadrid is offline   Reply With Quote
Old 02-24-23, 06:07 PM   #5
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,588
Downloads: 297
Uploads: 0


Default

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!!


iambecomelife is offline   Reply With Quote
Old 02-24-23, 07:23 PM   #6
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Chicago area, which is more dangerous than Omaha Beach.
Posts: 3,939
Downloads: 436
Uploads: 27


Default

Quote:
Originally Posted by iambecomelife View Post
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!!

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
KaleunMarco is offline   Reply With Quote
Old 02-25-23, 07:45 AM   #7
jimimadrid
spanish graphic guru
 
jimimadrid's Avatar
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 381
Downloads: 113
Uploads: 19


Default

Quote:
Originally Posted by KaleunMarco View Post
did he just call jimi a "scarecrow"?

Yes, that's how I always look in the morning before I dress up and put on make-up
jimimadrid is offline   Reply With Quote
Old 02-25-23, 08:09 AM   #8
jimimadrid
spanish graphic guru
 
jimimadrid's Avatar
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 381
Downloads: 113
Uploads: 19


Default

Quote:
Originally Posted by iambecomelife View Post

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.

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.
jimimadrid is offline   Reply With Quote
Old 02-19-23, 08:58 AM   #9
mazzi
Mate
 
Join Date: Mar 2018
Posts: 56
Downloads: 551
Uploads: 0
Default

Quote:
Originally Posted by jimimadrid View Post
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.
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.
mazzi is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.