- Messages
- 440
- Country

1. Are you actually modelling this carrier? If so are you reanimating the elevator to 360 keyframes? If you are using ModelConvertorX and just modding the animation XML then you must remain with the 0-100 keyframes originally animated into the model.
2. Gauges run at 18hz so when you trigger the animation via the gauge you would want it "run up" and "run down" hence the addition/subtraction of a fixed number which is adjustable for your animation speed needs.
3. min = take the last 2 numbers in the stack and keep the lesser of the 2. It acts as a "ceiling".
max = take the last 2 numbers in the stack and keep the greater of the 2. It acts as a "floor".
means add 1 to the variable now stored, check that it doesn't go above 360 then store the new value into the variable.
For modelling the carrier yourself at 360 frames use the code in post #8 above.
If you are using MCX and reanimating via the export animation XML then you must remain with 100 frames. It seems this is the case.
2. Gauges run at 18hz so when you trigger the animation via the gauge you would want it "run up" and "run down" hence the addition/subtraction of a fixed number which is adjustable for your animation speed needs.
3. min = take the last 2 numbers in the stack and keep the lesser of the 2. It acts as a "ceiling".
max = take the last 2 numbers in the stack and keep the greater of the 2. It acts as a "floor".
Code:
(L:CVelevator) 1 + 360 min (>L:CVelevator)
For modelling the carrier yourself at 360 frames use the code in post #8 above.
If you are using MCX and reanimating via the export animation XML then you must remain with 100 frames. It seems this is the case.
Code:
<Gauge Name="CarrierElevator" Version="1.0">
<Element>
<Select>
<Value>
(A:LIGHT PANEL,bool) 1 ==
if{ (L:CVelevator) 1 + 100 min (>L:CVelevator) }
els{ (L:CVelevator) 1 - 0 max (>L:CVelevator) }
</Value>
</Select>
</Element>
</Gauge>




