SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] Extended Free Camera Height (https://www.subsim.com/radioroom/showthread.php?t=111670)

Beery 04-12-07 06:02 PM

[REL] Extended Free Camera Height Mod
 
Here it is (this is the latest version):

http://www.beerymod.com/SH4/BeeryCamera3.7z

I have no idea what the maximum height it is (I'm terrible at figuring out hex code) - but it looks like at least a couple of thousand feet. It won't let you get beyond the outer limit of the 3D environment so that's good - I spent a long time making sure it didn't. Basically I got to this through trial and error. Maybe someone who understands hex stuff can tell me exactly how high the camera goes.

Here's an image taken from a bit below the maximum height (before the ground starts doing that weird flashing thing it does when the view gets high):

http://img.photobucket.com/albums/v2...earlHarbor.jpg

Sturm 04-12-07 06:11 PM

Original value was 70, yours is 1120. I guess they are using meters.

Boris 04-12-07 06:11 PM

Much better Beery, thanks :up:

Mush Martin 04-12-07 06:52 PM

Beautiful thanks Beery:up::up::up:

MM

Beery 04-12-07 09:24 PM

Quote:

Originally Posted by Sturm
Original value was 70, yours is 1120. I guess they are using meters.

How can you tell that stuff? I'm using Hex Workshop and even when I use the converter thingy none of the numbers is anywhere near 1120.

Hehe, I reckon if I knew what I was doing, what took me hours today might have taken only a few minutes.

Jungman 04-12-07 10:02 PM

Online convertors, remember to make it backwards. |00 00 38 42| would be 42380000 = 46 (the speed of our fast Mark 14 torpedo!)

http://babbage.cs.qc.edu/IEEE-754/32bit.html Hex single point IEEE format to decimal


http://babbage.cs.qc.edu/IEEE-754/Decimal.html decimal to Hex single point IEEE format.

It is a goofy format, I barely remember why from Computer Science class. Its format uses a coded mantissa and exponent to make more effecient calculations. Not a true hex number per sey. You can also represent those odd numbers like -9, or stuff like 0.00345 or 3.141526 E^6 power using this format.

Probex 04-13-07 02:10 AM

Thanks for your mod Beery!


I was wondering whether you could just as easily increase the zoom-in distance as well. I find that I can't zoom in close enought to look at the ships.



S!

CaptainCox 04-13-07 02:19 AM

Brilliant just what I needed to follow those "AM6's" around ;)

W_clear 04-13-07 04:00 AM

I need it.Thanks.

L3TUC3 04-13-07 04:10 AM

Great stuff.

Does this also increase the external camera speed? That's something I'd like very much. Zooming around to get close to anything from the sub is rather slow and using the "next target" button only resets your camera back to the sub once you leave it.

CaptainCox 04-13-07 04:31 AM

You think its slow even holding down "shift" while in cam mode ?

Sturm 04-13-07 05:08 AM

Quote:

Originally Posted by Beery
How can you tell that stuff? I'm using Hex Workshop and even when I use the converter thingy none of the numbers is anywhere near 1120.

Do it like I have done in image below. Value you should look is 32bit float. There is usually one space after each variable and the value is next four characters (if the value is 32bit float).
I use Base Converter to convert from decimal to hex value.
http://koti.mbnet.fi/sh3/images/Image2.jpg

Beery 04-13-07 07:28 AM

Quote:

Originally Posted by Sturm
Do it like I have done in image below. Value you should look is 32bit float...

Ah thanks so much! I'll take another look at it now that I know a bit more about what I'm doing.

ReallyDedPoet 04-13-07 07:32 AM

Nice work:up:

tater 04-13-07 08:21 AM

They did a better job with PH than Pacific Fighters did, but why did they add those docks to Ford Island?

It's interesting that many of the physical errors in places come from adding too much.

http://www.history.navy.mil/photos/i...00/g279385.jpg


All times are GMT -5. The time now is 10:01 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.