CAPTAIN SIM FORUM
Weapon for FSX >> Weapon for FSX >> Button 1 won't fire weapons
https://www.captainsim.org/forum/csf.pl?num=1298727564

Message started by vic007 on Feb 26th, 2011 at 1:39pm

Title: Re: Button 1 won't fire weapons
Post by boeing247 on Feb 26th, 2011 at 7:55pm
Hi there! Were you the one who asked me about the chopper?

Anyways, this is an easy fix. My Logitech Extreme 3D joystick has Button One mapped as brakes, so obviously my weapon did not work. I remapped it to button three (which was in a more realistic place, anyways) like this:

1. Go to your SimObjects folder (in the fsx folder) and go to CS_FA-18 and open "CS_Weapon". If you can't open it because you don't have the right programs (I'm not sure what you need, I just use dreamweaver, but notepad might work, I'm not sure), tell me and I'll send you a modified file.
2. Search for (Ctrl+F to search) this text: <Action name="fire" control="joystick:0:button:0" />
3. See the part that says "button:0"? Find the new button that you want to change the firing mechanism to and subtract one, then replace 0 with the number. For example, I remapped to button 3, 3-1=2, so I wrote button:2.
4. Save and go test. Tell us if it works!  :)

Note: Make sure the button which you are mapping to DOES NOT HAVE A PREVIOUS FUNCTION MAPPED TO IT. That's why your first button (#1) doesn't work.

Happy Flying!

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.