Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 2 of 2 1 2
#3175652 - 01/09/11 11:19 PM Re: Instructions on how to mod your Warthog to offset by 15 degrees! [Re: DudleyAz]  
Joined: Mar 2007
Posts: 5,111
Wrecking Crew Offline
Smooth Operator
Wrecking Crew  Offline
Smooth Operator
Hotshot

Joined: Mar 2007
Posts: 5,111
Colorado
Got to say that's a nice pit you got there DudleyAZ. Well engineered, from an engineer.

WC


crew


"Your ballroom days are over, baby"

Find my DCS World missions at Wrecking Crew Projects. All released missions are free to download, modify and publicly host -- enjoy!
Inline advert (2nd and 3rd post)

#3176122 - 01/10/11 05:05 PM Re: Instructions on how to mod your Warthog to offset by 15 degrees! [Re: Lobo_63]  
Joined: Apr 2002
Posts: 17,733
Joe Offline
Veteran
Joe  Offline
Veteran

Joined: Apr 2002
Posts: 17,733
Bridgewater, NJ
Originally Posted By: Lobo_63
Originally Posted By: jocko-
Originally Posted By: Lobo_63
Originally Posted By: jocko-
Yes, but the software cannot change the physical feedback at the 'corners' from feeling askew.


However the corners being slightly askew should only be noticeable if one was sitting there sweeping the control stick through 360 degrees at max deflection, as in a control check.


Or... when moving the controls during slow speed scissors/dogfights in propeller driven aircraft, when full deflection is needed due to the ineffectiveness of the control surfaces. Think IL2, AH2, RoF and eventually SoW. Are people only flying jets with this stick?


Would this not be easily adjusted as per Joe's post above and slight adjustment of the zoom axis?
Yes, it would. The trick here is to zoom the axis just enough that the black travel limiter doesn't distort the stick response when the axes are rotated.

I originally posted this information here, but I will repost in this thread for clarification.

As can be expected, if one does not mess with the rotation parameter then the stick's physical travel limits result in the shape of a rectangle in Foxy's joystick analyzer (only rectangular instead of square because it is fit to a full-screen application on a computer monitor).

When one applies a software rotation, for example 15 degrees clockwise to simulate a center-mounted stick at an angle 15 degrees counterclockwise, the script snippet is RotateDXAxis(DX_X_AXIS, DX_Y_AXIS, -15);. The rotation itself works quite well:



However, due to the shape of the Warthog stick's plastic travel guide, stick response that is unaltered other than the RotateDXAxis command is skewed into a shape that is not very useful:



My original thought to remedy this problem would be to apply a slight zoom to the X and Y axes, allowing them to reach full electrical response before the stick hits the plastic travel limiter. In the 22 October 2010 Release Candidate version of T.A.R.G.E.T., this didn't work. Apparently the zoom and the axis rotation were not being applied in the correct sequence. Thrustmaster identified this problem and implemented it in the RC2 version of T.A.R.G.E.T. The result is most excellent; you probably can't even see most of the rectangle because it is right at the screen limits.



The above is achieved simply by applying a curve of 0.6 to the X and Y axes.

The full script is:
MapAxis(&Joystick, JOYX, DX_X_AXIS);
MapAxis(&Joystick, JOYY, DX_Y_AXIS);

SetSCurve(&Joystick, JOYX, 0,0,0,0, 0.6);
SetSCurve(&Joystick, JOYY, 0,0,0,0, 0.6);
RotateDXAxis(DX_X_AXIS, DX_Y_AXIS, -15);


And there you have it - quick, easy, and elegant, plus the lost travel range is hardly noticeable.

#3179832 - 01/14/11 10:57 PM Re: Instructions on how to mod your Warthog to offset by 15 degrees! [Re: DudleyAz]  
Joined: Dec 2008
Posts: 239
Lobo_63 Offline
Member
Lobo_63  Offline
Member

Joined: Dec 2008
Posts: 239
Canada
Thanks for this info Joe! smile


The most important thing in fighting was shooting, next the various tactics in coming into a fight and last of all flying ability itself.

— Lt. Colonel W. A. 'Billy' Bishop, RCAF.

Lobo's DCS A-10C Normal Checklist & Quick Reference Handbook version 8c now available for download here:
http://www.digitalcombatsimulator.com/en/files/172905/

#3183284 - 01/19/11 04:34 PM Re: Instructions on how to mod your Warthog to offset by 15 degrees! [Re: DudleyAz]  
Joined: Sep 2006
Posts: 68
Eagledeer Offline
Junior Member
Eagledeer  Offline
Junior Member

Joined: Sep 2006
Posts: 68
Apologies for being thick, but I haven't touched TARGET yet. Is it simple a matter of creating a new profile and copy and pasting the above and then running that profile before DCS? Will running that invalidate the PLug and PLay aspect? Id so, can anyone (joe?) share a profile tha has te stock PandP commands for the WH and also incorporates the offset? And has anyone tried to offset and found identical near identical response?

Many thanks

#3183319 - 01/19/11 05:13 PM Re: Instructions on how to mod your Warthog to offset by 15 degrees! [Re: DudleyAz]  
Joined: Jan 2011
Posts: 658
Bluedeath Offline
BS 62 "Pegasus" CAG
Bluedeath  Offline
BS 62 "Pegasus" CAG
Member

Joined: Jan 2011
Posts: 658
Great job! im doing the same kid of mod on a FLCS and a F15 Talon.


"When you plan revenge best dig two graves" Confucius
"They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety" Benjamin Franklin
#3184081 - 01/20/11 03:41 PM Re: Instructions on how to mod your Warthog to offset by 15 degrees! [Re: Eagledeer]  
Joined: Apr 2002
Posts: 17,733
Joe Offline
Veteran
Joe  Offline
Veteran

Joined: Apr 2002
Posts: 17,733
Bridgewater, NJ
Originally Posted By: Eagledeer
Apologies for being thick, but I haven't touched TARGET yet. Is it simple a matter of creating a new profile and copy and pasting the above and then running that profile before DCS? Will running that invalidate the PLug and PLay aspect? Id so, can anyone (joe?) share a profile tha has te stock PandP commands for the WH and also incorporates the offset? And has anyone tried to offset and found identical near identical response?

Many thanks
I you copy/paste the above code an run the script, you will have nothing. At the very least you need to map axes via script.

As you allude to, running the script will cause the DCS: A-10C pre-configured controls to not work. This is because DCS: A-10C sees and recognizes the Warthog stick and throttle, but doesn't know what to do with the "Thrustmaster Combined" controller created by running a T.A.R.G.E.T. script.

I don't have a profile with the commands built in, because I haven't had the time to create one. The community does need that, though.

#3184438 - 01/20/11 10:06 PM Re: Instructions on how to mod your Warthog to offset by 15 degrees! [Re: DudleyAz]  
Joined: Sep 2006
Posts: 68
Eagledeer Offline
Junior Member
Eagledeer  Offline
Junior Member

Joined: Sep 2006
Posts: 68

Last edited by Eagledeer; 01/20/11 10:07 PM.
#3185715 - 01/22/11 12:29 PM Re: Instructions on how to mod your Warthog to offset by 15 degrees! [Re: DudleyAz]  
Joined: Dec 2008
Posts: 239
Lobo_63 Offline
Member
Lobo_63  Offline
Member

Joined: Dec 2008
Posts: 239
Canada
Also one here.

http://files.digitalcombatsimulator.com/en/14359/?sphrase_id=17563

It seems worth stating that if you apply any software rotation to the stick as above, or in fact if you use target or the script editor, you completely lose any ability to "plug and play" with the pre assigned Thrustmaster Warthog controls which come with DCS A-10c.


The most important thing in fighting was shooting, next the various tactics in coming into a fight and last of all flying ability itself.

— Lt. Colonel W. A. 'Billy' Bishop, RCAF.

Lobo's DCS A-10C Normal Checklist & Quick Reference Handbook version 8c now available for download here:
http://www.digitalcombatsimulator.com/en/files/172905/

Page 2 of 2 1 2

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Actors portraying US Presidents
by PanzerMeyer. 04/19/24 12:19 PM
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0