Turret point of view

YSFlight addon development, questions, tutorials, & more!
Post Reply
DavideV
Contributor
Contributor
Posts: 373
Joined: Fri Jun 17, 2011 11:27 am
Favorite Aircraft: Aermacchi MB339, Piaggio P.180 Avanti
Location: Rome, Italy
Has thanked: 25 times
Been thanked: 26 times

Turret point of view

Post by DavideV » Tue Oct 04, 2011 6:24 pm

I'm used to ask bizarre questions, once in a while... so I was wondering if there's anyone out there who's aware of any trick to have an EXCAMERA following a turret movement. My goal is to have something like a surveillance camera on a plane/helicopter... the turret is just to have a simple .srf with some fake data on it and a crosshair.

Thanks anyway!
"The only job where you start at the top is digging a hole" (from TinyTower BitBook)

User avatar
Shiny Rice
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1389
Joined: Wed Apr 27, 2011 3:28 pm
Favorite Aircraft: Su-35
Has thanked: 28 times
Been thanked: 42 times

Re: Turret point of view

Post by Shiny Rice » Tue Oct 04, 2011 6:34 pm

I see where you want to get to, but I haven't seen that before. I think that Ice did one.
CO of the 57th Cloud Rippers
"We rip those clouds apart so you can see the sun!"
Now 100% more decomissioned!

User avatar
Venom
Contributor
Contributor
Posts: 335
Joined: Fri Feb 11, 2011 12:24 am
Favorite Aircraft: F-15E Strike Eagle
Location: Ohio
Has thanked: 36 times
Been thanked: 46 times

Re: Turret point of view

Post by Venom » Tue Oct 04, 2011 7:26 pm

Closest you could get was adding a Bomb View right above the gun on a, for example, AH-64 Apache or something.
Image

User avatar
Neil
Contributor
Contributor
Posts: 333
Joined: Fri Feb 11, 2011 3:59 pm
Favorite Aircraft: Harrier GR9
Location: London
Has thanked: 31 times
Been thanked: 96 times

Re: Turret point of view

Post by Neil » Tue Oct 04, 2011 7:40 pm

I dont think making the camera move with turret is possible, closest I got is a view looking down with a crosshair and night vision; here is some pictures.

Image

Image

User avatar
Midnight Rambler
Staff
Staff
Posts: 2117
Joined: Thu Feb 10, 2011 11:08 pm
Favorite Aircraft: F-16
Location: Australia
OS: Windows 10
Has thanked: 259 times
Been thanked: 359 times

Re: Turret point of view

Post by Midnight Rambler » Tue Oct 04, 2011 7:50 pm

I don't think there is any way to have a moving viewpoint. You can assign a .srf to follow the aim reticule but not the viewpoint.... I think.
Image

User avatar
halberdier25
Senior Veteran
Senior Veteran
Posts: 1383
Joined: Thu Feb 03, 2011 3:05 am
Favorite Aircraft: Unspecified
Location: Pgh
Has thanked: 168 times
Been thanked: 198 times
Contact:

Re: Turret point of view

Post by halberdier25 » Tue Oct 04, 2011 9:15 pm

Can you no longer select the weapon view and get those little squares in the corner? I used to have a little application that put a little crosshair in those windows, too.

User avatar
Doomsday
Staff
Staff
Posts: 848
Joined: Mon Feb 07, 2011 2:01 am
Favorite Aircraft: PEW PEW PEW PEW
Location: PEW PEW PEW
OS: PEW PEW PEW PEW PEW
Has thanked: 1 time
Been thanked: 111 times

Re: Turret point of view

Post by Doomsday » Tue Oct 04, 2011 9:43 pm

halberdier25 wrote:Can you no longer select the weapon view and get those little squares in the corner? I used to have a little application that put a little crosshair in those windows, too.

you still can

1. Press "O" (the letter)
2. then 1 for bottom left box or 2 for bottom right box
3. then 5
Image
PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW

Team Awesome# 131

User avatar
waspe414
Staff
Staff
Posts: 1178
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: CH-136 Kiowa
Location: Canada
Has thanked: 95 times
Been thanked: 168 times

Re: Turret point of view

Post by waspe414 » Wed Oct 05, 2011 1:10 am

My annoyance with that is it's so small, (TWSS) it doesn't really work for a true turret view (it's max FOV isn't properly proportional to its size, and it can't be full screen).
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

User avatar
Honey Badger
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1843
Joined: Thu Jun 30, 2011 8:17 pm
Favorite Aircraft: Anything that gets off the ground
Location: From Louisiana, stationed in Alabama
Has thanked: 226 times
Been thanked: 69 times

Re: Turret point of view

Post by Honey Badger » Wed Oct 05, 2011 1:27 am

I flew a bomber once that had a camera follow the turret, but I'll be damned if I can't remember who made it.
USAF Computer Systems Programmer (3D0X4)
"Powerpoint Ranger"

DavideV
Contributor
Contributor
Posts: 373
Joined: Fri Jun 17, 2011 11:27 am
Favorite Aircraft: Aermacchi MB339, Piaggio P.180 Avanti
Location: Rome, Italy
Has thanked: 25 times
Been thanked: 26 times

Re: Turret point of view

Post by DavideV » Wed Oct 05, 2011 7:59 am

The weapon's point of view just doesn't work because, in that case, I have the viewpoint moved toward the target (even though in case of a multiple targets cluster it can be very dizzy having the viewpoint constantly changing!) but then I don't have the turret object moving.

I simulated a rescue mission using the Gunny's Kodiak map flying on my P.166. I placed a looking-down viewpoint in the radar's radome, and then I placed some text and a crossair. Selecting the simple HUD, I was able to do this

https://sites.google.com/site/davidebas ... edirects=0

The problem is that either I focus on flying or photographing targets. I thought a possible rescue/patrolling mission could be done by flying over the checkpoint, setting circle autopilot and then switching to patrol camera taking pictures, then switching back and return to base. But I really need that crosshair to follow the viewpoint, or I won't be able to correctly simulate the camera.
"The only job where you start at the top is digging a hole" (from TinyTower BitBook)

User avatar
Honey Badger
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1843
Joined: Thu Jun 30, 2011 8:17 pm
Favorite Aircraft: Anything that gets off the ground
Location: From Louisiana, stationed in Alabama
Has thanked: 226 times
Been thanked: 69 times

Re: Turret point of view

Post by Honey Badger » Wed Oct 05, 2011 11:35 am

Go to "Option" then "Joystick/Key Assignments". Set the "Point of view Y (-+ 90) and the Point of view X (-+ 180) as Mouse Y Axis and Mouse X Axis, respectively. This will let you move the camera with the mouse. Obviously, you need a joystick for this to work (some idiot was going to complain :roll: ). Now, set the turret (camera, as it were) to something like the arrow keys. That should give you the effect you are looking for, but sadly would be limited to those who use a joystick or keyboard to fly.
USAF Computer Systems Programmer (3D0X4)
"Powerpoint Ranger"

DavideV
Contributor
Contributor
Posts: 373
Joined: Fri Jun 17, 2011 11:27 am
Favorite Aircraft: Aermacchi MB339, Piaggio P.180 Avanti
Location: Rome, Italy
Has thanked: 25 times
Been thanked: 26 times

Re: Turret point of view

Post by DavideV » Wed Oct 05, 2011 12:37 pm

aragorn15 wrote:Go to "Option" then "Joystick/Key Assignments". Set the "Point of view Y (-+ 90) and the Point of view X (-+ 180) as Mouse Y Axis and Mouse X Axis, respectively. This will let you move the camera with the mouse. Obviously, you need a joystick for this to work (some idiot was going to complain :roll: ). Now, set the turret (camera, as it were) to something like the arrow keys. That should give you the effect you are looking for, but sadly would be limited to those who use a joystick or keyboard to fly.
I fly with the mouse...
"The only job where you start at the top is digging a hole" (from TinyTower BitBook)

User avatar
Honey Badger
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1843
Joined: Thu Jun 30, 2011 8:17 pm
Favorite Aircraft: Anything that gets off the ground
Location: From Louisiana, stationed in Alabama
Has thanked: 226 times
Been thanked: 69 times

Re: Turret point of view

Post by Honey Badger » Wed Oct 05, 2011 5:54 pm

Drat. I would loan you my old joystick...but... :? . Do you have a friend or neighbour that could loan you one?
USAF Computer Systems Programmer (3D0X4)
"Powerpoint Ranger"

User avatar
Doomsday
Staff
Staff
Posts: 848
Joined: Mon Feb 07, 2011 2:01 am
Favorite Aircraft: PEW PEW PEW PEW
Location: PEW PEW PEW
OS: PEW PEW PEW PEW PEW
Has thanked: 1 time
Been thanked: 111 times

Re: Turret point of view

Post by Doomsday » Wed Oct 05, 2011 7:10 pm

or use the arrow keys...
Image
PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW

Team Awesome# 131

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests