Jump to content

WH stick twist/offset with TARGET


Recommended Posts

Looking for some help with writing script in the TARGET editor.

 

I am trying to set the twist in the WH stick. Its a little over my head getting started. I have used the GUI to set all the key commands, and would like to add to the script it creates, instead of starting from scratch.

 

Running the GUI you can "view script", but how to save it and import it into the script editor is proving to be a pain.

 

I have heard mention in the forums of using the editor for this, but have not found any solid information on how to do it.

 

Waiting on this to mount the TM to a solid location.

 

Thanks, Pat


Edited by harsh47
Link to comment
Share on other sites

If you mean the twist of the stick grip for yaw thats not possible as it does not have it.

Eagles may soar high but weasel's don't get sucked into jet engines.

 

 

System Spec.

Monitors: Samsung 570DX & Rift CV1

Mobo: MSI Godlike gaming X-99A

CPU: Intel i7 5930K @ 3.50Ghz

RAM: 32gb

GPU: EVGA Nvidia GTX 980Ti VR Ready

Cooling: Predator 360

Power Supply: OCZ ZX Series 80 Plus Gold

Drives: Samsung SSD's 1tb, 500g plus others with OS Win10 64 bit

 

Link to comment
Share on other sites

Are you talking about offsetting the X and Y axis, so that you can mount it rotated 15 degrees CCW (like the real thing)?

 

That is easy, but cannot be done in the GUI.

 

Creating your script in the GUI, means that the actual tmc file gets buried somewhere in the bowels of Windows (I don't recall the location). You can get it from there and then use the Target Script Editor or even Notepad++ to make changes.

ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:

Link to comment
Share on other sites

Are you talking about offsetting the X and Y axis, so that you can mount it rotated 15 degrees CCW (like the real thing)?

 

That is easy, but cannot be done in the GUI.

 

Creating your script in the GUI, means that the actual tmc file gets buried somewhere in the bowels of Windows (I don't recall the location). You can get it from there and then use the Target Script Editor or even Notepad++ to make changes.

 

Can this be done without TARGET creating that file? Is there a file I can edit with Notepad++ already on my computer? I was just about to post a question on this topic lol.

Link to comment
Share on other sites

I am sorry i miss understood what you meant seems everyone else didn't, but yes a stick extension would be easy.

Eagles may soar high but weasel's don't get sucked into jet engines.

 

 

System Spec.

Monitors: Samsung 570DX & Rift CV1

Mobo: MSI Godlike gaming X-99A

CPU: Intel i7 5930K @ 3.50Ghz

RAM: 32gb

GPU: EVGA Nvidia GTX 980Ti VR Ready

Cooling: Predator 360

Power Supply: OCZ ZX Series 80 Plus Gold

Drives: Samsung SSD's 1tb, 500g plus others with OS Win10 64 bit

 

Link to comment
Share on other sites

Are you talking about offsetting the X and Y axis, so that you can mount it rotated 15 degrees CCW (like the real thing)?

 

That is easy, but cannot be done in the GUI.

 

Creating your script in the GUI, means that the actual tmc file gets buried somewhere in the bowels of Windows (I don't recall the location). You can get it from there and then use the Target Script Editor or even Notepad++ to make changes.

 

What do I need to do in the script to make this 15deg change? Can you give an example? I'm newb to scripting.

Link to comment
Share on other sites

What do I need to do in the script to make this 15deg change? Can you give an example? I'm newb to scripting.

 

Here is exactly what I have in my scripts.

 

//	Rotate Stick Axis 15deg CCW to account for mounting position
RotateDXAxis(DX_X_AXIS, DX_Y_AXIS, -15);

 

Since my WH is center mounted, the rotation is almost mandatory.

ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:

Link to comment
Share on other sites

Here is exactly what I have in my scripts.

 

//	Rotate Stick Axis 15deg CCW to account for mounting position
RotateDXAxis(DX_X_AXIS, DX_Y_AXIS, -15);

 

Since my WH is center mounted, the rotation is almost mandatory.

 

Thanks very much! ...I have same issue and have been giving myself a cramped wrist for 3 years lol

Link to comment
Share on other sites

I started with doing my key mapping in the TARGET GIU.

jpg.gif

 

View script button shows created script in WordPad. Copy all.

jpg.gif

Close the GUI, open the script editor.

 

Menu/New/TARGET Code .TMC/Open

 

Delete all the starting code from the new .TMC you just opened, and paste in the code from the GUI that was copied into clipboard earlier.

 

Save As,".........TMC"

 

Menu/Open/".......TMC"

 

Compile/Run/Stop, this is to check that its working properly

 

Now add your lines of custom code.

 

 

Everything I needed to know, I found in the help file of the script editor, read it all!

BUT, it did not say how to get the script from the GUI, which was the easiest part.

 

If you carefully read the help file in the Script Editor, it will tell other factors involved with twisting the stick, and how to correct them. You lose full deflection in the corners.

 

Other thoughts, Device analyzer, and calibration.

 

Now if I could learn how to HTML, maybe I could do this post a lot better without the thumbnails.

 

 

The file I needed was not in the "bowels" of Windows.

97053396_GUIkeymap-viewscript.thumb.JPG.5b768ce97caa20f953947af8b48c5d28.JPG

866883790_Scriptinwordpad.thumb.JPG.4b45d8c1ca1cc36988ce4c0d1300db45.JPG

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...