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-01-11, 11:53 AM   #6556
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
Yes it is very possible to do something like that. I can even add additional pages if necessary via the arrows at the bottom like you have. I could add a Page x at the top denoting what page you are currently viewing.

Now here's another idea: We can leave the ship image on the left side of the page and on the right side add a listbox. The list box is scrollable and thus we can put an unlimited amount of text in it and the user can scroll it to read everything. You can see an example of the listbox with the flags and countries on the right side of the page currently.

Yep, sound good and it's more easy to implement than adding multiple pages.

This is what I added in the NLL cfg now:

-----------------------------------
[AdditionalInfo]
2,718 built by 17 shipyards located along the Atlantic, Pacific and Gulf coasts. Highest number (385) were built by Bethlehem-Fairfield Shipyards, Inc. in Baltimore.The Liberty ships are between 400 and 450 feet long (120 - 140 m) and 56 feet (17.3 m) wide. They use a 2,500 horsepower steam engine to push them through the water at 11 knots at a range of 23,000 miles (37,000 km). Liberty ships have five cargo holds, three forward of the engine room and two aft (in the rear portion of the ship). Each could carry 10,800 deadweight tons (the weight of cargo a ship can carry) or 4,380 net tons (the amount of space available for cargo and passengers).

The crew quarters are located amidships (the middle portion of the ship). Crew consist of between 38 and 62 civilian merchant sailors, and 21 to 40 naval personnel to operate defensive guns and communications equipment.The first of these new ships was launched on September 27, 1941. Based on a British design, modified by the United States Maritime Commission to conform to American construction practices and to make it even quicker and cheaper to build. The US version was designated 'EC2-S-C1': 'EC' for Emergency Cargo, '2' for a ship between 400 and 450 feet (120 and 140 m) long (Load Waterline Length), 'S' for steam engines, and 'C1' for design C1.
-----------------------------------

This should be enough for now to make the template.
Zedi is offline   Reply With Quote
Old 03-01-11, 12:34 PM   #6557
mobucks
Seasoned Skipper
 
Join Date: Jan 2010
Posts: 713
Downloads: 209
Uploads: 0
Default

Sank an inland freighter, the DMmarker showed it sank onland. (random offset?)

Not using RealNav.
mobucks is offline   Reply With Quote
Old 03-01-11, 12:35 PM   #6558
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

This is something I should've done a long time ago. The draggable SH5 heading/rudder dial doesn't zoom like the dials do in the SH3/4 styles. Now it does. You can now specify if it zooms and also the zoom level:
TheDarkWraith is offline   Reply With Quote
Old 03-01-11, 01:49 PM   #6559
Jaeger
Chief
 
Join Date: Jul 2005
Posts: 316
Downloads: 28
Uploads: 0
Default

@magnum: impressive work. i like it

@tdw: do we have high res images for the zoomed dials? the compass needs some high res textures for a better reading. i think we can take them from antoher sh3/sh4 mod???
__________________
Everything comes to him who waits
Jaeger is offline   Reply With Quote
Old 03-01-11, 01:55 PM   #6560
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Thanks.

Church just released today a compass, maybe he has some high res textures too.
Zedi is offline   Reply With Quote
Old 03-01-11, 02:53 PM   #6561
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
This is something I should've done a long time ago. The draggable SH5 heading/rudder dial doesn't zoom like the dials do in the SH3/4 styles. Now it does. You can now specify if it zooms and also the zoom level
This is great news TDW

@Magnum
New SOAN is looking great. very good idea adding the info
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-01-11, 03:14 PM   #6562
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by mobucks View Post
Sank an inland freighter, the DMmarker showed it sank onland. (random offset?)

Not using RealNav.
It's possible this can happen due to rounding and floating point errors (which I can't control). Can you post a screenshot of it though?
TheDarkWraith is offline   Reply With Quote
Old 03-01-11, 06:01 PM   #6563
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magnum View Post
Yep, sound good and it's more easy to implement than adding multiple pages.

This is what I added in the NLL cfg now:

-----------------------------------
[AdditionalInfo]
2,718 built by 17 shipyards located along the Atlantic, Pacific and Gulf coasts. Highest number (385) were built by Bethlehem-Fairfield Shipyards, Inc. in Baltimore.The Liberty ships are between 400 and 450 feet long (120 - 140 m) and 56 feet (17.3 m) wide. They use a 2,500 horsepower steam engine to push them through the water at 11 knots at a range of 23,000 miles (37,000 km). Liberty ships have five cargo holds, three forward of the engine room and two aft (in the rear portion of the ship). Each could carry 10,800 deadweight tons (the weight of cargo a ship can carry) or 4,380 net tons (the amount of space available for cargo and passengers).

The crew quarters are located amidships (the middle portion of the ship). Crew consist of between 38 and 62 civilian merchant sailors, and 21 to 40 naval personnel to operate defensive guns and communications equipment.The first of these new ships was launched on September 27, 1941. Based on a British design, modified by the United States Maritime Commission to conform to American construction practices and to make it even quicker and cheaper to build. The US version was designated 'EC2-S-C1': 'EC' for Emergency Cargo, '2' for a ship between 400 and 450 feet (120 and 140 m) long (Load Waterline Length), 'S' for steam engines, and 'C1' for design C1.
-----------------------------------
This should be enough for now to make the template.
Ok, coded in and working

Notice the ADDITIONAL INFO button located below the stats (length, width, mast, etc.):


Clicking that button will show the additional info:


The additional info text scrolls. To scroll the text place mouse in text and use mousewheel. Press CLOSE to close additional info and go back to stats.

@Magnum: here's how the NLL.cfg file looks now:

[Unit]
ClassName=LL
3DModelFileName=data/Sea/NLL/NLL
UnitType=102
MaxSpeed=13
Length=140.91
Width=21.35
Mast=26.18
Draft=8.20
Displacement=7170
DisplacementVariation=5
RenownAwarded=220
CrewComplement=40
SurvivalRate=70
SurvivalPercentage=40
RecManualCategory=Freighter
BowShape=Raked
Superstructure=Composite
Islands=None
ShowInRecognitionManual=Yes

[AdditionalInfo]
AIText=2,718 built by 17 shipyards located along the Atlantic, Pacific and Gulf coasts. Highest number (385) were built by Bethlehem-Fairfield Shipyards, Inc. in
Baltimore.| |The Liberty ships are between 400 and 450 feet long (120 - 140 m) and 56 feet (17.3 m) wide. They use a 2,500 horsepower steam engine to push them
through the water at 11 knots at a range of 23,000 miles (37,000 km). Liberty ships have five cargo holds, three forward of the engine room and two aft (in the
rear portion of the ship). Each could carry 10,800 deadweight tons (the weight of cargo a ship can carry) or 4,380 net tons (the amount of space available for
cargo and passengers).| |The crew quarters are located amidships (the middle portion of the ship). Crew consist of between 38 and 62 civilian merchant sailors,
and 21 to 40 naval personnel to operate defensive guns and communications equipment.| |The first of these new ships was launched on September 27, 1941. Based on a
British design, modified by the United States Maritime Commission to conform to American construction practices and to make it even quicker and cheaper to build.
The US version was designated 'EC2-S-C1': 'EC' for Emergency Cargo, '2' for a ship between 400 and 450 feet (120 and 140 m) long (Load Waterline Length), 'S' for
steam engines, and 'C1' for design C1.

;************ THE END ***********

Notice the AIText= entry. Any text after the equals sign will be shown in the additional info
Notice the | | entries. Those signify a blank line. A single | signifies new line (carriage return + linefeed)



EDIT:

I see one problem with our configuration: different languages! We should move this additional info to it's own file (something like NLL.ait located in the same folder as the NLL.cfg) so that users of other languages can make their own additional info texts. I'm going to change the code to do this. The new file should have the class name and .ait as the extension. So in this example the new file would be NLL.ait and it's contents would be:

[AdditionalInfo]
AIText=2,718 built by 17 shipyards located along the Atlantic, Pacific and Gulf coasts. Highest number (385) were built by Bethlehem-Fairfield Shipyards, Inc. in
Baltimore.| |The Liberty ships are between 400 and 450 feet long (120 - 140 m) and 56 feet (17.3 m) wide. They use a 2,500 horsepower steam engine to push them
through the water at 11 knots at a range of 23,000 miles (37,000 km). Liberty ships have five cargo holds, three forward of the engine room and two aft (in the
rear portion of the ship). Each could carry 10,800 deadweight tons (the weight of cargo a ship can carry) or 4,380 net tons (the amount of space available for
cargo and passengers).| |The crew quarters are located amidships (the middle portion of the ship). Crew consist of between 38 and 62 civilian merchant sailors,
and 21 to 40 naval personnel to operate defensive guns and communications equipment.| |The first of these new ships was launched on September 27, 1941. Based on a
British design, modified by the United States Maritime Commission to conform to American construction practices and to make it even quicker and cheaper to build.
The US version was designated 'EC2-S-C1': 'EC' for Emergency Cargo, '2' for a ship between 400 and 450 feet (120 and 140 m) long (Load Waterline Length), 'S' for
steam engines, and 'C1' for design C1.

Last edited by TheDarkWraith; 03-01-11 at 06:25 PM.
TheDarkWraith is offline   Reply With Quote
Old 03-01-11, 06:03 PM   #6564
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

congrat guys... the things changes in better every day...
stoianm is offline   Reply With Quote
Old 03-01-11, 06:12 PM   #6565
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Noob question , is 1920 x 1080 = 16x9 ?
Is Manos Scopes-patch for 16x9 the base file ?
THE_MASK is offline   Reply With Quote
Old 03-01-11, 06:13 PM   #6566
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

Quote:
Originally Posted by sober View Post
Noob question , is 1920 x 1080 = 16x9
yes ( i do like this 1920/1080=16/9=1.77)
nope - you must put this one after manos scope core
stoianm is offline   Reply With Quote
Old 03-01-11, 06:20 PM   #6567
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

@Magnum: code changed to use class name.ait for the additional info. So if you take the folder name of the ship and add .ait to it I'll find the file and read in the info
TheDarkWraith is offline   Reply With Quote
Old 03-01-11, 06:24 PM   #6568
Drewcifer
Commodore
 
Join Date: Jul 2009
Location: Michigan, USA
Posts: 601
Downloads: 38
Uploads: 0
Default

I LOVE the new SOAN!! tdw, Magnum GREAT job its a sleek new look and the additional info just adds that lil bit extra that makes your mod a better experience.
Drewcifer is offline   Reply With Quote
Old 03-01-11, 06:35 PM   #6569
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I can add more info to SOAN. I'd like to see info on weapons onboard along with the kind of ASW the ship has. These can be added via more entries in the x.ait file and I can read them in and display.

We could add formatting to the text to say that x text can only be displayed during y timeperiod.
TheDarkWraith is offline   Reply With Quote
Old 03-01-11, 06:52 PM   #6570
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Just brilliant. Too tired to follow all info posted now, but I will tommorow. This is really cool.

Just discovered the tutorial tool in this mod and saw few made by Trevally. This gave me an idea... to make a tutorial that will be pure lecture for long travels. Like u-boot/war stories with rich image feedback. Is the next stuff 2 do for me after SOAN. Great tools you had built here TDW, they just need to be used a bit better than now.

Thanks
Zedi 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 05:07 AM.


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.