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 > Silent Hunter 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-25-11, 03:17 PM   #1
7Infanterie19
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default Need to know about map item placements

I'm not sure if this should be in this forum or the SH5 mods workshop forum, but here goes:

Would someone please explain how the map coordinates work for placing items, such as the ruler, compass, etc., and which ones need to be changed in order to move an item right, left, up, down, or to a completely different part of the map? And what does Display=0;No stretch do?


Here's an example for the ruler from Page navigation.ini located in \data\menu\pages. What needs to be changed to perhaps move this ruler to the upper right part of the map, for example?

[G31 I72]
Name=Ruler
Type=1032;Button
ItemID=0x311A0004
ParentID=0x311A0000
Pos=124,-1,40,40
Zone= 730 768 40 40 0 1 0x311A0000 0.299517 -0.0238095 0x311A0004 0 0 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/maptools.dds
Crop 0=0,0.320313,0,0
Mat 1=data/menu/gui/maptools.dds
Crop 1=0,0.320313,0,0
Mat 2=data/menu/gui/maptools.dds
Crop 2=0,0.480469,0,0
Mat 3=data/menu/gui/maptools.dds
Crop 3=0,0.480469,0,0
MatFlags=0x9
TexFmt=0x0
Font=19
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2249


Thanks in advance!
  Reply With Quote
Old 03-05-11, 01:27 PM   #2
7Infanterie19
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Anyone?
  Reply With Quote
Old 03-05-11, 01:38 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

enable the menu editor. It's much easier to move/edit/add/remove menu items this way
TheDarkWraith is offline   Reply With Quote
Old 03-05-11, 02:23 PM   #4
7Infanterie19
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Thanks for your reply TDW!

I didn't know what menu editor was, so I did a search for it and found reaper7's post - [TEC] Adding Items in the Menu Editor Tutorial - http://www.subsim.com/radioroom/showthread.php?t=165968 - thanks to reaper7 too!

I'll give that a try.

Using the menu editor, I take it that I will be able to place things or move them to where I want them, negating the need to know anything about those numbers I mentioned, yes?

Cheers!
  Reply With Quote
Old 03-05-11, 02:35 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by 7Infanterie19 View Post
Using the menu editor, I take it that I will be able to place things or move them to where I want them, negating the need to know anything about those numbers I mentioned, yes?
correct
TheDarkWraith is offline   Reply With Quote
Old 03-05-11, 04:15 PM   #6
7Infanterie19
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Excellent!
  Reply With Quote
Old 03-05-11, 04:35 PM   #7
7Infanterie19
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

For anyone else interested, in reaper7's thread mentioned above, Magnum refers to karamazovnew's thread as well, which has a whole lot of info too. The more, the better!

http://www.subsim.com/radioroom/showthread.php?t=163118
  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 06:38 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.