Morphine's Profile
-
Challenge Accepted!
This is also something Iāve wanted to do for a while as well. Add the code below to the TARGET Script and the 1st (Top) LED will come on once you are in the deadzone and the remaining lights will come on once you leave the deadzone and activate the AB. In your controller setup screen set the AB detent when the first light is on and you will be good to go.
Add the code below between the following two lines in the TARGET Script:
SetShiftButton(&Joystick, S3);////////////////// AXIS CONTROLS //////////////////////////////
////////////////// LED CONTROLS ////////////////////////////// //initialize LED status all "OFF" 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 //LED Throttle Position Indicator; LED 1 - MIL Power; LED 1-5 AB KeyAxis(&Throttle, THR_LEFT, 0, AXMAP2( LIST( 0, 65, 75 ), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1), CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED2), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED3), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5)), CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT+LED2), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED3), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED4), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED5)) ));
If youāve changed the deadzone to something other than 65 - 75, you will need to adjust the vaules in the text āAXMAP2( LIST( 0, 65, 75 )ā accordingly.
That is fantastic! Thanks Morphine!
-
TIP: How to change the SHIFT function to the Paddle from the S3 button.
You need to make changes in both the script and the key file. Changed text in Red.
Script Changes:
1. Change: SetShiftButton(&Joystick, S3);
to: SetShiftButton(&Joystick, S4);2. Change: MapKey(&Joystick, S4, TEMPO(PULSE+F12, DX4, 750));
to: MapKey(&Joystick, S3, TEMPO(PULSE+F12, DX3, 750));Key file Changes:
1. Change the following lines:
Pinky/S3 (Win DX3 = BMS DX2)
SimHotasPinkyShift 2 -1 -2 0 0x0 0
Paddle/S4 (ā¦and so onā¦)
SimAPOverride 3 -1 -2 0 0x0 0
To:
Pinky/S3 (Win DX3 = BMS DX2)
SimAPOverride 2 -1 -2 0 0x0 0
Paddle/S4 (ā¦and so onā¦)
SimHotasPinkyShift 3 -1 -2 0 0x0 0
2. Change the following lines:
Pinky/S3 (Win DX3 = BMS DX2+256 = BMS DX258)
SimHotasPinkyShift 258 -1 -2 0 0x0 0
Paddle/S4 (ā¦and so onā¦)
SimDoNothing 259 -1 -2 0 0x0 0
To:
Pinky/S3 (Win DX3 = BMS DX2+256 = BMS DX258)
SimDoNothing 258 -1 -2 0 0x0 0
Paddle/S4 (ā¦and so onā¦)
SimHotasPinkyShift 259 -1 -2 0 0x0 0
Some questions TigerShark.
Are you saying the Cursor Y axis doesnāt move uncontrollably in the TM Device Analyzer?
And it does begin moving uncontrollably (in the TM Device Analyzer) if you push the Cursor In (cursor enable)?
Are you running these tests with the script running?
Does the cursor work properly in another flight sim like DCS A-10C?TIP: Make the Trim Hat control views on the UNSHIFTED layer and Trim Control on the SHIFTED layer.
Neat the bottom of the key file, replace the text:
AFElevatorTrimUp 0 -1 -3 0 0x0 0
AFAileronTrimRight 0 -1 -3 1 0x0 0
AFAileronTrimRight 0 -1 -3 2 0x0 0
AFAileronTrimRight 0 -1 -3 3 0x0 0
AFElevatorTrimDown 0 -1 -3 4 0x0 0
AFAileronTrimLeft 0 -1 -3 5 0x0 0
AFAileronTrimLeft 0 -1 -3 6 0x0 0
AFAileronTrimLeft 0 -1 -3 7 0x0 0With the text:
AFElevatorTrimUp 2 -1 -3 0 0x0 0
SimDoNothing 2 -1 -3 1 0x0 0
AFAileronTrimRight 2 -1 -3 2 0x0 0
SimDoNothing 2 -1 -3 3 0x0 0
AFElevatorTrimDown 2 -1 -3 4 0x0 0
SimDoNothing 2 -1 -3 5 0x0 0
AFAileronTrimLeft 2 -1 -3 6 0x0 0
SimDoNothing 2 -1 -3 7 0x0 0I have done it already with a little reading ;)! Thanks for the tip with the TRIM hat, maybe I will try it. Currently I have mapped cursor on coolie throttle switch. As of your questions the slew hat(cursor) in TM Device Analyzer can take value from -1023 to 1023. When Iām testing with the script running goes from zero to zero and from 1023 to 1023 but when I release the hat, always return to 0,0 values. In the sim now (both BMS and FF) configuring the axes as are in the photo that you provide with the profile, but without even press the enable cursor button, the cursor start to slide up if the Y axis is normal and down if the Y is inverted. As of that the cursor make the Radar to stay at 5 miles when Y is inverted or 160 miles when the Y is normal. Its very weird, because the ministick not seem to have center at all in the sim( it can start travel if I move the Warthog Stick without mess with throttle or ministick) but in analyzer always return to 0,0.
TM responded to check the internal cables of throttle but didnāt find something weird.Thanks again and sorry if bothered you with the PM
TigerShark
-
As of your questions the slew hat(cursor) in TM Device Analyzer can take value from -1023 to 1023. When Iām testing with the script running goes from zero to zero and from 1023 to 1023 but when I release the hat, always return to 0,0 values.
That is the normal and expected behavior. However, if you look at the Device Analyzer, you will notice that the LEFT panel reports the raw values for the Hardware (the -1023 to 1023 for the Throttle X & Y axes) and the RIGHT panel reports the values for the virtual Thrustmaster Combined device. The Throttle X & Y cursor axes are named Rx & Ry axes. These values range from -32767 to 32767. Now if you move the cursors (with the Script RUNNING) you should see the Rx & Ry axes moving in the Right panel in addition to the throttle X & Y moving in the Left Panel. They wonāt go all the way to their max Rx and Ry values because I have reduced their sensitivity but they will move. In the attached picture, Iāve highlighted the Cursor axes in both the Throttle (raw data), and the Thrustmaster Combined data. Iāve moved the cursor X & Y axes to their physical limit and the Rx and Ry have moved as well. Mine will be a little different than yours as I have reversed my Ry axis in the script so it moves in the opposite direction as the Rx.
Does your Device Analyzer show the same type of response as mine or is the cursor Ry axis moving to the limit and just staying there? If itās moving, and staying, at the limit of the Y axis, then you have a Hardware problem. If the Y axis is behaving properly and itās moving, and staying at the Ry limit, then there is a problem with the Script and you should re-download the script. If both the Y axis and the Ry axis are behaving properly then you have a problem in Windows or more likely in BMS. In which case, I would recommend uninstalling and re-installing BMS.
I hope that helps. Good luck.
-
That is the normal and expected behavior. However, if you look at the Device Analyzer, you will notice that the LEFT panel reports the raw values for the Hardware (the -1023 to 1023 for the Throttle X & Y axes) and the RIGHT panel reports the values for the virtual Thrustmaster Combined device. The Throttle X & Y cursor axes are named Rx & Ry axes. These values range from -32767 to 32767. Now if you move the cursors (with the Script RUNNING) you should see the Rx & Ry axes moving in the Right panel in addition to the throttle X & Y moving in the Left Panel. They wonāt go all the way to their max Rx and Ry values because I have reduced their sensitivity but they will move. In the attached picture, Iāve highlighted the Cursor axes in both the Throttle (raw data), and the Thrustmaster Combined data. Iāve moved the cursor X & Y axes to their physical limit and the Rx and Ry have moved as well. Mine will be a little different than yours as I have reversed my Ry axis in the script so it moves in the opposite direction as the Rx.
Does your Device Analyzer show the same type of response as mine or is the cursor Ry axis moving to the limit and just staying there? If itās moving, and staying, at the limit of the Y axis, then you have a Hardware problem. If the Y axis is behaving properly and itās moving, and staying at the Ry limit, then there is a problem with the Script and you should re-download the script. If both the Y axis and the Ry axis are behaving properly then you have a problem in Windows or more likely in BMS. In which case, I would recommend uninstalling and re-installing BMS.
I hope that helps. Good luck.
Hello again here are my results according to Analyzer and your image:
As it seems there is no problem with device and already I have uninstalled BMS once after discovered the problem but this didnāt solve anything. Maybe I will uninstall TARGET and for sure I will upload a video to youtube. The Raw data becoming 0 for Rx and 0 for Ry after ministick release.
TigerShark
-
Well Iām a bit stumped. Iām assuming if you stop moving the physical cursor that both the Y axis and the Ry axis return to normal. If thatās the case then I think itās safe to say that there is no problem with the physical device or the TARGET Script. Letās look at how Windows is seeing/reporting the cursor. With the TARGET Script RUNNING, go to your Control Panel and select āDevices and Printersā. Right Click on the āThrottle - HOTAS Warthogā icon (which should have a little yellow triangle on the lower right corner of the icon) and select āGame controller settingsā. Highlight the āThrustmaster Combinedā game controller and click the āPropertiesā button. On the āTestā tab, does the āY Rotationā work properly when you move the cursor around and return to center when you stop moving it? See attached.
If that is normal then Iām really inclined to believe something is fubar with your install or there is another DX button or keystroke commanding the Y cursor to move to full deflection on the game. Look for the following text (SimCursorUp) in your keyfile and make sure they donāt have any keystrokes or DX keys programmed. It should look like below.
SimCursorDown -1 0 0XFFFFFFFF 0 0 0 1 āRADAR-cursor downā
SimCursorLeft -1 0 0XFFFFFFFF 0 0 0 1 āRADAR-cursor leftā
SimCursorRight -1 0 0XFFFFFFFF 0 0 0 1 āRADAR-cursor rightā
SimCursorUp -1 0 0XFFFFFFFF 0 0 0 1 āRADAR-cursor upāOne other question, in the game if you switch your SOI to your HSD does the cursor move uncontrollably there as well like it does in the FCR?
-
Well Iām a bit stumped. Iām assuming if you stop moving the physical cursor that both the Y axis and the Ry axis return to normal. If thatās the case then I think itās safe to say that there is no problem with the physical device or the TARGET Script. Letās look at how Windows is seeing/reporting the cursor. With the TARGET Script RUNNING, go to your Control Panel and select āDevices and Printersā. Right Click on the āThrottle - HOTAS Warthogā icon (which should have a little yellow triangle on the lower right corner of the icon) and select āGame controller settingsā. Highlight the āThrustmaster Combinedā game controller and click the āPropertiesā button. On the āTestā tab, does the āY Rotationā work properly when you move the cursor around and return to center when you stop moving it? See attached.
If that is normal then Iām really inclined to believe something is fubar with your install or there is another DX button or keystroke commanding the Y cursor to move to full deflection on the game. Look for the following text (SimCursorUp) in your keyfile and make sure they donāt have any keystrokes or DX keys programmed. It should look like below.
SimCursorDown -1 0 0XFFFFFFFF 0 0 0 1 āRADAR-cursor downā
SimCursorLeft -1 0 0XFFFFFFFF 0 0 0 1 āRADAR-cursor leftā
SimCursorRight -1 0 0XFFFFFFFF 0 0 0 1 āRADAR-cursor rightā
SimCursorUp -1 0 0XFFFFFFFF 0 0 0 1 āRADAR-cursor upāOne other question, in the game if you switch your SOI to your HSD does the cursor move uncontrollably there as well like it does in the FCR?
These was my results: , but I figured it out, I had done calibration through Windows before the calibration with the Throttle tool from TM. When calibrated with tool I had set to default settings the controller in controllers menu in Windows but as it seems nothing changedā¦ Now with your idea of script running alongside with controller properties the reverting to defaults seem to done properly. So I tested three ways after that one in Windows controller properties that now seem right, one in Device Analyzer in TM Script editor that seem to respond right and finally in SIM under controller setup, now the X and Y axes both return to half full after cursor move. so is centered. I havenāt tried in flight yet but I will try it soon. I have modified the keyfile to assign the cursor to coolie switch but downloaded your original keyfile and I will try both ( I assume I have to revert the coolie switch in case of mapping collision with the modified profileā¦)
Thank you again for your valuable information and great help
TigerShark
-
Iām having an issue with the key bindings due to how windows seems to be setting up the controller after running the script, instead of getting the usual āThrustmaster Combined (0)ā listed in BMS, I now seem to have it listed as āThrustmaster Virtual Game Controller (root)ā. I did recently move my set-up to another room and thus had to disconnect everything but I hooked my rig up as it was before and am now faced with this.
I have no clue what Iām doing wrong :S
-
@TigerSharkā¦ Glad to hear you may have found the solution.
-
Iām having an issue with the key bindings due to how windows seems to be setting up the controller after running the script, instead of getting the usual āThrustmaster Combined (0)ā listed in BMS, I now seem to have it listed as āThrustmaster Virtual Game Controller (root)ā. I did recently move my set-up to another room and thus had to disconnect everything but I hooked my rig up as it was before and am now faced with this.
If just the name has changed from āThrustmaster Combinedā to āThrustmaster Virtual Game Controllerā and the functionality is still ok, then I wouldnāt worry about it. If the functionality isnāt working as before then the controller may have been renumbered and is no longer the first DirectX game controller which the profile relies on. A quick fix might be to unplug all your game controllers, joysticks, USB devices, USB hubs, etc (only mouse and keyboard) and shutdown the computer. Then plug in your Warthog to the exact same USB ports you had them plugged into previously (hopefully they were USB posts attached directly to the motherboard and they were not plugged into a hub) and restart your computer. With the TARGET Script RUNNING, go to your Control Panel and select āDevices and Printersā. Right Click on the āThrottle - HOTAS Warthogā icon (which should have a little yellow triangle on the lower right corner of the icon) and select āGame controller settingsā. You should now see the āThrustmaster Combinedā game controller as the only device listed. You can now try plugging in the rest of your USB devices and restart your computer again and repeat the process above to see if the āThrustmaster Combinedā game controller is still the first device listed. If that doesnāt fix the problem you will need to note which number device is the āThrustmaster Combinedā or āThrustmaster Virtual Game Controllerā and follow the instructions in this post: https://www.benchmarksims.org/forum/showthread.php?8147-Morphine-s-Profile&p=202779&viewfull=1#post202779
-
@TigerSharkā¦ Glad to hear you may have found the solution.
Hello again, just wanted to report that after resetting Windows calibration with script running as mentioned in post #224, the problem disappeared. The cursor now stays where I move it! Iām happy that it wasnāt a hardware problem and I want to thank you once again for your great help.
TigerShark
-
seems I get no response from my Throttle at all. Seems that I get a response ont he Device analyzer but not in the sim. No throttle movement at all.
-
Morphine, I noticed you have your G13 buttons labeled like on the ICP. How or where did you get the labels?
-
Im still cant figure out why I cant get movement in my throttle. I see it in Device analyzer, it works in other flight sims, seem to be a issues inside falcon. All the other functions on the throttle work except for the movement. Can anyone help. I have set in the advance tab for throttle for warthog. HELP!
-
@ Maple
How you have set up the throttle function in Sim? If you done it as it was in the picture with the profile, here lies the problem, so put in the Throttle Axis Z Axis-Thurstmaster combined instead of Z rotation. If that donāt work check device calibration in Windows to see if the Z axis moving correctly. Personally if I had the throttle axis config as they are in the picture FlightControlTab.png in profile folder, the throttle moved once on full AB and didnāt gone back to idle. Once I set up the Z Axis in throttle axis worked normallyā¦TigerShark
-
This post is deleted! -
GOT IT!!! THANKS TIGERSHARK!
-
I just loaded up this profile for my new Warthog via the script editor as suggested, and works well - have thanked the OP!
I swapped the LCtrl + LAlt + āaā/ādā assignments for the autopilot mode selections, as the switch animation was reversed to the switch on the throttle!
Only question I have is about T.A.R.G.E.T - is there no quicker way to launch this profile? Going into the script editor seems klunky, bearing in mind Iām used to Saitek SST having previously used X-52 Pro which had a tray icon
-
I swapped the LCtrl + LAlt + āaā/ādā assignments for the autopilot mode selections, as the switch animation was reversed to the switch on the throttle!
It was switched on purpose to match the text on the Warthog base rather than the in-game position but itās simply a matter of preference.
Only question I have is about T.A.R.G.E.T - is there no quicker way to launch this profile? Going into the script editor seems klunky, bearing in mind Iām used to Saitek SST having previously used X-52 Pro which had a tray icon
Iām not aware of any faster way although now that I have switched to Windows 8, the script starts much faster than it did in Win 7. Not sure why thoughā¦.
-
HI morphine,
I am trying to make my own profile for the warthog, and taking yours as example. but how do you get to have stick + throttle in combined ? without your profile \i ve got 2 different dx device then 2 different for the mfds, but when I load your profile stick and throttle are the same dx device. it mess up my dx numbers in the key file.
-
Now where exactly does the Warthog_DX.key file go?