How do I make my mouse control the turret?

Questions, comments, concerns, & fixes
Post Reply
User avatar
Ruskiwaffle1991
Contributor
Contributor
Posts: 108
Joined: Mon Jan 04, 2021 1:52 am
Favorite Aircraft: Too many to name :)
Location: Philippines, Earth, Sol System, random arm thing of the Milky Way, random supercluster, Universe
OS: Windows 10
Has thanked: 5 times
Been thanked: 9 times

How do I make my mouse control the turret?

Post by Ruskiwaffle1991 »

I once heard that when you set your controls to keyboard, the turret can be controlled with the mouse. I wanted to do this because for some reason when I try to move my turret with my arrow keys it just stops moving. But when I set my controls to keyboard the turret cannot be controlled and I can only fire my weapons when I press spacebar. Can someone help me with this?
Never ask a man his salary,
A (i completely forgot)
A Me 262 pilot, how many times his plane's engines caught on fire.
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: How do I make my mouse control the turret?

Post by waspe414 »

Option > Joystick/Key Assignment

Image
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
User avatar
Ruskiwaffle1991
Contributor
Contributor
Posts: 108
Joined: Mon Jan 04, 2021 1:52 am
Favorite Aircraft: Too many to name :)
Location: Philippines, Earth, Sol System, random arm thing of the Milky Way, random supercluster, Universe
OS: Windows 10
Has thanked: 5 times
Been thanked: 9 times

Re: How do I make my mouse control the turret?

Post by Ruskiwaffle1991 »

For some reason, it still won't rotate. I've tested this with the stock AH-1. I've adjusted all the controls.
Never ask a man his salary,
A (i completely forgot)
A Me 262 pilot, how many times his plane's engines caught on fire.
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: How do I make my mouse control the turret?

Post by waspe414 »

Stock AH-1 doesn't actually have a turret, for whatever reason. Use the stock AH-64
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
User avatar
Ruskiwaffle1991
Contributor
Contributor
Posts: 108
Joined: Mon Jan 04, 2021 1:52 am
Favorite Aircraft: Too many to name :)
Location: Philippines, Earth, Sol System, random arm thing of the Milky Way, random supercluster, Universe
OS: Windows 10
Has thanked: 5 times
Been thanked: 9 times

Re: How do I make my mouse control the turret?

Post by Ruskiwaffle1991 »

thanks!
Never ask a man his salary,
A (i completely forgot)
A Me 262 pilot, how many times his plane's engines caught on fire.
User avatar
Ruskiwaffle1991
Contributor
Contributor
Posts: 108
Joined: Mon Jan 04, 2021 1:52 am
Favorite Aircraft: Too many to name :)
Location: Philippines, Earth, Sol System, random arm thing of the Milky Way, random supercluster, Universe
OS: Windows 10
Has thanked: 5 times
Been thanked: 9 times

Re: How do I make my mouse control the turret?

Post by Ruskiwaffle1991 »

Tried with TF58's AC130, still ain't working.
Never ask a man his salary,
A (i completely forgot)
A Me 262 pilot, how many times his plane's engines caught on fire.
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: How do I make my mouse control the turret?

Post by waspe414 »

Did you test it with the stock AH-64? TF's Spooky might not have a turret. And if it does, I don't think turret control is active while in autopilot, if you were trying it that way
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
User avatar
Ruskiwaffle1991
Contributor
Contributor
Posts: 108
Joined: Mon Jan 04, 2021 1:52 am
Favorite Aircraft: Too many to name :)
Location: Philippines, Earth, Sol System, random arm thing of the Milky Way, random supercluster, Universe
OS: Windows 10
Has thanked: 5 times
Been thanked: 9 times

Re: How do I make my mouse control the turret?

Post by Ruskiwaffle1991 »

I tried with no autopilot and still won't work with the Apache. Idk if my ys hates mouse controls for turrets.
Never ask a man his salary,
A (i completely forgot)
A Me 262 pilot, how many times his plane's engines caught on fire.
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: How do I make my mouse control the turret?

Post by waspe414 »

Try binding mouse to pitch/roll and see if it works there
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
User avatar
Ruskiwaffle1991
Contributor
Contributor
Posts: 108
Joined: Mon Jan 04, 2021 1:52 am
Favorite Aircraft: Too many to name :)
Location: Philippines, Earth, Sol System, random arm thing of the Milky Way, random supercluster, Universe
OS: Windows 10
Has thanked: 5 times
Been thanked: 9 times

Re: How do I make my mouse control the turret?

Post by Ruskiwaffle1991 »

I can finally control the turret with my mouse so I don't have to worry. But I still have to practice flying with WASD and separate set to neutral buttons.
Never ask a man his salary,
A (i completely forgot)
A Me 262 pilot, how many times his plane's engines caught on fire.
User avatar
HawkbitAlpha
2nd United Combat Wing
2nd United Combat Wing
Posts: 950
Joined: Thu Jun 23, 2011 6:08 am
Favorite Aircraft: Tristar, F-5 family
Location: Jackson, MS
OS: Imprisoned in Win11
Has thanked: 226 times
Been thanked: 267 times
Contact:

Re: How do I make my mouse control the turret?

Post by HawkbitAlpha »

You'd be better off just binding the turret control to WASD or the arrow keys and leaving the mouse to fly, because keyboard controls are uniquely horrible for YS. I wouldn't recommend trying to use the mouse for the turret unless you have a stick or other controller to supplant the mouse control with.
Image
Image

Manager, Host, Pilot @ VCAP Aerobatics | 2021-Present
"Wedge", CO @ 2nd United Combat Wing | 2020-Present
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

Re: How do I make my mouse control the turret?

Post by decaff_42 »

I switched to using the arrow keys for my turret controls recently. I was hoping to use my joystick Hat switch but it turns out ysflight doesn't like that. I switched between dedicated control sensitivity to having a toggle to free up some space on my keyboard to also bind the "return turret to neutral" command which is very valuable.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests