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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-12-07, 12:42 AM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

I'm looking for a little more information on object positions. This is the hex code for the location of the left side smoke of my dual exhaust VIIb sub mod currently:

00000238h: B0 48 BD BD 31 08 2C 3D 1F 85 3B C0 CD CC AC 3F ; °H½½1.,=.…;ÀÍ̬?
00000248h: 00 00 00 00 00 00 00 00 ; ........

X offset from parent is B0 48 BD BD
y offset from parent is 31 08 2C 3D
z offset from parent is 1F 85 3B C0
degrees XY rotation is CD CC AC 3F
degrees XZ rotation is 00 00 00 00
degrees YZ rotation is 00 00 00 00

And this is the hex code for the location of the right side smoke of my dual exhaust VIIb sub mod currently:

00000f23h: 40 C4 BD 3D 31 08 2C 3D 1F 85 3B C0 CD CC AC 3F ; @Ľ=1.,=.…;ÀÍ̬?
00000f33h: CD CC AC 3F 00 00 00 00 00 00 00 00 ; Í̬?........

X offset from parent is 40 C4 BD 3D
y offset from parent is 31 08 2C 3D
z offset from parent is 1F 85 3B C0
degrees XY rotation is CD CC AC 3F
degrees XZ rotation is CD CC AC 3F
degrees YZ rotation is 00 00 00 00

As you can see from this picture the object positions and degrees rotations need help. Problem is I don't understand how to change the values:



my question is how do you convert the above to meaningful (decimal) numbers to work with? Like how can I convert the z offset above into a number that I can depict in my head? If I wanted the XY rotation to be 45 degrees how do I calculate this and turn it into a hex value? Say I have a VIIb sub and I want to place an object halfway between the end of the ship and the conning tower (is that x, y or z offset?) and I wanted to place it a distance out to the right (looking from the rear of the sub forward) that is parallel with the right side of the conning tower (again is that x, y, or z offset?) and a distance from the water that is parallel with the top of the rear of the sub (x, y, or z offset??). How do I calculate this and turn it into a hex value?


this plane is ?
|
|
|

^
( ) <--- sub
\ / ------------ this plane is ?
\/
' ' <--- props


How would you denote (pictorally) the degrees XY, XZ, and YZ rotations? I'm trying to understand this and having a hard time. I need this information for my dual exhaust VIIb sub mod. I have made the dual exhaust work now I just need to locate them in the right spots.

Last edited by TheDarkWraith; 07-12-07 at 01:30 AM.
TheDarkWraith 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 05:14 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.