F9 - 1st and 3rd Person Cam Views?
F9 - 1st and 3rd Person Cam Views?
[This place needs an "UNSOLVED" subject prefix.]
I have a few tanks, including the Sherman and Panzer 4, that have the 1st person view camera moved out of the tank, behing it, and slightly up. This allows the player to aim in 3rd person view, which is very cool. But for those wwho still like the 1st person view, they won't have it.
How can I set the F9 cameras up to where the F9 button will switch between the two [1st and 3rd person] camera views?
What is the coding that is used for such things?
This is a video showing my 3rd person camera views on the Sherman, Chi-Ha, and Panzer 4.
(Video deleted)
I have a few tanks, including the Sherman and Panzer 4, that have the 1st person view camera moved out of the tank, behing it, and slightly up. This allows the player to aim in 3rd person view, which is very cool. But for those wwho still like the 1st person view, they won't have it.
How can I set the F9 cameras up to where the F9 button will switch between the two [1st and 3rd person] camera views?
What is the coding that is used for such things?
This is a video showing my 3rd person camera views on the Sherman, Chi-Ha, and Panzer 4.
(Video deleted)
Last edited by Swaffy on Tue Jul 03, 2012 8:15 pm, edited 3 times in total.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: F9 - 1st and 3rd Person Cam Views?
Use the nosecam.. So normal f9 will be inside and then when you hit f9 again for nosecam you can position the offset up and behind the turret.. Rather than on the nose.
Never tried this on a tank though so not sure if it will affect turret rotation.
easy to try though... So worth a shot.
Grab the code from the camera of a plane
Never tried this on a tank though so not sure if it will affect turret rotation.
easy to try though... So worth a shot.
Grab the code from the camera of a plane
Re: F9 - 1st and 3rd Person Cam Views?
Thanks, I'm glad you know what I'm talking about. But I am asking what code I use so that:
1 - I can add the second camera view [there's only one camera when the F9 button is pressed].
2 - I would like to change the positions of both cameras.
1 - I can add the second camera view [there's only one camera when the F9 button is pressed].
2 - I would like to change the positions of both cameras.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
- Iced Earth
- Posts: 209
- Joined: Sun Oct 18, 2009 2:07 pm
- Contact:
Re: F9 - 1st and 3rd Person Cam Views?
You sure you know what he means?
Take the planes for example...you get in, you are in F9 view...but if you hit F9 again, you get the 'nose cam'...so try copying that??

Take the planes for example...you get in, you are in F9 view...but if you hit F9 again, you get the 'nose cam'...so try copying that??
Re: F9 - 1st and 3rd Person Cam Views?
so in the objects.con of your vehicle you move the camera position, right?
Then for the actual 'shermancamera' object (or whatever you use) add this to the bottom. (The values I have used are a rough estimate for what you are after)
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.OutsideHudOffset 0/2/-3
then then make that offset a position relative to your normal camera position.. offset behind turret.
Then for the actual 'shermancamera' object (or whatever you use) add this to the bottom. (The values I have used are a rough estimate for what you are after)
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.OutsideHudOffset 0/2/-3
then then make that offset a position relative to your normal camera position.. offset behind turret.
Re: F9 - 1st and 3rd Person Cam Views?
So I tried this and camera was locked as I suspected. also would not allow mouselook when holding shift.. not sure why.
Not played heroes mod but are the tanks not more like this in that?
Not played heroes mod but are the tanks not more like this in that?
- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: F9 - 1st and 3rd Person Cam Views?
Mouse lock only works properly if used on a vehicle set to the aircraft category I believe. Nose cam should be activated by the OutsideHudOffset command by itself and should work on any vehicle class.



I have cameras in your head!
Re: F9 - 1st and 3rd Person Cam Views?
can you have 2 seats in a pco that both control the engine/turret etc? each with a different view.
- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: F9 - 1st and 3rd Person Cam Views?
Extra seats would require separate PCO objects. None of which can control a single engine/weapon child object. Sadly, this can't be done. 




I have cameras in your head!
Re: F9 - 1st and 3rd Person Cam Views?
Thanks for trying, guys. I guess I'll just stick with only having the 3rd person view. No big deal nonetheless.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™