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)
-   -   Setting a custom camera view to a key? (https://www.subsim.com/radioroom/showthread.php?t=150404)

jmr 04-08-09 08:14 PM

Setting a custom camera view to a key?
 
Is there anyway to set a custom view point using the free roaming camera inside the boat and then save it to a key combo? I would like to set a of the SJ radar screen so that the camera is nice and close so I can accurately plot contacts. The default radar viewpoint is too far for my tastes and I would like it to look something like this:

http://img15.imageshack.us/img15/2708/sjsmall.jpg


Which makes it much easier to plot contacts with mobo like this:

http://img25.imageshack.us/img25/2329/mobosmall.jpg http://img15.imageshack.us/my.php?image=sjsmall.jpghttp://img15.imageshack.us/my.php?image=sjsmall.jpg

Munchausen 04-10-09 04:09 PM

:hmmm: Thanks for the above screen shot. After all this time, I've finally seen why it helps to run SH4 in 'window' mode.

Nisgeis 04-11-09 11:06 AM

Hi JMR, I saw your question in the other thread and thought I'd answer here.

You might find it easier to just change the default position for the PPI and A-Scope camera points, then you can use all the usual keys.

You'll need to get a copy of the very useful S3D and then in /data/interior/type_CT.dat find the node that is called RAD_Dummy_AScope - That's the PPI camera position and RAD_Dummy_PPI - that's the A-Scope camera position (don't ask :-). Move the camera position you want down by adjusting the Y Traslation value.

jmr 04-11-09 02:29 PM

Thanks for reply, Nisgeis. Can you tell me where I can download S3D? Is it a program designed specifically to mod SH4/SH3? I searched for "S3D" here at Subsim's download library but nothing turned up.

peabody 04-11-09 02:41 PM

Quote:

Originally Posted by jmr (Post 1082087)
Thanks for reply, Nisgeis. Can you tell me where I can download S3D? Is it a program designed specifically to mod SH4/SH3? I searched for "S3D" here at Subsim's download library but nothing turned up.

The subsim search does not search for 3 letter words. S3D is a 'sticky' at the top of this page.

Peabody

jmr 04-11-09 02:44 PM

*doh!*

Thanks for that. Funny how things can be right in front of you but yet you don't notice them.


Got it installed and I'm looking at the Y values but not sure what values to plug in to try. I'll star somewhere near the default ones and go from there.

XLjedi 04-11-09 03:56 PM

JMR,

I haven't been able to get SH4 to run in windowed mode.

How did you do it?

I go into options and under graphics I have windowed mode selected, but even after multiple restarts it still loads and plays full screen. :06:

Is there a keystroke to get from maximized to windowed?

jmr 04-11-09 07:03 PM

aaron, have you tried setting a resolution that's less than your current desktop resolution? If I set it to run windowed at the same resolution as my desktop it appears to run in full screen. Once I set the resolution to something lower it ran in windowed mode just fine.

XLjedi 04-11-09 07:30 PM

Yeah, I s'pose that would make sense. :hmmm:

Webster 04-11-09 08:35 PM

when you find a good setting that works best, please post the numbers you used so that others can be able to use them too :up:

jmr 04-11-09 08:44 PM

Still experimenting with numbers :D I'm no programmer nor modder but why do the X, Y, and Z axes have so many decimal places for their numerical values?

I've noticed with the 3D view it's best to have the camera set directly above the scope with no discernible angle so that you'll have uniform distance from the center to the outer edges of the scope when setting your range scale with mobo.

Nisgeis 04-12-09 03:21 AM

The game units are very large - if you change the x by 1, then that's 10 metres in game, so to move it a centimetre, you'd have to change it by 0.01. The rest of the numbers are probably only there for completeness, they just show the full length of the number, but you can set it to something round if you want.

You can adjust the angle of the camera view with the rotation controls, just unders the translation controls. If you get stuck, I'll give you a hand.

Perhaps you could release this as a mod for those who use the excellent Mobo to plot with.

jmr 04-12-09 05:14 PM

Nisgeis, is it possible to completely lock the camera so that it only stares directly down at the scope and prevents the mouse from moving the camera?

XLjedi 04-17-09 08:01 PM

Any progress on the XYZ settings?

Ya know, it never really occured to me to use MoBo to plot directly on the PPI scope like that in real time. That's pretty cool... I might have to actually try a fleetboat career now.

Nisgeis 04-17-09 08:47 PM

Sorry JMR, I didn't see this post, I've been a bit busy. Thanks to Aaronblood for bumping it. I'm always happy to support Mobo (bring on version two :-)).

It's perfectly reasonable to lock off the camera for the PPI scope to a fixed view. All you need to do is to open up /data/library/cameras.dat with S3D and goto the node called _Dummy_Cam_RadioRoom_Radar_AScope.

I know the A scope is a different view, but for whatever reason, the PPI and A scope views are reversed in SH4, such that the A scope view is of the PPI and the PPI view is of the A Scope. From that node, delete the FreeMove controller and depending on what camera file you are starting with, you may have a MechShocks Pendulum conroller, which makes the view swing. Remove that and the view should be as steady as a rock and perfect for using with the excellent MOBO.

If you have managed to change the view node from the previous discussion for a 'zoomed in' view, then you should be in tip top shape for top MOBO usage. You should definately release this as a mod!

If you have problems then please send me a PM, then it will flag up in my email and I won't miss it. You should be OK though now for the next killer mod. But if you have trouble, PM me :-).


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