-
Posts
1770 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by hreich
-
Can anyone share profile - i would like to use Script profile
-
Tm warthog script profile help needed
hreich replied to hreich's topic in Controller Questions and Bugs
Yes in that print screen is the whole script for my clean configuration..wit the posibikity to turn led on/off... The other example here is for my a-10c profile Here is script : include*"target.tmh" include*"DCS A-10C TM Profile PhoenixBvo.ttm" define*DEBUG_MODE*1*// 0 or 1 int*sensitivity;*// stores slew control sensitivity reduction // Function toggles slew control SCX SCY sensitivity in a cycle of 0 to -1 int*ToggleSensitivity() { *****sensitivity = sensitivity +1; ****if*(sensitivity >*2) *********sensitivity =*0; ****//sensitivity = !sensitivity; ******** ****if*(DEBUG_MODE)*****printf("Toggle Sensitivity to %d\xa", -sensitivity); ****SetSCurve(&Throttle, SCX,*0,*0,*0,*0, -sensitivity); ****SetSCurve(&Throttle, SCY,*0,*0,*0,*0, -sensitivity); }; int*Flash3; int*main() { ****/////////////////// Setup and initialisation /////////////////// ****Exclude(&HCougar); ****Exclude(&T16000); ****Exclude(&LMFD); ****Exclude(&RMFD); ****if(Init(&EventHandle))*return*1; ****SetKBRate(100,*60);*// Keyboard pulse and delay times in ms ****SetKBLayout(KB_ENG); ****SetShiftButton(&Joystick, S4,*0,*0,*0,*0);*// Pinky paddle as shift modifier for all layers ****ActKey(PULSE+KEYON+LED(&Throttle, LED_INTENSITY,*64));*// set Throttle backlight power to low ****ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1));*//set LED 1 OFF ****ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED2));*//set LED 2 OFF ****ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED3));*//set LED 3 OFF ****ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4));*//set LED 4 OFF ****ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5));*//set LED 5 OFF ****/////////////////// Joystick button mapping /////////////////// ****MapKey(&Joystick, TG1, TriggerStage1); ****MapKey(&Joystick, TG2, TriggerStage2); Flash3 = CHAIN( LED(&Throttle,LED_ONOFF,LED_CURRENT^0x333338),D(500), LED(&Throttle,LED_ONOFF,LED_CURRENT^0x333338),D(500), LED(&Throttle,LED_ONOFF,LED_CURRENT^0x333338),D(500), LED(&Throttle,LED_ONOFF,LED_CURRENT^0x333338),D(500), LED(&Throttle,LED_ONOFF,LED_CURRENT^0x333338),D(500), LED(&Throttle,LED_ONOFF,LED_CURRENT^0x333338),D(500) ); ****MapKeyIO(&Joystick, S1, ********SEQ(*//open the sequence ********CHAIN( ************EXEC(*// Curve 1 ****************"SetSCurve(&Joystick, JOYX, 0, 0, 0, 1, 0); SetSCurve(&Joystick, JOYY, 0, 0, 0, 1, 0);" ************), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1) ************), ********CHAIN( ************EXEC(*// curve 2 ****************"SetSCurve(&Joystick, JOYX, 0, 0, 0, 2, 0); SetSCurve(&Joystick, JOYY, 0, 0, 0, 2, 0);" ************), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED2) ************), ********CHAIN( ************EXEC(*// curve 3 ****************"SetSCurve(&Joystick, JOYX, 0, 0, 0, 3, 0); SetSCurve(&Joystick, JOYY, 0, 0, 0, 3, 0);" ************), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED2), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED3) ************), ********CHAIN( ************EXEC(*// curve 4 ****************"SetSCurve(&Joystick, JOYX, 0, 0, 0, 3, -1); SetSCurve(&Joystick, JOYY, 0, 0, 0, 3, -1);" ************), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED2), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED3), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED4) ************), ********CHAIN( ************EXEC(*// curve 5 ****************"SetSCurve(&Joystick, JOYX, 0, 0, 0, 4, -1); SetSCurve(&Joystick, JOYY, 0, 0, 0, 4, -1);" ************), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED2), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED3), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED4), ************LED(&Throttle, LED_ONOFF, LED_CURRENT+LED5) ************), ********CHAIN( ************EXEC(*// reset to straight ****************"SetSCurve(&Joystick, JOYX, 0, 0, 0 ,0, 0); SetSCurve(&Joystick, JOYY, 0, 0, 0 ,0, 0);" ************), ************LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1), ************LED(&Throttle, LED_ONOFF, LED_CURRENT-LED2), ************LED(&Throttle, LED_ONOFF, LED_CURRENT-LED3), ************LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4), ************LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5) ************) ********)*//close the Sequence ********, MasterMode ****);*//close the MapKey ****MapKeyIO(&Joystick, S2, NightVision, WeaponRelease);***// With Pinky: toggle night vision ****MapKeyIO(&Joystick, S3, L_CTL+'t', NosewheelSteering);*//with pinkie center trim ****MapKey(&Joystick, S4,*0); **** ****MapKey(&Joystick, H1U, TrimSwitchUp); ****MapKey(&Joystick, H1D, TrimSwitchDown); ****MapKey(&Joystick, H1L, TrimSwitchLeft); ****MapKey(&Joystick, H1R, TrimSwitchRight); **** ****MapKey(&Joystick, H2U, TargetManagementUp); ****MapKey(&Joystick, H2D, TargetManagementDown); ****MapKey(&Joystick, H2L, TargetManagementLeft); ****MapKey(&Joystick, H2R, TargetManagementRight); **** ****MapKey(&Joystick, H3U, DataManagementUp); ****MapKey(&Joystick, H3D, DataManagementDown); ****MapKey(&Joystick, H3L, DataManagementLeft); ****MapKey(&Joystick, H3R, DataManagementRight); **** ****MapKeyIO(&Joystick, H4U, USB[0x55], CounterMeasuresUp); ****MapKeyIO(&Joystick, H4D, USB[0x54],CounterMeasuresDown); ****MapKey(&Joystick, H4L, CounterMeasuresLeft); ****MapKey(&Joystick, H4R, CounterMeasuresRight); ****MapKey(&Joystick, H4P, CounterMeasuresPress); **** ****/////////////////// Joystick axes setup /////////////////// ****MapAxis(&Joystick, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); ****SetSCurve(&Joystick, JOYX,*0,*0,*0,*0,*0); ****MapAxis(&Joystick, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); ****SetSCurve(&Joystick, JOYY,*0,*0,*0,*0,*0); ****RotateDXAxis(DX_X_AXIS, DX_Y_AXIS, -05);*//simulate a -15 deg twisted centred stick for the A-10. **** ****/////////////////// Throttle button mapping /////////////////// ****//MapKey(&Throttle, MSU, MicSwitchUP); ****//MapKey(&Throttle, MSD, MicSwitchDown); ****//MapKey(&Throttle, MSL, MicSwitchLeft); ****//MapKey(&Throttle, MSR, MicSwitchRight);**** ****//MapKey(&Throttle, MSP, MicSwitchPress);*************// Teamspeak press-to-talk button MapKeyIO(&Throttle,MSU,F1, TEMPO(F1,L_SHIFT+F12,50)); MapKeyIO(&Throttle,MSD,F3,L_ALT+USB[86]); MapKeyIO(&Throttle,MSL,F4,L_SHIFT+USB[86]); MapKeyIO(&Throttle,MSR,L_CTL+F5,L_ALT+USB[87]); MapKey(&Throttle, MSP, EXEC("ToggleSensitivity();")); **** ****MapKey(&Throttle, SPDF, SpeedBrakeForward); ****MapKey(&Throttle, SPDB, SpeedBrakeBack); **** ****MapKey(&Throttle, BSF, BoatSwitchForward); ****MapKey(&Throttle, BSM, BoatSwitchCenter); ****MapKey(&Throttle, BSB, BoatSwitchBack); **** ****MapKey(&Throttle, CHF, ChinaHatForward); ****MapKey(&Throttle, CHB, ChinaHatBack); **** ****MapKey(&Throttle, PSF, PinkySwitchForward); ****MapKey(&Throttle, PSM, PinkySwitchCenter); ****MapKey(&Throttle, PSB, PinkySwitchBack); **** ****MapKey(&Throttle, CSU, CoolieHatUp); ****MapKey(&Throttle, CSD, CoolieHatDown); ****MapKey(&Throttle, CSR, CoolieHatLeft); ****MapKey(&Throttle, CSL, CoolieHatRight); **** ****MapKeyIO(&Throttle, LTB, TEMPO(L_ALT+F12, L_SHIFT+F12), L_ALT+F12);*// TrackIR reset, TrackIR pause **** ****MapKey(&Throttle, EFLNORM, LeftEngineFuelNorm); ****MapKey(&Throttle, EFLOVER, LeftEngineFuelOver); ****MapKey(&Throttle, EFRNORM, RightEngineFuelNorm); ****MapKey(&Throttle, EFROVER, RightEngineFuelOver); ****MapKey(&Throttle, EOLIGN, LeftEngineOperIgn); ****MapKey(&Throttle, EOLMOTOR, LeftEngineOperMotor); ****MapKey(&Throttle, EOLNORM,****LeftEngineOperNorm);**** ****MapKey(&Throttle, EORIGN, RightEngineOperIgn); ****MapKey(&Throttle, EORMOTOR, RightEngineOperMotor); ****MapKey(&Throttle, EORNORM,****RightEngineOperNorm); **** **** ****MapKey(&Throttle, APUON, APUStart); ****MapKey(&Throttle, APUOFF, APUOff); **** ****MapKey(&Throttle, LDGH, LandingGearToggle); **** ****MapKey(&Throttle, APPAT, AutoPilotPathHold); ****MapKey(&Throttle, APAH, AutoPilotAltHeading); ****MapKey(&Throttle, APALT, AutoPilotAlt); ****MapKey(&Throttle, APENG, AutoPilotEngage); **** ****MapKey(&Throttle, RDRNRM, RadarAltDisengage); ****MapKey(&Throttle, RDRDIS, RadarAltNormal); **** ****MapKey(&Throttle,EACON,CHAIN(DX24, LED(&Throttle, LED_INTENSITY,*129))); ****MapKeyR(&Throttle,EACON,CHAIN(PULSE+L_CTL+'a', LED(&Throttle, LED_INTENSITY,*0))); **** ****//MapKey(&Throttle, FLAPU, FlapsUp); ****//MapKey(&Throttle,**FLAPD, FlapsDown); ****//MapKey(&Throttle, FLAPM, FlapsMvr); // DirectX 11= Flaps Up // DirectX 12 = Flaps Down //When pushing to fwd position send DirextX 11 MapKey(&Throttle,FLAPU,DX11); //When switching to middle position I use release for FLAPU and send DirectX 12 MapKeyR(&Throttle,FLAPU,DX12); //When pushing to aft position send DirextX 12 MapKey(&Throttle,FLAPD,DX12); //When switching back to middle position I use release for FLAPD and send DirectX 11 MapKeyR(&Throttle,FLAPD,DX11); //Checking Flaps switch position at throttle and put switch in same position at game if(Throttle[FLAPU]) ActKey(KEYON+DX11); else*if*(Throttle[FLAPD]) ActKey(KEYON+DX12); **** ****MapKey(&Throttle, IDLELON, DX29); ****MapKey(&Throttle, IDLERON, DX30); ****MapKey(&Throttle, IDLELOFF, DX31); ****MapKey(&Throttle, IDLEROFF, DX32); **** ****/////////////////// throttle axes setup /////////////////// ****MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); ****SetSCurve(&Throttle, SCX,*0,*4,*0,*3, -3); ****MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); ****SetSCurve(&Throttle, SCY,*0,*4,*0,*3, -3); ****MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); ****SetSCurve(&Throttle, THR_RIGHT,*0,*0,*0,*0,*0); ****MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); ****SetSCurve(&Throttle, THR_LEFT,*0,*0,*0,*0,*0); ****KeyAxis(&Throttle,THR_FC,'o',AXMAP2(7,USB[0x55] ,0,0,0,0,0,USB[0x54])); ****KeyAxis(&Throttle,THR_FC,'i',AXMAP2(3,CHAIN( L_CTL+'g',Flash3),0, CHAIN(L_SHIFT+'g',Flash3))); } int*EventHandle(int*type,*alias*o,*int*x) { ****DefaultMapping(&o, x); } -
-
Congrats and i would like the campaign
-
Registration for Blue flag Callsign: Mailman [NOB] Prefered Aircraft: A-10C, Huey, Ka-50
-
DCS Weather - Real time weather in your DCS World
hreich replied to chromium's topic in Utility/Program Mods for DCS World
Thx for update...i postponed playing dcs world after migrating to win10 insider preview version,just because there is no save mission function..And yes, if anyone is interested dcs works on win10 -
Chromium...do yo have an eta on release?
-
Absolutely love your guide...i just tried nuclear bomb delivery, and managed to get it launched with over the shoulder method...and while wtaching outside camera, just as bomb impacted...guess what...y pc crashed !!!!
-
Please share mission
-
Maybe 901 version....
-
GAMETRIX KW-908 JETSEAT I was wondering what is the price for gametrix vibe cushion with delivery to croatia.? What is difference between 901 and 905 version?
-
What is the cost with delivery to 10000 zagreb in Croatia?
-
New video trailer for DCS / Open Conflict Server!
hreich replied to Mirknir's topic in Screenshots and Videos
Is that music from battlestar galactica at the beginning? -
Do they have new decals? No red star only anymore...
-
Are those from that donetsk republic?
-
DCS: F-14A/A+/B by Heatblur Simulations coming to DCS World!
hreich replied to Cobra847's topic in DCS: F-14A & B
When ? -
Send mail to TM support..they'll send file and instruction to unbrick warthog.
-
I have prob with cargo cam never showing on my screen..how to properly use it, and what is required for It to show?
-
MFG Crosswind - Review
hreich replied to Flamin_Squirrel's topic in PC Hardware and Related Software
Hi...everybody...just keep waiting, once you get them you will see why you bought them..I am proud owner of a pair -
I tried using config from hellsbells but i dont have cargo cam showing at all..do i need to position myself properly over cargo to get camera to show on my screen?
-
Addon Tents, Watchtower, UH-1-Cargo
hreich replied to upuaut's topic in Static/AI Mods for DCS World
I managed to fix it by using new version of files...i also now have huey ecrew ejection animation -
Same here..did you fix it?
-
Addon Tents, Watchtower, UH-1-Cargo
hreich replied to upuaut's topic in Static/AI Mods for DCS World
Ok ill try redownload...problem is using ship/Ix514 with tents/cargo/helipads, because jgsme reports that it will overwright data -
Addon Tents, Watchtower, UH-1-Cargo
hreich replied to upuaut's topic in Static/AI Mods for DCS World
No...but when i use ship + IX514 mod at the same time, i get only the ship showing in ME. In JGSME i get error that IX514 folders Shapes and Textures has already been added by your other ship mod Folder "Mods\Tech\Shapes" has already been added Folder "Mods\Tech\Textures" has already been added When using your helipads_cargo mod i get following errors, which clearly shows that entry.lua is already altered by ship mod entry.lua" has already been altered by the "0 Texture_Ship" mod. Folder "Mods\Tech\Shapes" has already been added by the "0 Texture_Ship" mod. Folder "Mods\Tech\Textures" has already been added by the "0 Texture_Ship" mod. Folder "Mods\Tech\Theme" has already been added by the "0 Texture_Ship" mod. "icon.png" has already been altered by the "0 Texture_Ship" mod. Folder "Mods\Tech\Theme\ME" has already been added by the "0 Texture_Ship" mod. In general Tents mod and ship - have entry.lua which overwrites itself...And also tents doesnt work with ship at the same time Can somebody provide all mods combined JGSME zip file? Please