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 04-26-10, 05:06 PM   #1111
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
a good example that's quick to get to is in the chalkboard mod by ottos.....

Ok I had download that but there was only a dds file in it. I prob downloaded an update rather than the original. Will check out his thread again.
Cheers

loooking forward to V1.9.0

Ps. did you get my previous PM's regarding my Mod (Not sure as your Mailbox gats full fast these days )
reaper7 is offline   Reply With Quote
Old 04-26-10, 06:37 PM   #1112
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

ok I lied....one more thing to add to v1.9.0 - making the messagebox draggable so you can put it where you want

I think we need to add 2 more draggable charts to the nav map....what should they be?

If someone can come up with a better speed chart than I have included please send it my way and I'll include it in the next version.

And how about some more ideas?? You all gave me great ideas for v1.9.0. Keep 'em coming.....

Last edited by TheDarkWraith; 04-26-10 at 06:53 PM.
TheDarkWraith is offline   Reply With Quote
Old 04-26-10, 07:03 PM   #1113
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
ok I lied....one more thing to add to v1.9.0 - making the messagebox draggable so you can put it where you want

I think we need to add 2 more draggable charts to the nav map....what should they be?

If someone can come up with a better speed chart than I have included please send it my way and I'll include it in the next version.

And how about some more ideas?? You all gave me great ideas for v1.9.0. Keep 'em coming.....

How about a shipping lanes chart - Since we never got one this time in the box. I created one if you want it:
http://www.subsim.com/radioroom/down...o=file&id=1593

reaper7 is offline   Reply With Quote
Old 04-26-10, 07:17 PM   #1114
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
How about a shipping lanes chart - Since we never got one this time in the box. I created one if you want it:
http://www.subsim.com/radioroom/down...o=file&id=1593

whoa cool.....is this valid for SH5?? If so, I lied again.....this needs to be added to v1.9.0!

EDIT:

messagebox being draggable isn't going to make it into v1.9.0. Needs more work than I thought it would to make it work correctly.
TheDarkWraith is offline   Reply With Quote
Old 04-26-10, 07:37 PM   #1115
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
whoa cool.....is this valid for SH5?? If so, I lied again.....this needs to be added to v1.9.0!

EDIT:

messagebox being draggable isn't going to make it into v1.9.0. Needs more work than I thought it would to make it work correctly.
It should be. Someone had posted a scanned in version from the SH5 Box set where the Map was an Extra. (Didn't like the washed out brown look of the original, So redone it).

Map graphics were taken of the web form a earthquake mapping site so all the trench and fault names are on the map plus depth is shown in colour.
reaper7 is offline   Reply With Quote
Old 04-26-10, 07:51 PM   #1116
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Reaper's shipping chart added (I had to resize it to minimize use of texture memory - the original size was huge!):
TheDarkWraith is offline   Reply With Quote
Old 04-26-10, 07:52 PM   #1117
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
I think we need to add 2 more draggable charts to the nav map....what should they be?
knots in meters per minute and knots in km per hour.

The others from SH3 were Flags and Minefields and convoys. Though, those will be of limited use till 1.2 allows importing of other ships and something fixes the convoys, basically a player campaign. heh

The dragable map tools or attack wheels would be cool too, from MaGui if possible.
__________________

kylania is offline   Reply With Quote
Old 04-26-10, 08:05 PM   #1118
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
knots in meters per minute and knots in km per hour.

The others from SH3 were Flags and Minefields and convoys. Though, those will be of limited use till 1.2 allows importing of other ships and something fixes the convoys, basically a player campaign. heh

The dragable map tools or attack wheels would be cool too, from MaGui if possible.
adding the two charts you sent me now.....
TheDarkWraith is offline   Reply With Quote
Old 04-26-10, 08:12 PM   #1119
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

QUOTE=TheDarkWraith;1374548]Reaper's shipping chart added (I had to resize it to minimize use of texture memory - the original size was huge!):
[/QUOTE]

You should see my Photshop version. That was using the most compression I could get away with .
I should have the SH5 Logo on a seperate layer if you want a version without the Logo.

Last edited by reaper7; 04-26-10 at 08:33 PM.
reaper7 is offline   Reply With Quote
Old 04-26-10, 08:31 PM   #1120
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Speed tables added that were sent to me by kylania. Tooltips added to all the draggable charts - draggable compass doesn't get one.

Current draggable charts:
- Shipping chart by reaper7
- Tabelle Std
- Tabelle Min

Current draggable tools:
- compass

TheDarkWraith is offline   Reply With Quote
Old 04-26-10, 08:34 PM   #1121
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Hi DW, I've been trying the Draggable code, but no luck. Can you see anything obvious.
This is for an Attack Disc like that in OLC and MUI Mods:

Pageobsperiscope_AttackDisc is the Menu Group that all the Bmp Array Images for the dials are contained in.
The Drag Icon appears in the game once the mouse is placed over the Attack Disc, but it won't budge.

Code:
#Page obs periscope.py
from menu import *
from game import Game
# Globals
 
RAOBFShown = False
 
def InitializeScript():
 SetAttackDisc_Drag()
 Pageobsperiscope_ShipContext_LockButton.Visible = False
 Pageobsperiscope_ShipContext_UpArrow.Visible = False
 Pageobsperiscope_ShipContext_DownArrow.Visible = False
 Pageobsperiscope_LockToggle.Clicked += LockToggle
 Pageobsperiscope_RAOBFToggle.Visible = True
 Pageobsperiscope_RAOBFToggle.Clicked += RAOBFToggle
 RAOBFToggle( None ) 
 LockToggle( None )
 
def StartGame():
 Pageobsperiscope_RAOBF.Visible = False
 pass
 
def SetAttackDisc_Drag():
 h = Pageobsperiscope_AttackDisc.AddMoveFixedSizeHandle()
 h.SetSnapParent( Pageobsperiscope_AttackDisc, MenuItemWrapper.LocationPresets.Center)
 s = Pageobsperiscope_AttackDisc.Size
 h.Resizability = MenuItemWrapper.ResizabilityTypes.NoAspectRatioConstraint
 h.Resize( s.Width, s.Height, False )
 
def LockToggle( sender ):
 Game.SubmarineCommands.ExecuteCommand(  "Toggle_lock_target" )
 
def RAOBFToggle( sender ):
 global RAOBFShown
 RAOBFShown = not RAOBFShown
 Pageobsperiscope_RAOBF.Visible = not RAOBFShown
 Pageobsperiscope_Compass.Visible = RAOBFShown
 Pageobsperiscope_Compassbkgr.Visible = RAOBFShown
 
def EndGame():
 pass
def UnloadScript():
 Pageobsperiscope_LockToggle.Clicked -= LockToggle
 Pageobsperiscope_RAOBFToggle.Clicked -= RAOBFToggle
 pass
I was thinking to start a new Thread down the road to show different scripts for Silent Hunter 5 for anyone with no scripting experience - king of like a SH5 Scripting wiki.

E.g to show Examples of basic things in scripting like Making a button work or Hidding/showing items.
Something that everyone could add examples to.
reaper7 is offline   Reply With Quote
Old 04-26-10, 08:41 PM   #1122
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Quote:
Originally Posted by reaper7 View Post
I was thinking to start a new Thread down the road to show different scripts for Silent Hunter 5 for anyone with no scripting experience - king of like a SH5 Scripting wiki.

E.g to show Examples of basic things in scripting like Making a button work or Hidding/showing items.
Something that everyone could add examples to.
That's a really great idea!
__________________

kylania is offline   Reply With Quote
Old 04-26-10, 08:53 PM   #1123
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by kylania View Post
That's a really great idea!
Thanks, its something that I sure could have used

Was thinking to do it very basic, i.e. single page examples in the following form:

Example: To Hide an Item

Code Structure
Code:
 
 
def: InitializeScript ()
 
 PageName_ParentGroupName_ControlName.Visible = True or False
Followed by a real example

Code:
 
 
def: InitializeScript ()
 
 Pageattackperiscope_AOBF_AOBFToggle.Visible = True
Above being possibly the most simple. The idea being that anyone could view it and pick out the type of function they need and copy and paste - just changing the nesseceary page and control names to theres.
reaper7 is offline   Reply With Quote
Old 04-26-10, 08:59 PM   #1124
wetgoat
Loader
 
Join Date: Mar 2005
Posts: 87
Downloads: 101
Uploads: 0
Default

Had to reinstall win 7 over the weekend. No big deal, as I had most of my stuff saved to disk. Problem is... reinstalled sh5 (works fine) but when I try to open this mod to the version I want, my computer tells me that it can't open a py file. Must be missing a program or something, but have been unable to figure it out. Everything worked fine before win7 reinstall. Any help with this problem would be very much appreciated.
wetgoat is offline   Reply With Quote
Old 04-26-10, 09:00 PM   #1125
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by wetgoat View Post
Had to reinstall win 7 over the weekend. No big deal, as I had most of my stuff saved to disk. Problem is... reinstalled sh5 (works fine) but when I try to open this mod to the version I want, my computer tells me that it can't open a py file. Must be missing a program or something, but have been unable to figure it out. Everything worked fine before win7 reinstall. Any help with this problem would be very much appreciated.
you can open the file up with Notepad.exe
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

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 08:57 PM.


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