![]() ![]() I can add 4 to my current Roll value to do that, right? Therefore: Roll + 4, which would evaluate (result) in: (+1) + (+4) = +5. Let's say I want to create a final value of 5. Say that my input type Roll value is set to 1 right now because I'm pressing on the positive roll button. What can we do with these, you ask? You can use the inputs we covered above and the math operators in conjunction to form entirely new values. ![]() (): parentheses to group statements (remember PEMDAS).Here's a list of all available Math Operators in SP (1.9 Beta): Remember math in school again? Remember adding, subtracting, multiplying and dividing? and parentheses? PEMDAS? We can do that with SP now. As I've already explained the significance of the numbers, I'll talk about the next section: In a similar vein to that of the previous list, I've also pointed out all the possible values for each input type. Time - The time since the level loaded (seconds) (0~inf).Heading - The heading of the aircraft (degrees) (-180~180).RollAngle - The roll of the aircraft (degrees) (-180~180).PitchAngle - The pitch of the aircraft (degrees) (-180~180).AngleOfSlip - The horizontal equivalent of angle of attack (degrees) (-180~180).AngleOfAttack - The angle of attack (angle airflow vertically meets the boresight) in degrees (0~360).Fuel - The amount of fuel remaining as a proportion of capacity (0 to 1) (0~1).TAS - The speed relative to the air (m/s) (0~inf).IAS - The speed relative to the air, adjusted for the density of the air (m/s) (0~inf).GS - The speed relative to the ground (m/s) (0~inf).AltitudeAgl - Aircraft's altitude above ground level in meters (-inf~inf).Altitude - Aircraft's altitude in meters (-inf~inf).These all depend on the state of you aircraft ( in SP, the state of your cockpit). These inputs are things you can't directly control, but still are able to be used as 'inputs' nonetheless. The 'alternative' numbers in the parentheses illustrate the possible values if a joystick is used. However, if you use keyboard controls only, they follow the fixed value rule (the first group of parentheses as possible values). When you use a joystick or enable the mouse joystick option, the behavior of Roll, Pitch, and Yaw change- they also become similar to VTOL / Trim in that they now gain the ability to have a non-fixed input value. The fixed inputs only apply when you exclusively use keyboard controls. Now, there is a catch to the 'fixed' inputs examples I illustrated in the earlier paragraph. So a bit more flexibility, but the same sort of concept applies. Similarly, Trim and VTOL also are a range of values, except that these guys can range from -1 to 1. Visually, you can see this in the flight interface as the throttle is displayed to you as a percentage. For example, the input type Throttle can be anything from 0 to 1 (represented in the list above as 0~1), which means it can be like 0.00001, 0.5324, 0.99992 etc. ![]() There are also input types that don't have fixed values. Thanks to NavySealion for pointing it out. There is an exception to this rule, which I will address below. If you press negative roll ( A in the game controls), you give the input type Roll a value of -1. If you don't press on anything, it's given the default value of 0. For example, Roll has only -1, 0, and 1 as possible values: when you press on positive roll ( D in the game controls), you give the input type Roll a value of 1. Now, to explain the numbers- the numbers represent all the possible values that can be given to that input type.
0 Comments
Leave a Reply. |