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-10-11, 11:55 AM   #76
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

that looks really neat Trevally with those embedded pictures
TheDarkWraith is offline   Reply With Quote
Old 03-10-11, 12:01 PM   #77
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

yes it adds a real feeling to the game. Finding out all the real
ships names, crew and did they survive the war.

Some great stories out there of these brave guys when you are looking into
this stuff.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-10-11, 12:53 PM   #78
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

@TDW,

Can only one image be added

Looks like the last one loaded overrides the others.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-10-11, 02:03 PM   #79
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
that's the incorrect .ait file for NLL. Try downloading test version 9 from post #1 again. The NLL.ait file should have 4 to 5 commented out lines at the beginning of it describing the ait file system and how to use it:

; defines the additional info displayed for this vessel
; to define bold text wrap the text in <b> and </b> tags
; images to be embedded into the additional info text are to be placed in '\data\menu\gui\Additional info sea images' folder
; maximum image size is 404 x 256
; to imbed images in the text add the <img> and </img> tags. Note: width and height are defined in the image tags. i.e. <img>200,65,test_embedded_image_1.dds</img>
Lemme get this clear.

- There is need to add path for embedded images? If not, <img>200,65,Liberty01.dds</img> is enough to show the image?
- Whats the default image folder for embedded images? 'Additional info sea images' or 'Tutorial Images' folder ?
- The img need to be dds or any other format is accepted?
- Is not enough to write only the width of the image? So if the image will be replaced, only the width need to be kept.

For me is a lot of work to do now .. so ofc, if anybody else can hop in and help, pls do. I try to reformat the merchants, capital ships, carriers and also add images.. but this will take time. Pretty much.

Anyway, its looking good so far but still long way to go to make it looking really good. Any new on the Library app?
Zedi is offline   Reply With Quote
Old 03-10-11, 02:14 PM   #80
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by Magnum View Post
Lemme get this clear.

- There is need to add path for embedded images? If not, <img>200,65,Liberty01.dds</img> is enough to show the image?

Yes there is no path needed.

- Whats the default image folder for embedded images? 'Additional info sea images' or 'Tutorial Images' folder ?

"Additional info sea" is the folder to use.

- The img need to be dds or any other format is accepted?

Has to be dds.

- Is not enough to write only the width of the image? So if the image will be replaced, only the width need to be kept.

Width is first "200" in your example and height is next "65"

For me is a lot of work to do now .. so ofc, if anybody else can hop in and help, pls do. I try to reformat the merchants, capital ships, carriers and also add images.. but this will take time. Pretty much.

Take your time Magnum there is not hurry

Anyway, its looking good so far but still long way to go to make it looking really good. Any new on the Library app?

@TDW, can you change the scroll with mouse to one line at a time
See yellow
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-10-11, 02:41 PM   #81
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

scroll with mouse one line at a time? Very hard to do because of the way the game's listbox control works. You add items to the listbox and each item is a line to the listbox control.

You are unable to add multiple images to the additional info text?
TheDarkWraith is offline   Reply With Quote
Old 03-10-11, 02:59 PM   #82
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Wow.. now look at this:



Is this nice or what?! I will use this for Liberty, so people will know where to aim. Yummmie..

Is this possible to keep only the width restriction of the images, and let the height free?
Zedi is offline   Reply With Quote
Old 03-10-11, 02:59 PM   #83
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
scroll with mouse one line at a time? Very hard to do because of the way the game's listbox control works. You add items to the listbox and each item is a line to the listbox control.

You are unable to add multiple images to the additional info text?
Ok thanks. I shall try and keep the text to each AItext command small.
I take that "AIText=####" is an item

For the image, yes I tried with 2 pics and the last image in the command
list was shown in both image areas. The size command was correct for
each area.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-10-11, 03:02 PM   #84
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by Magnum View Post
Wow.. now look at this:

Is this nice or what?! I will use this for Liberty, so people will know where to aim. Yummmie..
Good find Magnum
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-10-11, 03:39 PM   #85
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magnum View Post
Wow.. now look at this:Is this nice or what?! I will use this for Liberty, so people will know where to aim. Yummmie..

Is this possible to keep only the width restriction of the images, and let the height free?
You need to specify width and height for each image. This would be great to verify the zones for the ship in it's .zon file!

Quote:
Originally Posted by Trevally. View Post
Ok thanks. I shall try and keep the text to each AItext command small.
I take that "AIText=####" is an item

Yes

For the image, yes I tried with 2 pics and the last image in the command
list was shown in both image areas. The size command was correct for
each area.

I may need to define multiple images then. I'll look into this when I'm back in my hotel room.
see above in yellow.
TheDarkWraith is offline   Reply With Quote
Old 03-10-11, 04:25 PM   #86
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Dunno what Im doing wrong, but the additional info not show up at any ship using v10. The link is white, but the ait files are there, in the Sea folders...
Zedi is offline   Reply With Quote
Old 03-10-11, 04:44 PM   #87
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Check that you are ending with "[AdditionalInfoEnd]"

note: no spaces in the []

If its not that, send me one and I can have a look
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-10-11, 05:33 PM   #88
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Seems like I missed few important changes.

Ok, lets do a template here so we make sure there will be no mistake done.

[Additional info]
AIText=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam non convallis magna. Nulla quis congue erat. Vestibulum at purus eget nisi feugiat lobortis. Nullam risus nunc, posuere ac gravida sed, pellentesque non est. Donec lacinia nisl ac erat elementum hendrerit imperdiet orci pellentesque.| |<img>380,256,MyImage.dds</img>
; paragraph 2
AIText=<b>Nunc at facilisis eros.</b>|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam non convallis magna. Nulla quis congue erat. Vestibulum at purus eget nisi feugiat lobortis. Nullam risus nunc, posuere ac gravida sed, pellentesque non est. Donec lacinia nisl ac erat elementum hendrerit imperdiet orci pellentesque.| |<img>380,256,MyImage2.dds</img>
; paragraph 3
AIText=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam non convallis magna. Nulla quis congue erat. Vestibulum at purus eget nisi feugiat lobortis.|
[AdditionalInfoEnd]

Is this correct? If not, please correct me.
Zedi is offline   Reply With Quote
Old 03-10-11, 05:40 PM   #89
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by Magnum View Post
Seems like I missed few important changes.

Ok, lets do a template here so we make sure there will be no mistake done.

[Additionalinfo] **no space**
AIText=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam non convallis magna. Nulla quis congue erat. Vestibulum at purus eget nisi feugiat lobortis. Nullam risus nunc, posuere ac gravida sed, pellentesque non est. Donec lacinia nisl ac erat elementum hendrerit imperdiet orci pellentesque.| |
AIText=<img>380,256,MyImage.dds</img> **add text command**
; paragraph 2
AIText=<b>Nunc at facilisis eros.</b>|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam non convallis magna. Nulla quis congue erat. Vestibulum at purus eget nisi feugiat lobortis. Nullam risus nunc, posuere ac gravida sed, pellentesque non est. Donec lacinia nisl ac erat elementum hendrerit imperdiet orci pellentesque.| |
AIText=<img>380,256,MyImage2.dds</img> **add text command**
; paragraph 3
AIText=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam non convallis magna. Nulla quis congue erat. Vestibulum at purus eget nisi feugiat lobortis.|
[AdditionalInfoEnd]
Note: I added text commands to the images. If you ment to have small
images at the end of a sentance, then you dont need to do this.

Edit: the second image will overwrite the first. TDW is looking at a fix for this.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-10-11, 06:05 PM   #90
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

No luck, the Additional Info is still white. Changed only the Liberty ait for test purpose.. maybe that the reason. If ur done with the tankers, upload them again so I take a look on those files and compare it with mine.

And btw, for some reason at NKL I have displayed as title Large Steamer but with the Liberty sil. Something is very wrong at me..
Zedi 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 05:50 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.