Gizzy Posted April 25, 2016 Posted April 25, 2016 Recently I was undergoing formal GS IP training and it was a bit fast and furious like, well away from the normal ‘gentle’ slick stuff, and then the IP introduced auto rotations at low level in various situations and speeds. Basically, I suck a bit and need to practice. Reaching over and hitting the ‘F’ key is always premeditated and always I would wait till I was level and there was a bit of clear ground ahead! To make things a little bit more realistic I wrote a simple autohotkey script that cuts of the fuel at a random period within a specific time period. #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% ^j:: Random, Time_To_Wait, 60, 300 ;Get a random number between 1 min and 5 min Sleep, Time_To_Wait * 1000 ;Sleep deals in miliseconds, multiply seconds by 1000 to get ms Send, {f down} Sleep 15 Send, {f up} returnHere, once initiated, the fuel will cut off at a random time between 1 and 5 minutes.... And well you have to land whatever you are up toooooo Autohotkey is free, small and uses little resources. The script when compiled and running uses around 1.2mb of memory with me... Negligible... Have autohotkey installed and run the script or just run the f.exe (just the script compiled) and then fly. To initiate you just hit ‘CTRL J’ and the timing process will start BUT ONE issue though, is that if you hit ‘CTRL J’ whilst DCS has the focus it traps the keystrokes and does not pass them through to autohotkey. So a work around is to have notepad running open on say, a blank txt file.... THEN.... (1) Start DCS as normal and fly. (2) When you want to initiate the timer, ALT TAB to notepad, hit ‘CTRL J’ and ALT TAB back to DCS and continue to fly.... (3) and of course the fuel will cut off at some point and for sure you will crash some.... This is repeatable as many times as you wish.... SP or on the server, do it together with mates on the server... whatever.... It certainly makes autorotation training more realistic and dare I say it, more fun.... The f.ahk and f.exe zipped (500Kb) can be downloaded from my Google drive here https://drive.google.com/open?id=0B7FaeRwacSmPZlVLZnZCU25KVDA Autohotkey can be got here https://autohotkey.com/ If you use it and have any problems just shout.... # Remember this now....
flying rabbit Posted April 25, 2016 Posted April 25, 2016 You could do this with triggers in the ME. :)
Gizzy Posted April 25, 2016 Author Posted April 25, 2016 You could do this with triggers in the ME. :) Pilot initiated and random within a tine period.... I'll be interested in that, could you let me know how, please?
flying rabbit Posted April 26, 2016 Posted April 26, 2016 Ive attached a little test mission. You start up cold and if you are ready for some training just hit F10 and choose "Start Autorotation Training". After some time it will kill the fuel valve and let you autorotate (or just crash). If you are ready again hit F10 again and so on. Maybe the random interval is a bit too short. But you can adjust it in the trigger (currently its 5% of the time). And I think this does not work in MP.Autorotation Training.miz 2
Gizzy Posted April 26, 2016 Author Posted April 26, 2016 Thanks for this FR, your time is appreciated :)
Recommended Posts