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 > SH4 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-25-08, 05:28 PM   #8
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default

I don't know what the chapter number is in 1.5, but in 1.4 the following is the section for the bearing indicator for the attack periscope.

Code:
 [G26 I134]
Name=Compass
Type=1030;Static bmp
ItemID=0x26000004
ParentID=0x26000000
Pos=422,-164,180,16
Zone= 422 604 180 16 0 1 0x26000002 0.5 -0.5 0x26000004 -0.5 0.5 0 0
Color=0x66B26680
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/bearing.tga
MatFlags=0x1
TexFmt=0x0
The number I highlighted in red is the number of pixels up (positive number) or down (negative number) to move the object after doing all the whacky mathematical calculations with the rest of the zone statement. So, if you want to move it up ten pixels, you would change that last number in the zone to 10

If anyone happens to know what section is the equivalent in 1.5, please chime in. You'll probably be able to find it by searching for bearing.tga and making sure that you are on the attack periscope page. In 1.4 the section above was the first section that I came to when searching for bearing.tga.
__________________

RSM-GIEP-Killflags-LV Tribute-Playable Elco __Peace be with you, Dave.

Digital_Trucker is offline   Reply With Quote
 


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 12:25 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.