AJ MacLeod

> 
> On Saturday 25 Jun 2005 09:32, Vivian Meazza wrote:
> >I wonder how many users know that there is a
> > working simulation of the guns on the Spitfire (if they don't it's my
> > fault)?
> 
> I certainly didn't; grepping just now shows them up right enough.  At the
> risk
> of appearing really stupid, how does one make it work?
> 
> AJ
> 

Probably the best way is binding one of your joystick buttons to the trigger
like this:

<button> 
      <desc>Trigger</desc>
      <number> 
        <unix>1</unix>
        <windows>1</windows>
      </number>
      <binding> 
        <command>property-assign</command>
        <property>ai/submodels/trigger</property>
        <value type="bool">1</value>
      </binding>
      <mod-up> 
        <binding> 
          <command>property-assign</command>
          <property>ai/submodels/trigger</property>
          <value type="bool">0</value>
        </binding>
      </mod-up>
 </button>

If you don't use a joystick then you could use a key. I haven't thought that
one through enough to identify a spare key. Melchior's Bo105 also fires
things - I'm not sure how he does that. 

V.





_______________________________________________
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to