Moderate Chop Posted August 4, 2022 Report Posted August 4, 2022 You're getting there, but you're just a little off base. 🙂 I assume you found the entry in the MaddogX_interior.xml file for the autobrake switch, since that's what you're referencing. Starting at line 18244, that section looks like this:    <PartInfo>       <Name>ped_autobrake_switch1</Name>       <AnimLength>10</AnimLength>       <Animation>          <Parameter>             <Code>10 0 (L:ped_autobrake_switch1, bool) ?</Code>          </Parameter>       </Animation>       <MouseRect>          <Cursor>Hand</Cursor>          <MouseFlags>LeftSingle+RightSingle+WheelUp+WheelDown</MouseFlags>          <CallbackCode>          (M:Event) 'LeftSingle' scmi 0 == if{ 536870912 26 + (>L:pedestal_event,number) }          (M:Event) 'RightSingle' scmi 0 == if{ 536870912 26 + (>L:pedestal_event,number) }          (M:Event) 'WheelUp' scmi 0 == if{ 16384 26 + (>L:pedestal_event,number) }          (M:Event) 'WheelDown' scmi 0 == if{ 8192 26 + (>L:pedestal_event,number) }          </CallbackCode>       </MouseRect>    </PartInfo> The part you're trying to actuate is ped_autobrake_switch1, and you do that by sending a parameter to the pedestal_event (the section between the CallbackCode delimiters is what's important here). So it is the pedestal_event that needs to be in your macro file. This will make it appear in the drop down. Take a look at the third post in this thread, where I showed you what my macro file looks like. Yours should be: 1=L:pedestal_event=Set NOT 1=L:ped_autobrake_switch1=Set Once it appears in the dropdown, specify the parameter to be sent. For a LeftSingle mouse click, send 536870938 (536870912+26). So the assignment window should look like this: 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now