• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 Differental brakes problem

Messages
231
Country
us-alabama
The aircraft I am working on has "toe tip" brakes built into the pedal assembly. The animation works great but is just VC eye candy. I have been unable to find varible names to make the animations functional for the left and right differental brakes in the MakeMDL_sdk.doc. Can anyone offer suggstions?

Carl
 
How about (from the EventIDs.doc):

(>K: AXIS_LEFT_BRAKE_SET )
(>K: AXIS_RIGHT_BRAKE_SET )

Sets left/right brake positions from axis controller (e.g. joystick). -16383 (0 brakes) to +16383 (max brakes)
 
Last edited:
Thanks Bill!

I was sure such a .doc existed. I just did not know where to look for it. I have been so busy getting the Corsair VC half way animated. I have not had time to do much else lately.

Thanks again! I will post later how it works out.

Carl
 
Thanks Bill!

I was sure such a .doc existed. I just did not know where to look for it. I have been so busy getting the Corsair VC half way animated. I have not had time to do much else lately.

Thanks again! I will post later how it works out.

Carl

Oops! Those are the K: events. I misread your post. You want the A:vars for brakes for animation purposes:

(A:BRAKE LEFT POSITION,percent)
(A:BRAKE RIGHT POSITION,percent)
 
Bill

I have seen K: variables in stock part names, I kinda understand how they work. I think. What is the differece in the K: and A: variables? The, (>K: AXIS_LEFT_BRAKE_SET ),(>K: AXIS_RIGHT_BRAKE_SET ) names look like they are brake adjustments. If so The Corsair also has brake adjusment wheels on the rudder pedal assemblys that I have now as just eye candy, I might be able to use the K: name to make them functional in the sim.

Carl
 
Last edited:
Bill

I have seen K: variables in stock part names, I kinda understand how they work. I think. What is the differece in the K: and A: variables?

Carl, K:events are not "variables," they are commands! They are used to control the aircraft's functions.

(A:var,units) are "tell me what's going on" type things.

(>K:events) are "do this" type things.

BTW, you may as well get used to thinking of the three characters >K: because the 'K' by itself is meaningless.

For animating your toe brakes, you'd have to use the two (A:BRAKE...,percent) variables I posted just above.

Keyframe animate from 0 to 100 frames, then use the correct variables for each pedal.
 
I got most of the results I wanted with this code:
Code:
<part>
	<name>brake_left_position</name>
      <animation>
	<parameter>
	  <code>(A:BRAKE LEFT POSITION,percent) 100 *</code>
 	  <lag>600</lag>
	</parameter>
      </animation>
   <mouserect>
	<cursor>Hand</cursor>
   <tooltip_text>Left Brake Key F11</tooltip_text>
   <callback_code>
     (A:BRAKE LEFT POSITION,percent) ! (A:BRAKE LEFT POSITION,percent)
   </callback_code>
   </mouserect>
</part>

<part>
	<name>brake_right_position</name>
      <animation>
	<parameter>
	  <code>(A:BRAKE RIGHT POSITION,percent) 100 *</code>
 	  <lag>600</lag>
	</parameter>
      </animation>
   <mouserect>
	<cursor>Hand</cursor>
   <tooltip_text>Right Brake Key F12</tooltip_text>
   <callback_code>
     (A:BRAKE RIGHT POSITION,percent) ! (A:BRAKE RIGHT POSITION,percent)
   </callback_code>
   </mouserect>
</part>

The brake pedals animate on the F11 ,F12 and . keystrokes but are no longer mouse clickable. The mouse click problem may be an effect of some lock out gauges we have to make the Wing lock pin and dive brakes work correctly.

Here is a video of the pedals running thru the animation sequence. It is raw fraps vid about 20.mb and took about 3 mins. to load into windows media player the first time I tested the link.

http://www.pendercrafts.com/Carls folder/New 2/fs9 2011-11-25 04-49-43-28.avi

Carl
 
Back
Top