Jump to content
Sign in to follow this  
Guest Staalplaat

FS2K2 - Hazardscript Profile(s)

Recommended Posts

Guest GiZBUG

Does anyone have some profiles I can try or take a look at?If so, could you post them?

Share this post


Link to post
Share on other sites
Guest Staalplaat

I've made a Hazardscript profile for PIC767. It covers all autopilotfunctions and more off course. You can also use the profile for "normal" planes off course as it covers all functions, including ATC! So, handsfree flying! Yep, theX-45 rules.Btw, check the Saitek site for the new Win200/XP (Beta)drivers. Almost all functionality as Dhauzimer drivers and easy programming. Only the rotaries do not work yet!Please read the profile because some adjustments need to be made in the fs2002 assignments if you use PIC767!!!!###HazardScript profile for Saitek X45 controller for PIC767. #Version 1.0 made by Lennart van Opbergen####custom commands##SECTION ONE##Standard fs2002 commands#define Pause as pdefine Full_Screen as alt Returndefine Display_Menus as RightAltdefine Kneeboard as F10define Sound_on_off as qdefine Reset_Flight as ctrl Semicolondefine Save_Flight as Semicolondefine Exit_Sim as ctrl cdefine ATC_Window as Tildedefine Joystick_on_off as ctrl kdefine Cycle_Coord_Frames as shft zdefine Select_Item_1 as "1"define Select_Item_2 as "2"define Select_Item_3 as "3"define Select_Item_4 as "4"define Select_Item_5 as "5"define Select_Item_6 as "6"define Select_Item_7 as "7"define Select_Item_8 as "8"define Select_Item_9 as "9"define Increase_Selection as Eqdefine Increase_Selection_Slightly as shft Eqdefine Decrease_Selection_Slightly as shft Hyphendefine Decrease_Selection as Hyphen##CONTROL SURFACE COMMANDS#define Trim_Left_Aileron as ctrl KP_4#define end_Trim_Left_Aileron as rl ctrl KP_4define Trim_Right_Aileron as ctrl KP_6#define end_Trim_Right_Aileron as rl ctrl KP_6define Trim_Left_Rudder as ctrl KP_0#define end_Trim_Left_Rudder as rl ctrl KP_0define Trim_Right_Rudder as ctrl KP_Enter#define end_Trim_Right_Rudder as rl ctrl KP_Enterdefine Trim_Up as KP_1#define end_Trim_Up as rl KP_1define Trim_Dn as KP_7#define end_Trim_Dn as rl KP_7define Flaps_Ext_Incr as F7define Flaps_Ext_Full as F8define Flaps_Retr_Incr as F6define Flaps_Retr_Full as F5define Spoilers_Ext_Retr as Forwardslashdefine Autospoilers_Arm as shft Forwardslashdefine Water_Rudder as shft w##ENGINE COMMANDS#define Engine_Autostart as ctrl edefine Afterburner_on_off as shft F4define start_Prop_RPM_Increase as pr ctrl F3define end_Prop_RPM_Increase as rl ctrl F3define Prop_RPM_High as ctrl F4define start_Prop_RPM_Decrease as ctrl F2define end_Prop_RPM_Decrease as rl ctrl F2define Prop_RPM_Low as ctrl F1define start_Mixture_Lean as pr ctrl shft F2define end_Mixture_Lean as rl ctrl shft F2define Mixture_Idle_Cutoff as ctrl shft F1define start_Mixture_Enrich as pr ctrl shft F3define end_Mixture_Enrich as rl ctrl shft F3define Mixture_Rich_Full as ctrl shft F4define Carb_Heat_on_off as hdefine Select_Engine as edefine Select_Mags as mdefine Select_Jet_Starter as jdefine Reverser as F2##GENERAL AIRCRAFT COMMANDS#define Pushback as shft pdefine start_Brakes_All as pr Perioddefine end_Brakes_All as rl Perioddefine start_Brakes_Left as pr F11define end_Brakes_Left as rl F11define start_Brakes_Right as pr F12define end_Brakes_Right as rl F12define Parking_Brake as ctrl Perioddefine Landing_Gear_Up_Dn as gdefine Landing_Gear_Manual as ctrl gdefine Smoke_on_off as idefine Cowl_Open as ctrl shft vdefine Cowl_Close as ctrl shft cdefine Select_Exit as shft e##LIGHT COMMANDS#define Lights_All as ldefine Lights_Strobe as odefine Lights_Panel as shft ldefine Lights_Landing as ctrl ldefine Lights_Landing_Dn as ctrl shft KP_2define Lights_Landing_Up as ctrl shft KP_8define Lights_Landing_Left as ctrl shft KP_4define Lights_Landing_Rt as ctrl shft KP_6define Lights_Landing_Cent as ctrl shft KP_5##RADIO COMMANDS#define VOR_1_Indent_on_off as ctrl "1"define VOR_2_Indent_on_off as ctrl "2"define DME_1_Indent_on_off as ctrl "3"define DME_2_Indent_on_off as ctrl "4"define ADF_Indent_on_off as ctrl "5"define Switch_to_Standby_Freq as xdefine Select_COM_Radio as cdefine Select_NAV_Radio as ndefine Select_OBS_Indicator as vdefine Select_ADF as adefine Select_DME as fdefine Select_Transponder as t##AUTOPILOT COMMANDS#define AP_Master as zdefine AP_Flight_Director as ctrl fdefine AP_Wing_Leveler as ctrl vdefine AP_Yaw_Damper as ctrl ddefine AP_Altitude_Hold as ctrl zdefine AP_Altitude_Select as ctrl shft zdefine AP_Heading_Hold as ctrl hdefine AP_Select_Heading_Bug as ctrl shft hdefine AP_Airspeed_Hold as ctrl rdefine AP_Select_Airspeed as ctrl shft rdefine AP_Mach_Hold as ctrl mdefine AP_Autothrottle_Arm as shft rdefine AP_TOGA as ctrl shft gdefine AP_Nav_1_Hold as ctrl ndefine AP_Approach_Mode as ctrl adefine AP_Back_Crse_Mode as ctrl bdefine AP_Localizer_Hold as ctrl odefine AP_Attitude_Hold as ctrl t##INSTRUMENT COMMANDS#define Reset_Heading_Indicator as ddefine Reset_Altimeter as bdefine Pitot_Heat as shft hdefine Select_EGT_Ref as udefine Panel_on_off as wdefine Snap_to_Panel_View as shft KP_0define Cycle_Views as sdefine Cycle_Views_Back as shft s##GENERIC#define start_Shift_Key as pr LeftShiftdefine end_Shift_Key as rl LeftShiftdefine start_Control_Key as pr LeftControldefine end_Control_Key as rl LeftControl##VIEW COMMANDS#define Look_Ahead as shft KP_8define Look_Ahead_Right as shft KP_9define Look_Right as shft KP_6define Look_Back_Right as shft KP_3define Look_Back as shft KP_2define Look_Back_Left as shft KP_1define Look_Left as shft KP_4define Look_Ahead_Left as shft KP_7define start_Pan_Up as pr Backslashdefine end_Pan_Up as rl Backslashdefine start_Pan_Down as pr shft Backslashdefine end_Pan_Down as rl shft Backslashdefine start_Pan_Left as pr Tabdefine end_Pan_Left as rl Tabdefine start_Pan_Right as pr shft Tabdefine end_Pan_Right as rl shft Tabdefine Reset_Pan_View as shft KP_Dotdefine Move_Eyepoint_Back as ctrl Returndefine Move_Eyepoint_Forward as ctrl Backspacedefine Move_Eyepoint_Up as shft Returndefine Move_Eyepoint_Down as shft Backspacedefine Move_Eyepoint_Left as ctrl shft Backspacedefine Move_Eyepoint_Right as ctrl shft Returndefine Reset_Eyepoint as Spacebardefine Chase_View_on_off as ctrl qdefine Cycle_Chase as ctrl wdefine Cycle_Chase_Back as ctrl shft wdefine Switch_View as s##PIC COMMANDS##AUTOPILOT COMMANDS#define Left_Autopilot as adefine Center_Autopilot as shft adefine Right_Autopilot as tab adefine Disconnect_Bar as zdefine Flight_Director as ctrl fdefine Altitude_HOLD_Mode as ctrl zdefine Vertical_Speed as ctrl pdefine FL_Change as ctrl idefine V_Nav as ctrl vdefine L_Nav as ctrl ndefine Heading_Select as ctrl hdefine Heading_Hold as ctrl jdefine LOC_Mode as ctrl odefine BC_Mode as ctrl bdefine APP_Mode as ctrl a#########//////////////There are conflicts with some keycombinations standard present in the PIC default commands. Therefor look carefully at the changes below and re-assign them in fs2002 in the PIC menu. The "decrease-values" have all been changed! Some Tab+other key commands are replaced. The Tab key has been removed and replaced by the Spacebar./////////////////////########define VS_Window_Increase as shft ctrl pdefine VS_Window_Decrease as shft ctrl spacebardefine ALT_Window_Increase as shft ctrl zdefine ALT_Window_Decrease as ctrl spacebardefine Speed_Window_Increase as shft ctrl vdefine Speed_Window_Decrease as Tab spacebardefine Heading_Window_Increase as shft ctrl hdefine Heading_Window_Decrease as shft spacebar##Autothrottle commands#define Autothrottleswitch as shft rdefine SPD_Mode as ctrl mdefine N1_Mode as shft ctrl ndefine IAS_Mach_Selector as shft idefine TOGA_Power as ctrl F5define Climb_Power as ctrl F6define Cont_Power as ctrl F11##Consoles#define Standby_Instr as shft "3"define Overhead as shft "4"define Throttle_Console as shft "5"define FMC as shft "6"define FMC_Keycomm as shft kdefine Hydralic as shft "7"#######SECTION TWO#####Assigments####STICK ASSIGMENTS##Autopilot Commands#set Trigger pr to start_Brakes_Allset Trigger rl to end_Brakes_Allset Trigger to Parking_brake in SHIFT_M1 mode#set Trigger to #set Trigger to #set Fire_A to Left_Autopilot set Fire_A to V_Nav in SHIFT_M1 modeset Fire_A to Altitude_HOLD_Mode in SHIFT_M2 modeset Fire_A to Vertical_Speed in SHIFT_M3 mode#set Fire_B to Right_Autopilot set Fire_B to L_Nav in SHIFT_M1 modeset Fire_B to Heading_Hold in SHIFT_M2 mode set Fire_B to FL_Change in SHIFT_M3 mode#set Fire_C to Disconnect_Barset Fire_C to Overhead in SHIFT_M1 modeset Fire_C to FMC in M2 Modeset Fire_C to FMC_Keycomm in SHIFT_M2 modeset Fire_C to Throttle_Console in M3 modeset Fire_C to Standby_Instr in SHIFT_M3 mode#set Launch to Center_Autopilot set Launch to APP_Mode in SHIFT_M1 modeset Launch to SPD_Mode in M2 modeset Launch to Heading_Select in SHIFT_M2 modeset Launch to LOC_Mode in SHIFT_M3 mode#set StickHat1_up to DX12set StickHat1_right to DX13set StickHat1_down to DX14set StickHat1_left to DX15#######///////There is a conflict with assigning the trimcontrols. That is why I assigned DX controls to stickhat1. Set your rudder- and horizontal stabiliser trimcontrols in FS2002 itself to get these working after loading this Hazardscript for the first time.///////#####THROTTLE ASSIGMENTS#set Fire_D to TOGA_Powerset Fire_D to Climb_Power in SHIFT_M1 modeset Fire_D to Cont_Power in SHIFT_M2 modeset Fire_D to N1_Mode in SHIFT_M3 mode#set MouseHat_right to Switch_Viewset Mousehat_left as Autothrottleswitch# set Mousehat_up to ALT_Window_Increaseset Mousehat_down to ALT_Window_Decreaseset Mousehat_up to VS_Window_Increase in SHIFT_M1 modeset Mousehat_down to VS_Window_Decrease in SHIFT_M1 modeset Mousehat_up to Speed_Window_Increase in SHIFT_M2 modeset Mousehat_down to Speed_Window_Decrease in SHIFT_M2 modeset Mousehat_UP to Heading_Window_Increase in SHIFT_M3 modeset Mousehat_Down to Heading_Window_Decrease in SHIFT_M3 mode#set Mouse_Fire to Reverserset Mouse_Fire as ATC_Window in SHIFT_M1 mode#set ThHat1_up to Flaps_Retr_Incrset ThHat1_down to Flaps_Ext_Incrset ThHat1_left to Landing_Gear_Up_Dnset ThHat1_right to Autospoilers_Arm#set ThHat1_up to Select_Item_1 in SHIFT_M1 modeset ThHat1_down to Select_Item_3 in SHIFT_M1 modeset ThHat1_left to Select_Item_2 in SHIFT_M1 modeset ThHat1_right to Select_Item_4 in SHIFT_M1 modeset ThHat1_up to Select_Item_5 in SHIFT_M2 modeset ThHat1_down to Select_Item_6 in SHIFT_M2 modeset ThHat1_left to Select_Item_7 in SHIFT_M2 modeset ThHat1_right to Select_Item_8 in SHIFT_M2 mode

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...