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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-14-10, 09:01 PM   #1
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

You can edit the scripts via the Script editor. Run the game in a window, then right click on the title bar to start the editor (one of the menu items). Each time you save the script it is reloaded so it's easy to test...
skwasjer is offline   Reply With Quote
Old 03-14-10, 09:31 PM   #2
Vorkapitan
Samurai Navy
 
Join Date: May 2006
Posts: 594
Downloads: 1367
Uploads: 0
Default

Sywasjer,

I was trying do do this "Open up Silent Hunter 5\data\scripts\menu\Page Default Hud.py
Search for:
def SetMiniMap( boolvalue ):
Look down a few lines and change these values to True:
Code:
PageDefaultHud_MapGroup_ParallelCourseButton.Visib le = False
PageDefaultHud_MapGroup_InterceptCourseButton.Visi ble = FalseThat's it."

I can't find it/or the method to do it.
Thanks for the info.
__________________
__________________________________________________ ________
__________________________________________________ ________



Joe
Vorkapitan is offline   Reply With Quote
Old 03-15-10, 02:50 AM   #3
gutted
The Old Man
 
Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,379
Downloads: 487
Uploads: 11
Default

I'm sorta lost.

I was looking to add a thing or two into the UI. As a alittle "test" for myself i was just gonna do something simple like put an image onto the TDC page, and i was gonna have it rotate with the scope. Well I THOUGHT it would be pretty easy, as i have the mod that enables the TDC dials (by DarkWraith).. and i could just look at how the bearing dial works by peeking in the files that came with the mod.

No Joy.

I've got the graphic showing in-game no problem using the menu editor. But looking through the files that came with the TDC mod.. i just dont see where the bearing dial's hand is tied to the scope anywhere. I've looked through the .ini files, i've looked at the relevant scripts.. and i just dont see it.

If i could figure this one example out, it would go a long way to understanding how the UI modding works.
__________________


Solution Solver 2.3.2 - Visual Targeting Tools & Aids
gutted is offline   Reply With Quote
Old 03-15-10, 10:07 AM   #4
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Hi Gutted are you trying to port the AoB calculator into SH5. Nice good luck with it.

Being going over this thread trying to figure out how to mod stuff into the UI, but its all gone over my head.
Maybe someone like a Dev or TheDarkWraith (No1 in UI mods to date) could do up a bacic tutorial on say getting in a custom dial and tying it into the interface. Hint hint... Please

Last edited by reaper7; 03-15-10 at 10:44 AM.
reaper7 is offline   Reply With Quote
Old 03-15-10, 11:48 AM   #5
gutted
The Old Man
 
Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,379
Downloads: 487
Uploads: 11
Default

I eventually intend to do that if i haven't given up on UI modding by then LOL.

Right now im just trying to figure it out, and see if i can get something spinning on the screen.
__________________


Solution Solver 2.3.2 - Visual Targeting Tools & Aids
gutted is offline   Reply With Quote
Old 03-15-10, 11:49 AM   #6
SteveTRM
Sailor man
 
Join Date: Mar 2007
Posts: 46
Downloads: 6
Uploads: 0
Default

These have obviously been left in by the devs - i personally dont think its a mistake by them - perhaps they where pissed with UBI soft aswell lol.

SH5 may have lots of bugs and many have moaned about its problems but to have access like this to a game is worth every penny i paid for it.

It has huge possiblities to the point where previous versions of Silent Hunter could be added to the game, i wonder how long it will be before some of the excellent modders here port over SH4 uboat missions lol

Perhaps SH5 will be the last in the series - but look what they have given us, all we need now is to get rid of the DRM!
SteveTRM is offline   Reply With Quote
Old 03-15-10, 12:09 PM   #7
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

How do you import a 'stat bmp array'. Do not see anywhere to import bmp files only .dds files.
But when I try to import my own .dds files the editor crashes (windows 7).
reaper7 is offline   Reply With Quote
Old 03-15-10, 12:29 PM   #8
gutted
The Old Man
 
Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,379
Downloads: 487
Uploads: 11
Default

what settings are you using to save the .dds?

I used DXT3 with no mipmaps and it loaded just fine. not really sure what the game expects though.
__________________


Solution Solver 2.3.2 - Visual Targeting Tools & Aids
gutted 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 01:33 PM.


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