![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
Pacific Aces Dev Team
|
![]() Quote:
Position is the first two numbers X and Y, but IIRC Y value is inverted and counts from the top of the screen downwards. The last two values is the size of the item. Please note that position for Items that have a parent is counted starting from the parent location. For example, let's say that you have a menu page called "Attack Periscope". It will display a background over the full screen with 0,0, 1024,768 Now you position for example the torpedo tube lights on it like this: Item=Torpedo Tube lights 512,512,128,128 and that gives you a square of 128,128 whose top left corner is at 512,512 from where the periscope screen started, i.e. from 0,0 Then you want to position the tube 1 lights, so you put the item as child to the torpedo lights background you just created and you go on like this: Item= Tube 1 light 25,25,64,64 This would mean that the tube 1 light is located 25 pixels right and 25 down from the starting position of the Parent tube lights (512,512) and then be 64x64 pixels big. Please double check that I got it right, I haven't edited Sh3 menu for ages ![]()
__________________
One day I will return to sea ... |
|
![]() |
![]() |
![]() |
|
|