Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#922350 - 07/10/05 03:03 PM My XD-Profile for Falcon 4 AF  
Joined: Apr 2002
Posts: 162
Goose Offline
Member
Goose  Offline
Member

Joined: Apr 2002
Posts: 162
This is the realistic profile I'm creating. For now it is working perfectly, including AUX.

# XD Profile: falcon4af.xdp

# Full profile script listing.

(<> removed)
HEADER

DEFAULT_PRESS_DELAY=40
DEFAULT_RELEASE_DELAY=40

(<> removed)
SCRIPTLIST

_NULL
AFAileronTrimLeft shift leftarrow LEFTARROW SHIFT
AFAileronTrimRight shift rightarrow RIGHTARROW SHIFT
AFBrakesToggle b B
AFElevatorTrimDown alt downarrow DOWNARROW ALT
AFElevatorTrimUp alt uparrow UPARROW ALT
MODE.A2A LOADMODE_A2A
MODE.A2A_SHIFT LOADMODE_A2A_SHIFT
MODE.A2G LOADMODE_A2G
MODE.A2G_SHIFT LOADMODE_A2A_SHIFT
MODE.NAV LOADMODE_DEFAULT
MODE.NAV_SHIFT LOADMODE_NAV_SHIFT
SimAPOverride control 3 _3 CONTROL
SimCursorDown_press downarrow
SimCursorDown_release DOWNARROW
SimCursorEnable shift n N SHIFT
SimCursorLeft_press leftarrow
SimCursorLeft_release LEFTARROW
SimCursorRight_press rightarrow
SimCursorRight_release RIGHTARROW
SimCursorUp_press uparrow
SimCursorUp_release UPARROW
SimDeselectOverride c C
SimDMSDown shift kp_2 KP_2 SHIFT
SimDMSLeft shift kp_4 KP_4 SHIFT
SimDMSRight shift kp_6 KP_6 SHIFT
SimDMSUp shift kp_8 KP_8 SHIFT
SimMissileStep shift forwardslash FORWARDSLASH SHIFT
SimPickle space SPACE
SimPinkySwitch alt v V alt
SimRadarElevationDown f5 F5
SimRadarElevationUp f7 F7
SimRadarGainDown shift f3 F3 SHIFT
SimRadarGainUp shift f4 F4 SHIFT
SimSelectMRMOverride m M
SimSelectSRMOverride d D
SimTMSDown control downarrow DOWNARROW CONTROL
SimTMSLeft control leftarrow LEFTARROW CONTROL
SimTMSRight control rightarrow RIGHTARROW CONTROL
SimTMSUp control uparrow UPARROW CONTROL
SimToggleMissileCage u U
SimTriggerFirstDetent control forwardslash FORWARDSLASH CONTROL
SimTriggerSecondDetent_press alt forwardslash
SimTriggerSecondDetent_release ALT FORWARDSLASH


# Axis Chains and Breakpoints:



# Programmed Modes and Assignments:


[DEFAULT]
TriggerPress = SimTriggerSecondDetent_press
TriggerRelease = SimTriggerSecondDetent_release
LaunchPress = SimPickle
LaunchRelease = _NULL
FireAPress = _NULL
FireARelease = _NULL
FireBPress = SimPinkySwitch
FireBRelease = _NULL
FireCPress = SimMissileStep
FireCRelease = _NULL
ShiftPress = MODE.NAV_SHIFT
ShiftRelease = _NULL
StickHat1UpPress = _NULL
StickHat1UpRelease = _NULL
StickHat1RightPress = _NULL
StickHat1RightRelease = _NULL
StickHat1DownPress = _NULL
StickHat1DownRelease = _NULL
StickHat1LeftPress = _NULL
StickHat1LeftRelease = _NULL
StickHat2UpPress = SimTMSUp
StickHat2UpRelease = _NULL
StickHat2RightPress = SimTMSRight
StickHat2RightRelease = _NULL
StickHat2DownPress = SimTMSDown
StickHat2DownRelease = _NULL
StickHat2LeftPress = SimTMSLeft
StickHat2LeftRelease = _NULL
FireDPress = AFBrakesToggle
FireDRelease = _NULL
MouseButtonPress = SimCursorEnable
MouseButtonRelease = _NULL
Aux1Press = SimSelectSRMOverride
Aux1Release = SimDeselectOverride
Aux2Press = _NULL
Aux2Release = _NULL
Aux3Press = SimSelectMRMOverride
Aux3Release = SimDeselectOverride
Mode1Press = MODE.NAV
Mode1Release = _NULL
Mode2Press = MODE.A2A
Mode2Release = _NULL
Mode3Press = MODE.A2G
Mode3Release = _NULL
MouseHatUpPress = SimCursorUp_press
MouseHatUpRelease = SimCursorUp_release
MouseHatRightPress = SimCursorRight_press
MouseHatRightRelease = SimCursorRight_release
MouseHatDownPress = SimCursorDown_press
MouseHatDownRelease = SimCursorDown_release
MouseHatLeftPress = SimCursorLeft_press
MouseHatLeftRelease = SimCursorLeft_release
ThrottleHat1UpPress = _NULL
ThrottleHat1UpRelease = _NULL
ThrottleHat1RightPress = _NULL
ThrottleHat1RightRelease = _NULL
ThrottleHat1DownPress = _NULL
ThrottleHat1DownRelease = _NULL
ThrottleHat1LeftPress = _NULL
ThrottleHat1LeftRelease = _NULL
{DEFAULT}

[NAV_SHIFT]
TriggerPress = SimTriggerFirstDetent
TriggerRelease = _NULL
LaunchPress = _NULL
LaunchRelease = _NULL
FireAPress = _NULL
FireARelease = _NULL
FireBPress = _NULL
FireBRelease = _NULL
FireCPress = SimAPOverride
FireCRelease = _NULL
ShiftPress = _NULL
ShiftRelease = MODE.NAV
StickHat1UpPress = AFElevatorTrimDown
StickHat1UpRelease = _NULL
StickHat1RightPress = AFAileronTrimRight
StickHat1RightRelease = _NULL
StickHat1DownPress = AFElevatorTrimUp
StickHat1DownRelease = _NULL
StickHat1LeftPress = AFAileronTrimLeft
StickHat1LeftRelease = _NULL
StickHat2UpPress = SimDMSUp
StickHat2UpRelease = _NULL
StickHat2RightPress = SimDMSRight
StickHat2RightRelease = _NULL
StickHat2DownPress = SimDMSDown
StickHat2DownRelease = _NULL
StickHat2LeftPress = SimDMSLeft
StickHat2LeftRelease = _NULL
FireDPress = _NULL
FireDRelease = _NULL
MouseButtonPress = SimToggleMissileCage
MouseButtonRelease = _NULL
Aux1Press = SimSelectSRMOverride
Aux1Release = SimDeselectOverride
Aux2Press = _NULL
Aux2Release = _NULL
Aux3Press = SimSelectMRMOverride
Aux3Release = _NULL
MouseHatUpPress = _NULL
MouseHatUpRelease = _NULL
MouseHatRightPress = _NULL
MouseHatRightRelease = _NULL
MouseHatDownPress = _NULL
MouseHatDownRelease = _NULL
MouseHatLeftPress = _NULL
MouseHatLeftRelease = _NULL
ThrottleHat1UpPress = _NULL
ThrottleHat1UpRelease = _NULL
ThrottleHat1RightPress = _NULL
ThrottleHat1RightRelease = _NULL
ThrottleHat1DownPress = _NULL
ThrottleHat1DownRelease = _NULL
ThrottleHat1LeftPress = _NULL
ThrottleHat1LeftRelease = _NULL
{NAV_SHIFT}

[A2A]
{A2A}

[A2A_SHIFT]
{A2A_SHIFT}

[A2G]
{A2G}

[A2G_SHIFT]
{A2G_SHIFT}

Inline advert (2nd and 3rd post)

#922351 - 07/10/05 04:11 PM Re: My XD-Profile for Falcon 4 AF  
Joined: Apr 2002
Posts: 160
undefined Offline
Member
undefined  Offline
Member

Joined: Apr 2002
Posts: 160
.

Last edited by jamiroq; 07/21/18 06:33 PM.
#922352 - 07/10/05 05:17 PM Re: My XD-Profile for Falcon 4 AF  
Joined: Apr 2002
Posts: 162
Goose Offline
Member
Goose  Offline
Member

Joined: Apr 2002
Posts: 162
For XD-Profile creator: YOU ARE GREAT!!

#922353 - 07/11/05 11:14 AM Re: My XD-Profile for Falcon 4 AF  
Joined: Apr 2002
Posts: 160
undefined Offline
Member
undefined  Offline
Member

Joined: Apr 2002
Posts: 160
.

Last edited by jamiroq; 07/21/18 06:33 PM.
#922354 - 07/13/05 02:28 AM Re: My XD-Profile for Falcon 4 AF  
Joined: Jan 2001
Posts: 960
GregP Offline
Member
GregP  Offline
Member

Joined: Jan 2001
Posts: 960
Fairfax, VA
Hey guys,

While we're on the topic of XD-Profile and F4AF, I'm a new user and having trouble getting a shift state to work on my P8000 in PD-Profile. The relevant part of my profile is below:

-------------------------------------------
# PD Profile: F4AF2.pdp

# Full profile script listing.

(_ added because forum saw it as HTML)
DEFAULT_PRESS_DELAY=20
DEFAULT_RELEASE_DELAY=20

(_ added because forum saw it as HTML)
_NULL
Landing_Light rcontrol ralt l L RALT RCONTROL
Nav_Lights rshift ralt l L RALT RSHIFT
modeA LIGHT_RED LOADMODE_DEFAULT
modeB LIGHT_GREEN LOADMODE_modeB

# Programmed Modes and Assignments:


[DEFAULT]
HatUpPress = modeB
HatDownPress = modeA
B2Press = Nav_Lights
{DEFAULT}

[MODEB]
HatUpPress = modeB
HatDownPress = modeA
B2Press = Landing_Light
{MODEB}

--------------------------------------

So when I press the hat down, the LED turns red, and when I press up, it turns green, making me think that it has changed mode. But it is not toggling any sort of shift state, or mode change. I get the same output when I press B2 in both modes, even though in PD-Profile I've set the modeA B2 to be Nav Lights and the modeB B2 to be Landing Lights.

Any ideas what I'm going wrong here? And a related question - all my modeA commands also work in modeB, EVEN though I've set all the buttons I don't use in modeB to _NULL! What's going on?


i7-9700K / MSI MPG Z390 Gaming PRO Carbon AC / 64GB DDR4 / RTX 3080 Ti / TrackIR5 / MFG Crosswind Rudder Pedals / VKB GF MkIII + MCG Pro
#922355 - 07/13/05 06:24 AM Re: My XD-Profile for Falcon 4 AF  
Joined: Apr 2002
Posts: 160
undefined Offline
Member
undefined  Offline
Member

Joined: Apr 2002
Posts: 160
.

Last edited by jamiroq; 07/21/18 06:33 PM.
#922356 - 07/13/05 05:55 PM Re: My XD-Profile for Falcon 4 AF  
Joined: Jan 2001
Posts: 960
GregP Offline
Member
GregP  Offline
Member

Joined: Jan 2001
Posts: 960
Fairfax, VA
D'oh!

Thanks for the quick response - see, this is where I was confused, I just didn't understand the 'mode' implementation. I was thinking switching modes actually kept the new mode active until a different mode was entered into. If you're right, then that's the problem - no, I was not holding the hat down, but simply pressing it once. The LED changed color, but the mode didn't stick. This seems to make sense based on what you said.

I'll give this a try tonight. Not sure how I'm going to work around it though - I really need a toggleable shift mode, ideally using the actual 'shift' button on the P8000.


i7-9700K / MSI MPG Z390 Gaming PRO Carbon AC / 64GB DDR4 / RTX 3080 Ti / TrackIR5 / MFG Crosswind Rudder Pedals / VKB GF MkIII + MCG Pro
#922357 - 07/14/05 02:46 AM Re: My XD-Profile for Falcon 4 AF  
Joined: Jan 2001
Posts: 960
GregP Offline
Member
GregP  Offline
Member

Joined: Jan 2001
Posts: 960
Fairfax, VA
Hmmph ...

Well, removing the LED toggles and even holding the hat in position doesn't keep the shifted state. I know I must be doing something simple wrong here, but I just can't figure it out. I've searched all through this forum and nobody seems to be having any problem with latched shifted states. Any suggestions?


i7-9700K / MSI MPG Z390 Gaming PRO Carbon AC / 64GB DDR4 / RTX 3080 Ti / TrackIR5 / MFG Crosswind Rudder Pedals / VKB GF MkIII + MCG Pro
#922358 - 07/14/05 06:28 AM Re: My XD-Profile for Falcon 4 AF  
Joined: Apr 2002
Posts: 160
undefined Offline
Member
undefined  Offline
Member

Joined: Apr 2002
Posts: 160
.

Last edited by jamiroq; 07/21/18 06:33 PM.
#922359 - 07/14/05 04:40 PM Re: My XD-Profile for Falcon 4 AF  
Joined: Jan 2001
Posts: 960
GregP Offline
Member
GregP  Offline
Member

Joined: Jan 2001
Posts: 960
Fairfax, VA
Yes I've got the mode switching bound to hat presses, same as I showed above.

And yeah I've tried the shift button - in that case it doesn't even change the LED back to red ever, once it goes green ... but no change in terms of failure to actually change modes.

This sure is frustrating; I dove into PD-Profile because my old F4SP3 Hazardscript profile that I recently updated to use with F4:AF for some reason would not compile. I use a lot of press/release combos for the more complicated commands in Falcon since stuck keys seems to be more of a problem as commands get more complex; but Hazardscript just kept generating errors whenever I used a press/release on more than key. For example:

define flaps as press f release f

would work, but

define flaps_down as press shft press f release f release shft

would generate an error, even though I had followed the Hazardscript instructions to a tee, not to mention that months, years ago, whenever I set up this profile, it had no trouble compiling.

*sigh*

I would just go back to the Saitek drivers and software but from what I hear, they STILL don't have support for a latched shift function for the P8000.


i7-9700K / MSI MPG Z390 Gaming PRO Carbon AC / 64GB DDR4 / RTX 3080 Ti / TrackIR5 / MFG Crosswind Rudder Pedals / VKB GF MkIII + MCG Pro
#922360 - 07/24/05 10:01 AM Re: My XD-Profile for Falcon 4 AF  
Joined: Jan 2001
Posts: 960
GregP Offline
Member
GregP  Offline
Member

Joined: Jan 2001
Posts: 960
Fairfax, VA
Update: finally got the shifting working based on a profile that Durrie posted in another thread. What was causing me problems was that I had a 'release' function bound to my shift button, which apparently doesn't work. Removed it and the shifting works fine now.


i7-9700K / MSI MPG Z390 Gaming PRO Carbon AC / 64GB DDR4 / RTX 3080 Ti / TrackIR5 / MFG Crosswind Rudder Pedals / VKB GF MkIII + MCG Pro
#922361 - 07/26/05 06:06 AM Re: My XD-Profile for Falcon 4 AF  
Joined: Nov 2001
Posts: 43
Durrie Offline
Junior Member
Durrie  Offline
Junior Member

Joined: Nov 2001
Posts: 43
Sydney, Australia
Doh!, sorry GregP. I didn't know this discussion was buried in this thread. Had I seen it I would have dug out my p8000 shift code for you.

Glad you got it working now anyway.


Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

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


Recent Topics
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
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
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0