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] first/third-person-view cameras mod v1.0 (https://www.subsim.com/radioroom/showthread.php?t=120160)

sergbuto 08-09-07 04:14 PM

[REL] first/third-person-view cameras mod v1.0
 
The mod introduces a first-person-view free-walk camera for the conning tower bridge instead of a static camera. It also replaces an external unit-view camera with a camera which allows for much closer viewing distance and which is not reset to a default view on switching between units with keys ">" and "<".

When surfaced, a player will be able to freely move through the bridge and the deck of the sub in the "F5" view. This is kind of a replacement of the "shift-F2" option which existed in v1.0 and 1.1 of the game. However, this time the player will be moving together/riding on the sub which makes it even better.

The reason for changing the external unit-view camera (">" and "<" view) is that in the stock version the closest viewing point is still quite far from the unit, especially when compared with that in SH3. Now it is possible to view units at much closer distance. This comes at some expense though. When using the left and right arrow keys, the rotation will be around the observation point, not around the unit. On the other hand, switching between the units will not reset the camera to the default position but keep the current position and orientation which I have found to be quite handy. Let you avoid doing zooming-in again and again upon switching to another unit.

Although, I am mostly satisfied with what I wanted to achive, I have not been able to eliminate a bug (due to lack of time) which was introduced with my changes to the external unit-view camera. It often happens when fully zoomed-in onto the unit to the extend when the camera is colliding with the unit collision spheres and starts to go around the unit, as in case of the external "F11" camera, in this situation an attempt to switch to another unit may drive the camera in a buggy state by placing it at an arbitrary position, quite far and away from the unit. I try to move camera a bit back and away from the colliding state before switching to another unit. In any case the player would barely need such extremely zoomed-in views anyway.

Despite the bug I decided to make this mod available because I will not have much time to continue to work on it for a few upcoming weeks. After that, I will try to improve the mod.

Download is available on my site.

A few screenshots on what can be done in the F5 view

http://usx218.fysik.uu.se/users/Serg.../cameras01.jpg

http://usx218.fysik.uu.se/users/Serg.../cameras02.jpg

http://usx218.fysik.uu.se/users/Serg.../cameras03.jpg

http://usx218.fysik.uu.se/users/Serg.../cameras04.jpg

http://usx218.fysik.uu.se/users/Serg.../cameras05.jpg

http://usx218.fysik.uu.se/users/Serg.../cameras06.jpg

http://usx218.fysik.uu.se/users/Serg.../cameras07.jpg

tater 08-09-07 04:50 PM

That's pretty cool.

Nice.

tater

kriller2 08-09-07 04:52 PM

wow! this looks good, great idea :rock:

Misfit138 08-09-07 04:55 PM

Very nice! :up:

Too bad my keyboard went nuts when I tested this. Started to act like I kept the up arrow key down. Won't necessarily relate into this mod cause I've had this before but not for a while. More testing for me that is then

SubCaptain62 08-09-07 05:05 PM

I know this is kinda off topic, but serg is that Jap AI subs download on your site available because that mod looks pretty sweet too.

ReallyDedPoet 08-09-07 07:05 PM

Nice work:up:


RDP

Fearless 08-09-07 07:12 PM

Sweeeeeeet!!:up:

DirtyHarry3033 08-09-07 07:18 PM

COOL!!! Sounds like you're trying to recreate the 1.0 - 1.1 Shift-F2 effect on the free cam? I will definately be checking this out this weekend when I have time :yep:

If you can manage to pull off that Shift-F2 trick, I will be seriously tempted to fall down on my knees and kiss your... er, well nevermind :oops:

DH

AVGWarhawk 08-09-07 07:23 PM

This is a very cool addition. I will be using this little gem:up:

AVGWarhawk 08-09-07 07:42 PM

http://i133.photobucket.com/albums/q...2033.41_62.jpg

Finally I get to meet Joe on the starboard side of the boat. This is a very cool camera change for sure. Worked like a charm as well:rock:Do you realize you have open up a whole new world topside ???? Talk about immersion walking over to the side where the ship is spotted. Almost do not need the conning tower textured removed in patch 1.3 like they did. Nice work....what else are you hiding?

clayp 08-09-07 07:47 PM

Where does this file go?

AVGWarhawk 08-09-07 07:49 PM

Open data file in the main folder. Look for Library file and it goes in here. I made a copy of the original file just in case. Then I copied and pasted in the Library file. Work just fine.

Data>
Library

Open the downloaded file and make a copy of the camerias.dat and paste it in the file labelled Library. It will prompt
to overwrite. Click yes. All set.

clayp 08-09-07 07:56 PM

Quote:

Originally Posted by AVGWarhawk
Open data file in the main folder. Look for Library file and it goes in here. I made a copy of the original file just in case. Then I copied and pasted in the Library file. Work just fine.

Data>
Library

Open the downloaded file and make a copy of the camerias.dat and paste it in the file labelled Library. It will prompt
to overwrite. Click yes. All set.

Thank you sir.....

Fearless 08-09-07 08:00 PM

Quote:

Originally Posted by clayp
Where does this file go?

The way Sergbuto has structured the file path, you can use JSGME to load it.

AVGWarhawk 08-09-07 08:03 PM

Quote:

Originally Posted by Fearless
Quote:

Originally Posted by clayp
Where does this file go?

The cameras.dat file is placed in Data\Library\ folder. But the way it's set up, you can use JSGME to load it.

Now that little dit bit of info was left out. Give it a go, great little piece of work.


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