View Single Post
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