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

Reply
 
Thread Tools Display Modes
Old 04-12-07, 06:02 PM   #1
Beery
Admiral
 
Join Date: Nov 2004
Location: Silver Spring, MD, USA (but still a Yorkshireman at heart - tha can allus tell a Yorkshireman...)
Posts: 2,497
Downloads: 0
Uploads: 0
Default [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):

__________________
"More mysterious. Yeah.
I'll just try to think, 'Where the hell's the whiskey?'"
- Bob Harris, Lost in Translation.

"Anyrooad up, ah'll si thi"
- Missen.

Last edited by Beery; 04-15-07 at 09:17 AM.
Beery is offline   Reply With Quote
Old 04-12-07, 06:11 PM   #2
Sturm
Helmsman
 
Join Date: May 2005
Location: Finland
Posts: 107
Downloads: 19
Uploads: 0
Default

Original value was 70, yours is 1120. I guess they are using meters.
__________________
Sturm is offline   Reply With Quote
Old 04-12-07, 06:11 PM   #3
Boris
Sea Lord
 
Join Date: Jun 2005
Location: Hamburg, Germany
Posts: 1,691
Downloads: 41
Uploads: 0
Default

Much better Beery, thanks
Boris is offline   Reply With Quote
Old 04-12-07, 06:52 PM   #4
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

Beautiful thanks Beery

MM
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 04-12-07, 09:24 PM   #5
Beery
Admiral
 
Join Date: Nov 2004
Location: Silver Spring, MD, USA (but still a Yorkshireman at heart - tha can allus tell a Yorkshireman...)
Posts: 2,497
Downloads: 0
Uploads: 0
Default

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.
__________________
"More mysterious. Yeah.
I'll just try to think, 'Where the hell's the whiskey?'"
- Bob Harris, Lost in Translation.

"Anyrooad up, ah'll si thi"
- Missen.
Beery is offline   Reply With Quote
Old 04-12-07, 10:02 PM   #6
Jungman
Samurai Navy
 
Join Date: Apr 2005
Location: Iowa, USA
Posts: 596
Downloads: 0
Uploads: 0
Default

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.
Jungman is offline   Reply With Quote
Old 04-13-07, 02:10 AM   #7
Probex
Soundman
 
Join Date: May 2006
Posts: 148
Downloads: 24
Uploads: 0
Default

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!
__________________

http://www.oacsquad.com
Probex is offline   Reply With Quote
Old 04-13-07, 02:19 AM   #8
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Brilliant just what I needed to follow those "AM6's" around
__________________
CaptainCox is offline   Reply With Quote
Old 04-13-07, 04:00 AM   #9
W_clear
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,142
Downloads: 111
Uploads: 0
I need it.Thanks.
W_clear is offline   Reply With Quote
Old 04-13-07, 04:10 AM   #10
L3TUC3
Mate
 
Join Date: Apr 2007
Posts: 54
Downloads: 3
Uploads: 1
Default

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.
L3TUC3 is offline   Reply With Quote
Old 04-13-07, 04:31 AM   #11
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

You think its slow even holding down "shift" while in cam mode ?
__________________
CaptainCox is offline   Reply With Quote
Old 04-13-07, 05:08 AM   #12
Sturm
Helmsman
 
Join Date: May 2005
Location: Finland
Posts: 107
Downloads: 19
Uploads: 0
Default

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.
__________________
Sturm is offline   Reply With Quote
Old 04-13-07, 07:28 AM   #13
Beery
Admiral
 
Join Date: Nov 2004
Location: Silver Spring, MD, USA (but still a Yorkshireman at heart - tha can allus tell a Yorkshireman...)
Posts: 2,497
Downloads: 0
Uploads: 0
Default

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.
__________________
"More mysterious. Yeah.
I'll just try to think, 'Where the hell's the whiskey?'"
- Bob Harris, Lost in Translation.

"Anyrooad up, ah'll si thi"
- Missen.
Beery is offline   Reply With Quote
Old 04-13-07, 07:32 AM   #14
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: Canada. The one and only, East Coast
Posts: 10,884
Downloads: 946
Uploads: 5


Default

Nice work
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 04-13-07, 08:21 AM   #15
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

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.

tater is offline   Reply With Quote
Reply


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:00 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.