Jump to content

How can I use gunfire & release weapon at same button? (without switch modifier)


Recommended Posts

Posted (edited)

triggers.jpg

Looking at picture should help you understand my problem.

I want my FFB2 buttons1(main trigger) fire both cannons & missiles since there's no separate gun fire button in real cyclic in KA-50.

So I'm using switch modifier to make it happen and it's working good but I need to press two keys(Gunselect & gun switch) everytime when I switch between gun & missiles.

Am I the only one experiencing this problem?

It do not work right if I assign same button for both functions.

There should have been just one unified trigger button in setup I think, not separate gun fire & release weapon. Am I wrong?

Edited by =815=TooCooL
SOLVED!!

System: Core2Duo E8500, 4G ram, GTX260, SLC SSD, and Vista 32bit. LG W2600HP 26" LCD.

Controls : MSFFB2, CH Pro throttle, Saitek rudder, Saitek throttle quadrant, and TrackIR4

BS Setting : medium with visibility HIGH

More skill you get, more you Love DCS:Black Shark.

Posted

I tried to do the same thing initially with my setup.

 

Technically on the real Ka-50 there are 2 triggers and one of them flips up so there are separate cannon and weapon release triggers. You press the cannon trigger to fire the cannon and the weapon release trigger to release hardpoint ordinance, the only thing is the weapon release trigger has to be flipped up for the cannon trigger to be not "safe."

 

So ED got the setup correct to real life when it comes to the real Ka-50 (there are 3 commands possible there) which is only so much comfort to you and I with our PC joysticks not designed to replicate such a crazy setup.

 

You might try setting them to the same keyboard key and using external profiling software. I've tried making both of the commands "JOY BTN1" and it didn't work. I ended up giving up and using another one of my precious buttons for a separate weapons release (a la F-16). I use shift+trigger for cannon select.

 

Your request has renewed my interest in making a unified trigger system again. I'll give it a try.

Posted (edited)

Ouch, was it really that simple?

I could never fly this bird right without this forum.:doh:

Kudos to this crazy realism level down to the last detail of cyclic.

 

Thank you arneh!!

Edited by =815=TooCooL
Thanks again

System: Core2Duo E8500, 4G ram, GTX260, SLC SSD, and Vista 32bit. LG W2600HP 26" LCD.

Controls : MSFFB2, CH Pro throttle, Saitek rudder, Saitek throttle quadrant, and TrackIR4

BS Setting : medium with visibility HIGH

More skill you get, more you Love DCS:Black Shark.

Posted

Can I just confirm - I'm not at home right now so I can't test it myself:

 

Without using the single trigger mod, there seem to be three inputs:

 

- fire cannon

- fire weapon

- flip up weapon trigger

 

My question is: if I flip up the weapon trigger to use my cannon trigger, do I need to then press "flip up" again to toggle back to the weapon trigger, or does pressing the weapon trigger automatically reset the "flip up" state?

DCS Wishlist: | Navy F-14 | Navy F/A-18 | AH-6 | Navy A-6 | Official Navy A-4 | Carrier Ops | Dynamic Campaign | Marine AH-1 |

 

Streaming DCS sometimes:

Posted
My question is: if I flip up the weapon trigger to use my cannon trigger, do I need to then press "flip up" again to toggle back to the weapon trigger, or does pressing the weapon trigger automatically reset the "flip up" state?

 

You have to press it again to switch back to other weapons. It does more than just switch active weapon, it will also change the HUD, start slewing the cannon etc.

Posted (edited)

thanks. So if I set up my X52 as follows it should be good:

 

- trigger 1st detent: fire cannon

- trigger 2nd detent: fire weapon

- pinkie plus trigger 1st detent: flip up trigger

Edited by ruprecht
?

DCS Wishlist: | Navy F-14 | Navy F/A-18 | AH-6 | Navy A-6 | Official Navy A-4 | Carrier Ops | Dynamic Campaign | Marine AH-1 |

 

Streaming DCS sometimes:

Posted
Frederf, did you read the post above yours?

 

1. I pressed "REPLY"

2. Post above me was posted.

3. My post was posted.

 

I only got to read it after I posted.

 

thanks. So if I set up my X52 as follows it should be good:

 

- trigger 1st detent: fire cannon

- trigger 2nd detent: fire weapon

- pinkie plus trigger 1st detent: flip up trigger

 

People have been having problems using the X52's dual-stage trigger with Black Shark to do clever things like that. Best of luck.

Posted (edited)

I use my dual trigger like this.

 

first trigger fires Cannon and Missiles depending on what weapon I have selected.

 

Second Trigger does nothing ATM as I am still in the middle of making a profile and cannot yet find a use for that button.

 

Second Trigger plus pinkie changes Cannon Rate of Fire, eg hi-low.

 

When in Mode 3, I use B button to activate Cannon and pinky+B changes cannon ammo type and button A to uncage shkval and pinky+A re-centres shkval.

 

Not sure what I will use for mode 3 second trigger as of yet, But I am sure I will think of something but to be honest, I really dont find second trigger to be that useful outside pinkie mode.

 

I use flip up fire button as Master arm when in mode 3 and that same button with pinky is manual/auto weapons control.

Edited by bumfire
Posted

Anyone using saitek x52 and joy button1 does both, without using saitek software?

 

i modified the lua file (it actually had two use_single_trigger lines in it, one set to false, one set to true..i removed the false one)

 

setting Gun Fire and Release Weapon to joy1 would only fire the cannon...

 

But i can map joy15 to Release Weapon, i.e trigger 1st indent is cannon, trigger 2nd indent is fire weapon...that works in game.

Posted (edited)

I use the x52 non pro version, but I use sst to map my buttons but having said that, in the sst software I leave the first trigger box empty so sst isnt controlling first trigger which controls both cannon fire and missiles.

 

In the ingame options, dont map cannon fire and weapons realease for joystick button 1 as that will be a conflict, cannon fire should be button 1 and weapons release is button 2? if I recall, leave them at defaults and single trigger will work without having to map changes via the sst software.

Edited by bumfire
Posted

the use_single_trigger flag in the LUA means that the cannon fire command handles both cannon and weapon triggers, if you do the LUA edit you only want the cannon trigger command on your stick.

 

Unbind, erase, etc all weapon release binds in the controls. You don't need it at all after that LUA edit.

Posted
i modified the lua file (it actually had two use_single_trigger lines in it, one set to false, one set to true..i removed the false one)

 

Well that's your mistake right there. Due to the line above (if LockOn_Options.flight.easy_radar) the second line will only run in easy mode. So if you run in realistic mode the second line has no effect, and since you removed the first one that won't either.

So I suggest you put the first line back in :)

Posted

Yeah there's two sections of that LUA, one for easy and one for real avionics mode. The easy mode defaults to "one trigger true" but the real mode defaults to "one trigger false"

  • 10 months later...
Posted

is this still working after 1.01c?

my weaponsystem.lua looks like this but i cannot assign double keys:

 

use_single_trigger = true

allow_cycle_loadout = false

select_empty_stations = true

if LockOn_Options.flight.easy_radar then

use_single_trigger = true

allow_cycle_loadout = true

select_empty_stations = false

end

need_to_be_closed = true

Spoiler

AMD Ryzen 9 5900X, MSI MEG X570 UNIFY (AM4, AMD X570, ATX), Noctua NH-DH14, EVGA GeForce RTX 3070 Ti XC3 ULTRA, Seasonic Focus PX (850W), Kingston HyperX 240GB, Samsung 970 EVO Plus (1000GB, M.2 2280), 32GB G.Skill Trident Z Neo DDR4-3600 DIMM CL16, Cooler Master 932 HAF, Samsung Odyssey G5; 34", Win 10 X64 Pro, Track IR, TM Warthog, TM MFDs, Saitek Pro Flight Rudders

 

Posted

You don't need to assign double keys. Once use_single_trigger = true then the cannon key operates both the cannon and other weapons. You can throw the weapons release keybind in the trash can.

Posted

right. thanks frederf. hmm your name is a palindrome, does it mean something?

Spoiler

AMD Ryzen 9 5900X, MSI MEG X570 UNIFY (AM4, AMD X570, ATX), Noctua NH-DH14, EVGA GeForce RTX 3070 Ti XC3 ULTRA, Seasonic Focus PX (850W), Kingston HyperX 240GB, Samsung 970 EVO Plus (1000GB, M.2 2280), 32GB G.Skill Trident Z Neo DDR4-3600 DIMM CL16, Cooler Master 932 HAF, Samsung Odyssey G5; 34", Win 10 X64 Pro, Track IR, TM Warthog, TM MFDs, Saitek Pro Flight Rudders

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...