SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [IDEA - REQUEST] : Pull down charts (https://www.subsim.com/radioroom/showthread.php?t=196352)

VONHARRIS 06-23-12 02:17 AM

[IDEA - REQUEST] : Pull down charts
 
In GWX there are several pull down charts (ie : convoy routes , distance charts) which are very helpful.
So I thought : How can I add a new pull down chart that will contain the data of the Torpedo failure fix from H.sie V16B1 realism pack?
I have already collected the data but I don't know how to put it in the game in the form I want.

Thank you in advance for any hepl or suggestions.
I hope I am not asking too much.

rowi58 06-23-12 05:34 PM

Hi VONHARRIS,

this is mostly very easy. First of all make a spread sheet or Word document (or what you want), save it as a TGA file and reduduce (or enlarge) it to 512x1024 pixels.

Copy that TGA file to "data/Menu/Gui/Layout".

And then, ad something like this to your "menu_1024_768.ini" file:

[G31 I27] <---Block name, very important!
Name=Target;Neuer Eintrag für Parameter der U-Boote
Type=1031;Stat bmp array
ItemID=0x31000006
ParentID=0x31000000
Pos=-250,1776,512,1024 <---position (and size) of the chart
Color=0xFFFFFFFF
Materials=1
Display=0;No stretch
Mat 0=data/Menu/Gui/Layout/Params.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFF


Warning: the above mentioned item is just an example from my CCoM (or LSH3)! You must check which number will come as the next one in your block of the "menu_1024_768.ini".

In this way, i have added some 8 charts to the navigation map in CCoM (LSH3). You can also add them to the attack map if you want.

Hope it helps. But be carefull. The "menu_1024_768.ini" is a very diffcult file.

Greetings
rowi58

VONHARRIS 06-24-12 01:22 AM

Thank you rowi58

I will start working on that.

Update:

I did it. Thank you so much for one more time.
The tga file needs a bit more resizing but that is a minor problem.

There is a screen shot

http://img442.imageshack.us/img442/4...edofailure.jpg

rowi58 06-24-12 04:07 AM

Hi VONHARRIS,

:yeah:. The rest is a little bit "trial and error" until the chart is on its final destination. It takes some time - that's all.

Glad that i could help you.

Greetings
rowi58

VONHARRIS 06-24-12 05:44 AM

Quote:

Originally Posted by rowi58 (Post 1901003)
Hi VONHARRIS,

:yeah:. The rest is a little bit "trial and error" until the chart is on its final destination. It takes some time - that's all.

Glad that i could help you.

Greetings
rowi58

Indeed.
The chart is dragable and the onlt thing needed is a small reduction in size to fit the screen.

drakkhen20 06-24-12 01:14 PM

you should collect all you have created and release it as an addon for the community.:up:

Sepp von Ch. 06-24-12 01:56 PM

Nice! Looks very good!:up:

VONHARRIS 06-24-12 11:34 PM

Quote:

Originally Posted by drakkhen20 (Post 1901221)
you should collect all you have created and release it as an addon for the community.:up:

Of course.
This is the chart in jpeg format.
http://i47.tinypic.com/20qnvc0.jpg


Download and save it (using Photoshop) as Torpedofailure.tga.
Then follow the instructions as rowi58 posted them.
In this line
Mat 0=data/Menu/Gui/Layout/Params.tga
change Params.tga to Torpedofailure.tga

and you are ready to go

IMO this is the best way since a mod will have replace the menu_1024_768.ini file which can be higly customized for each player.

Mau Fox 10-25-12 02:59 AM

Hi Von Harris!
After I've upgraded to SHIII with h.sie patch my lousy torpedoes decided Germany hadn't to win the war. :D
Hunting and trying to sink anything surfaced in bad weather made me feel like Der Alte in the Das Boot movie. That was good for realism but I knew that BDU must have issued some guidelines.
Your chart was what I was looking for! :) Thanks!

With Rowi58's easy instructions I've been able to implement the chart in my Nav room.

Since I am a history buff, I searched the "original" and came across BDU's Standing War Order n. 302. I made an "excerpt" of it and turned it into my personal game chart.
I liked to share it here.

Again, thanks to everyone of you that make SHIII more than a "game"!

Greetings and good hunting! :salute:

Mau Fox.

http://i48.tinypic.com/29covix.jpg

VONHARRIS 10-25-12 04:25 AM

@Mau Fox

Thank you for kind words
AND
Also thank you for sharing your personal chart.

Gute Jagd Herr Kaleun

alphington 10-25-12 07:37 PM

"save it as a TGA file and reduduce (or enlarge) it to 512x1024 pixels."
(from Rowi58's post)

thanks to all for these guidelines, files and ideas.

I have added the torpedo fix chart but have a question please -
Is there a way to have the chart appear in the nav screen in it's original size? Enlarging the files stretch them and lose their original effect and not enlarging them means i get a chart with 2 images joined together (in the case of Mau Fox chart) and 4 images joined together (in case of Von Harris chart).

I tried changing the line in the "menu_1024_768.ini" file to:

Pos=-250,1776,512,512 <---using 512 instead of 1026

but then the chart did not appear at all.
Also if you want the chart to appear still at the top of the screen but further to the right hand side of the screen, do you change the position variable 250 or 1776 and in which direction (lower or higher)? Sorry for all the questions!

If I can master this process I might try to add more charts :)

Thanks!

Sailor Steve 10-25-12 08:10 PM

Hi, Alphington. Just so you know, you can save yourself some trouble by using the 'Quote' function. down at the bottom right-hand corner of the post you want to quote is a button that, if you put the cursor on it, will say "Quote". All you have to do is click that button and the entire post will be quoted. Then you can erase everything you don't want and not only will it appear in a special box, but it will also say who made the quote and make a link to that post as well. It will look like this:

Quote:

Originally Posted by rowi58 (Post 1900834)
save it as a TGA file and reduduce (or enlarge) it to 512x1024 pixels.


alphington 10-25-12 08:21 PM

Thanks Sailor Steve I will use that one - good advice :salute:

Mau Fox 10-26-12 02:57 AM

Hi Alphington!

I think the problem is downloading the file from the link at Tinypics as I guess it is only for viewing purposes. I tried and actually the file comes in a different size.

If you wish I can send you the chart either in .jpg and .tga format. :)

Greetings!

Mau Fox

alphington 10-27-12 03:11 AM

Quote:

Originally Posted by Mau Fox (Post 1952778)
Hi Alphington!

I think the problem is downloading the file from the link at Tinypics as I guess it is only for viewing purposes. I tried and actually the file comes in a different size.

If you wish I can send you the chart either in .jpg and .tga format. :)

Greetings!

Mau Fox

Thanks Mau Fox! I have sent a PM please let me know if you do not receive it.


All times are GMT -5. The time now is 12:13 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.