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, 02:03 PM   #1
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   #2
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   #3
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   #4
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   #5
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   #6
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   #7
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   #8
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   #9
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
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:18 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.