My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
FSScript  
Introduction to fsscript
Featured
Updated Mar 6, 2011 by nils.me...@gmail.com

Introduction

Ever wanted to solve a simple problem like adding a gear handle to flight simulator (by default FSX doesn't allow pilots to assign an axis to gear)? Don't know how to write C code and navigate Microsoft libraries?

How about simply expressing this in a script?

# bring that gear up if the joystick is moved into negative range
if dinput.joystick('Saitek Pro Flight Quadrant').axis(1) < 0
    sim.aircraft.gear.handle.up = True

Then you want to extend this script without having to restart FSX, without knowing how to run a compiler with its intricacies of switches and dependencies?

How about simply editing the script and testing out the results?

# bring that gear up if the joystick is moved into negative range
if dinput.joystick('Saitek Pro Flight Quadrant').axis(1) < 0:
    sim.aircraft.gear.handle.up = True
# call for help - fast access
if dinput.joystick(2).button(2):
    sim.aircraft.com1.frequency = 121.5

That's where fsscript comes in. It's a Python based scripting solution that allows for rapid development of scripts for FSX. It takes input from joysticks, keyboard and phidgets, and integrates with FSX/SimConnect via easy-to-use sim objects.

Welcome!

Details

TBD

Powered by Google Project Hosting