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

Oke, here it is. Is based on the SH5 general menu and the single missions selector. The same design could be used for tutorials.

Its intuitive and simple to use. Now lets see how hard is to make it a template where anybody can edit it and add their own stuff.. this is the most important thing.

The Library main menu. Here the user can choose about what he wanna read.



Here is the next menu with the books available for the selected chapter:



On click, the book opens and looks like in the previous image posted earlier.

So how about this?
Zedi is offline   Reply With Quote
Old 03-05-11, 01:15 PM   #17
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

I like it Will take some time to code though.....
TheDarkWraith is offline   Reply With Quote
Old 03-05-11, 01:28 PM   #18
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Great! To make things easy, use the general menu layout and the historical missions selector. Let me know if you need anything else, like dimensions &stuff.

Now that we started to build this Library.. is any point in adding detailed infos in SOAN? This is a much more improved tool and offer a better reading area than SOAN...

Quote:
Originally Posted by mobucks View Post
were you going to add pictures of critical damage zones? Another post described something like that for SH3. Would be fun for gunner marksmans.
Would be nice, but I dont know is this is implemented in the game. I think the crit comes from the torpedoes, not from the ship zones. Wish I have a better answer on this...
Zedi is offline   Reply With Quote
Old 03-05-11, 01:34 PM   #19
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magnum View Post
Great! To make things easy, use the general menu layout and the historical missions selector. Let me know if you need anything else, like dimensions &stuff.

Now that we started to build this Library.. is any point in adding detailed infos in SOAN? This is a much more improved tool and offer a better reading area than SOAN...



Would be nice, but I dont know is this is implemented in the game. I think the crit comes from the torpedoes, not from the ship zones. Wish I have a better answer on this...
I think the additional info for the ship should be located in SOAN. Having to make the user click and open up something else to search for the ship doesn't sound good when the info could be located right where he is currently looking (in SOAN).
TheDarkWraith is offline   Reply With Quote
Old 03-05-11, 03:09 PM   #20
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
Need to know the following:

- a list of all the fonts you want to be available for this (found in \data\Menu\Pages\Menu_1024_768) and whether you want that font to be able to be bolded and what colors you want available for that font (if any)
- a list of all the colors you want to be available for each font (can be ANY color as the color is specified in RGBA format - 0xRRGGBBAA where RR, GG, BB, and AA are values of 0-255. The font, by default, being used is Univ_11

I have added the ability to bold text. There is one slight problem with it though. As the base text color is 0x101010FF (almost dark black) I can't make the bold text be 0xFF (solid black) because it won't stand out. We have to assign bold text a color. What should it be? Red, green, ??

EDIT:

Tried changing the bold to a color and it didn't look right. So I tried something else: increased the font size and made the color solid black:


I think that looks acceptable for bold text no?

You bold text by wrapping it in <b>....</b> tags where .... is the text to be bolded

Now we should be able to imbed images in the text also. Going to try and make that work now.....

EDIT2:

Wouldn't you know it, no documentation on the stylesheets the game uses either I have no way of knowing what properties the stylesheets can use Once again have to rely on code to do my dirty work Although the ScriptManager says you can use <img> tags in the stylesheets, without documentation it's worthless. I'll try coding something to allow images to be specified in the text.
Not sure I understood this.. we can use html tags to format text. Like <b> and </b> for adding bold? Is this available also for italic? The bold txt will be automaticaly black or we also need to add the color info tag?

To embed images is enough to add the <img> tag, or it requires a path to the image?

Adding colored text is not needed, could be confusing as usually colored txt are for links.
Zedi is offline   Reply With Quote
Old 03-05-11, 03:27 PM   #21
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magnum View Post
Not sure I understood this.. we can use html tags to format text. Like <b> and </b> for adding bold? Is this available also for italic? The bold txt will be automaticaly black or we also need to add the color info tag?

To embed images is enough to add the <img> tag, or it requires a path to the image?

Adding colored text is not needed, could be confusing as usually colored txt are for links.
I have defined the <b> and </b> tags in the stylesheet so by wrapping text with those tags you can bold the text. No need to specify color as it's already taken care of.

Italic can be available but we need the fonts redone with italics to make it work. So we'd need something like Univ_11_Italic

I'm working on embedding images. The tags I'm defining for them are <image> and <imageend>. It will default to looking in a predetermined folder that I'll specify when it's complete. You just need to specify the image name and extension (i.e. <image>Test_Image1.dds<imageend>). You cannot specify a path to the image, you can only specify the filename.
TheDarkWraith is offline   Reply With Quote
Old 03-05-11, 03:53 PM   #22
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

@ TDW and Magnum

Started the SOAN info for tankers.
Can you confirm that I need to start a AIT file with:-

[Additional info]
AIText=##########

Do we need to end with an end command?

Thanks
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-05-11, 05:33 PM   #23
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
@ TDW and Magnum

Started the SOAN info for tankers.
Can you confirm that I need to start a AIT file with:-

[Additional info]
AIText=##########

Do we need to end with an end command?

Thanks
Yes, that's correct. No end command needed. Look at the NLL's .ait file included in test version 8 for an example.
TheDarkWraith is offline   Reply With Quote
Old 03-05-11, 06:16 PM   #24
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
Yes, that's correct. No end command needed. Look at the NLL's .ait file included in test version 8 for an example.
Thanks TDW





Is there a max file size for AIT. So far I can only get just over 2 pages of text
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-05-11, 06:25 PM   #25
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

shouldn't be. Are you getting text that is clipped?
TheDarkWraith is offline   Reply With Quote
Old 03-05-11, 06:31 PM   #26
bert8for3
Ace of the Deep
 
Join Date: Dec 2005
Location: Canada
Posts: 1,124
Downloads: 110
Uploads: 0
Default

I'd be happy to help a bit; just let me know what I can do.
__________________
bert8for3 is offline   Reply With Quote
Old 03-05-11, 06:35 PM   #27
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
shouldn't be. Are you getting text that is clipped?
Yes, text was cut off mid sentance.

I will check the file of errors.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-05-11, 06:39 PM   #28
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by bert8for3 View Post
I'd be happy to help a bit; just let me know what I can do.
Great news Bert

So far Magnum is doing the merchants and I am doing the tankers.
There is a small download on post 1 from Magnum with the data files in place.
If you need help setting up a .ait file, let me know
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-05-11, 06:45 PM   #29
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
shouldn't be. Are you getting text that is clipped?
Sorry, found the error.

The text I copied from a site had a ";" within it
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-05-11, 06:50 PM   #30
Sailor Steve
Eternal Patrol
 
Sailor Steve's Avatar
 
Join Date: Nov 2002
Location: High in the mountains of Utah
Posts: 50,369
Downloads: 745
Uploads: 249


Default

This is an interesting project. Will it end up being a part of the library, part of the game, or part of the actual recognition manual?

I ask because while I love history as much as anyone, the majority of that information is hindsight, and no WW2 captain had anything like that.

Not meaning to be negative. I'm more curious than critical.
__________________
“Never do anything you can't take back.”
—Rocky Russo
Sailor Steve 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 08:21 AM.


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.