Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#3205683 - 02/12/11 02:15 AM Superbug" trying to use an axis for the TDC  
Joined: Feb 2001
Posts: 346
sobe Offline
Member
sobe  Offline
Member

Joined: Feb 2001
Posts: 346
Bend, OR USA
In the superbug for FSX, the arrow keys control the TDC. I would like to use the x and y axis on the mini joystick on the CH throttle but don't know how to do that. In AFF4, the game itself allows you to use the x and y axis on the mini joystick for the TDC controls.
Any ideas?


Trackir4, Win10 Pro 64Bit, Intel(R) Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset, DDR3 8GB Ram,AMD Radeon HD 6950 2GB GDDR5 16X PCIe Video Card, Main Monitor 1 on left 1920x1080 Monitor 2 on right 1280x1024
Inline advert (2nd and 3rd post)

#3205843 - 02/12/11 08:52 AM Re: Superbug" trying to use an axis for the TDC [Re: sobe]  
Joined: Sep 2002
Posts: 11,273
531 Ghost Offline
USMC
531 Ghost  Offline
USMC
Veteran

Joined: Sep 2002
Posts: 11,273
Elizabeth City NC
// Target Designator
cms.b1 = [js2.a2 < 70 ]; // TDC UP (KBUP)
cms.b2 = [js2.a2 > 170 ]; // TDC Down (KBDOWN)
cms.b3 = [js2.a1 < 70 ]; // TDC Left (KBLEFT)
cms.b4 = [js2.a1 > 170 ]; // TDC Right (KBRIGHT)

Now, you may, or may not be asking, What the heck did he just write? Let me show you...










Originally Posted by Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


#3206041 - 02/12/11 05:15 PM Re: Superbug" trying to use an axis for the TDC [Re: sobe]  
Joined: Feb 2001
Posts: 346
sobe Offline
Member
sobe  Offline
Member

Joined: Feb 2001
Posts: 346
Bend, OR USA
Bless you. I will try it out later today.

What happened to the CH hanger site?


Trackir4, Win10 Pro 64Bit, Intel(R) Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset, DDR3 8GB Ram,AMD Radeon HD 6950 2GB GDDR5 16X PCIe Video Card, Main Monitor 1 on left 1920x1080 Monitor 2 on right 1280x1024
#3206045 - 02/12/11 05:18 PM Re: Superbug" trying to use an axis for the TDC [Re: sobe]  
Joined: Sep 2002
Posts: 11,273
531 Ghost Offline
USMC
531 Ghost  Offline
USMC
Veteran

Joined: Sep 2002
Posts: 11,273
Elizabeth City NC
You're welcome. Revvin says he's changing the hampster.


Originally Posted by Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


#3206282 - 02/12/11 11:46 PM Re: Superbug" trying to use an axis for the TDC [Re: sobe]  
Joined: Feb 2001
Posts: 346
sobe Offline
Member
sobe  Offline
Member

Joined: Feb 2001
Posts: 346
Bend, OR USA
thanks Ghost
I noticed you also have the brakes script that I would like to use. My question is what is the setup on the pedals, ie, do you check DX Mode and leave everything else none?
thanks again


Trackir4, Win10 Pro 64Bit, Intel(R) Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset, DDR3 8GB Ram,AMD Radeon HD 6950 2GB GDDR5 16X PCIe Video Card, Main Monitor 1 on left 1920x1080 Monitor 2 on right 1280x1024
#3206309 - 02/13/11 12:27 AM Re: Superbug" trying to use an axis for the TDC [Re: sobe]  
Joined: Sep 2002
Posts: 11,273
531 Ghost Offline
USMC
531 Ghost  Offline
USMC
Veteran

Joined: Sep 2002
Posts: 11,273
Elizabeth City NC
Yes. That entire script is:

script
/////////////////////////////////////////////////////////////////////
// Toebrakes, the farther you push the pedal the more times per second the brakes go on/off. Feels like progressive braking.
/////////////////////////////////////////////////////////////////////
CMS.B11= ( [ JS4.A1 >= 250 ] ) OR ( [ JS4.A2 >= 250 ] );
TIMER ( INTERVAL, D1, 1, 1 ) = ( [ JS4.A1 >= 200 ] AND [ JS4.A1 < 250 ] AND NOT [ JS4.A2 >= 250 ] ) OR ( [ JS4.A2 >= 200 ] AND [ JS4.A2 < 250 ] AND NOT [ JS4.A1 >= 250 ] );
TIMER ( INTERVAL, D2, 1, 2 ) = ( [ JS4.A1 >= 150 ] AND [ JS4.A1 < 200 ] AND NOT [ JS4.A2 >= 200 ] ) OR ( [ JS4.A2 >= 150 ] AND [ JS4.A2 < 200 ] AND NOT [ JS4.A1 >= 200 ] );
TIMER ( INTERVAL, D3, 1, 3 ) = ( [ JS4.A1 >= 100 ] AND [ JS4.A1 < 150 ] AND NOT [ JS4.A2 >= 150 ] ) OR ( [ JS4.A2 >= 100 ] AND [ JS4.A2 < 150 ] AND NOT [ JS4.A1 >= 150 ] );
TIMER ( INTERVAL, D4, 1, 4 ) = ( [ JS4.A1 >= 50 ] AND [ JS4.A1 < 100 ] AND NOT [ JS4.A2 >= 100 ] ) OR ( [ JS4.A2 >= 50 ] AND [ JS4.A2 < 100 ] AND NOT [ JS4.A1 >= 100 ] );

CMS.B11 = ( B11 OR D1 OR D2 OR D3 OR D4 );
endScript


Originally Posted by Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.



Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

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


Recent Topics
Headphones
by RossUK. 04/24/24 03:48 PM
Skymaster down.
by Mr_Blastman. 04/24/24 03:28 PM
The Old Breed and the Costs of War
by wormfood. 04/24/24 01:39 PM
Actors portraying British Prime Ministers
by Tarnsman. 04/24/24 01:11 AM
Roy Cross is 100 Years Old
by F4UDash4. 04/23/24 11:22 AM
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
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0