Animation Editor: Human Variables – Arma Reforger
Jump to navigation
Jump to search
(updated available variables) |
Lou Montana (talk | contribs) m (Text replacement - "Arma Reforger:Animation Editor: Vehicles Actions Commands" to "Arma Reforger:Animation Editor: Vehicle Action Commands") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable sortable" | ||
! Variable Name | ! Variable Name | ||
! Type | ! Type | ||
Line 23: | Line 23: | ||
| MovementDirection | | MovementDirection | ||
| float | | float | ||
| | | -180 | ||
| 180 | | 180 | ||
| Movement direction in degrees, 0 is forward, -90 is left, etc | | Movement direction in degrees, 0 is forward, -90 is left, etc | ||
Line 51: | Line 51: | ||
| LookX | | LookX | ||
| float | | float | ||
| | | -180 | ||
| 180 | | 180 | ||
| Used for look at | | Used for look at | ||
Line 58: | Line 58: | ||
| LookY | | LookY | ||
| float | | float | ||
| | | -90 | ||
| 90 | | 90 | ||
| Used for look at | | Used for look at | ||
Line 75: | Line 75: | ||
| | | | ||
| If true, the finger on the character's weapon hand will be pulled | | If true, the finger on the character's weapon hand will be pulled | ||
| | |Weapon | ||
|- | |- | ||
| WeaponObstruction | | WeaponObstruction | ||
Line 100: | Line 100: | ||
| AimX | | AimX | ||
| float | | float | ||
| | | -180 | ||
| 180 | | 180 | ||
| Used for aiming | | Used for aiming | ||
| | |Weapon | ||
|- | |- | ||
| AimY | | AimY | ||
| float | | float | ||
| | | -90 | ||
| 90 | | 90 | ||
| Used for aiming | | Used for aiming | ||
| | |Weapon | ||
|- | |- | ||
| LeanForward | | LeanForward | ||
Line 121: | Line 121: | ||
| TurnAmount | | TurnAmount | ||
| float | | float | ||
| | | -2.0 | ||
| 2.0 | | 2.0 | ||
| Use with command '''CMD_Turn'''. -2 is turning left 180, -1 is turning left 90, 1 is turning right 90, 2 is turning right 180 | | Use with command '''CMD_Turn'''. -2 is turning left 180, -1 is turning left 90, 1 is turning right 90, 2 is turning right 180 | ||
Line 128: | Line 128: | ||
| Lean | | Lean | ||
| float | | float | ||
| | | -1.0 | ||
| 1.0 | | 1.0 | ||
| This leans the character to the left and right | | This leans the character to the left and right | ||
Line 149: | Line 149: | ||
| AimIKX | | AimIKX | ||
| float | | float | ||
| | | -180 | ||
| 180 | | 180 | ||
| Used by character controller | | Used by character controller | ||
Line 156: | Line 156: | ||
| DamageDirection | | DamageDirection | ||
| float | | float | ||
| | | -180 | ||
| 180 | | 180 | ||
| This is used with '''CMD_Combat_DamageLight''' and '''CMD_Combat_DamageHeavy''' to determine the direction of the hit | | This is used with '''CMD_Combat_DamageLight''' and '''CMD_Combat_DamageHeavy''' to determine the direction of the hit | ||
Line 163: | Line 163: | ||
| AimIKZ | | AimIKZ | ||
| float | | float | ||
| | | -180 | ||
| 180 | | 180 | ||
| Used by character controller | | Used by character controller | ||
Line 170: | Line 170: | ||
| AimTransX | | AimTransX | ||
| float | | float | ||
| | | -100 | ||
| 100 | | 100 | ||
| Used by character controller | | Used by character controller | ||
Line 177: | Line 177: | ||
| AimTransY | | AimTransY | ||
| float | | float | ||
| | | -100 | ||
| 100 | | 100 | ||
| Used by character controller | | Used by character controller | ||
Line 184: | Line 184: | ||
| AimTransZ | | AimTransZ | ||
| float | | float | ||
| | | -100 | ||
| 100 | | 100 | ||
| Used by character controller | | Used by character controller | ||
Line 191: | Line 191: | ||
| VehicleType | | VehicleType | ||
| int | | int | ||
| | | -1 | ||
| 10 | | 10 | ||
| This sets the current vehicle that you're going to enter | | This sets the current vehicle that you're going to enter | ||
Line 198: | Line 198: | ||
| VehicleSteering | | VehicleSteering | ||
| float | | float | ||
| | | -1.0 | ||
| 1.0 | | 1.0 | ||
| | | -1 is steering 100% left, and 1 is turning 100% right | ||
| | |Vehicle | ||
|- | |- | ||
| VehicleThrottle | | VehicleThrottle | ||
Line 208: | Line 208: | ||
| 1.0 | | 1.0 | ||
| This controls how much the throttle foot is pushing down | | This controls how much the throttle foot is pushing down | ||
| | |Vehicle | ||
|- | |- | ||
| VehicleClutch | | VehicleClutch | ||
Line 215: | Line 215: | ||
| 1.0 | | 1.0 | ||
| This controls how much the clutch foot is pushing down | | This controls how much the clutch foot is pushing down | ||
| | |Vehicle | ||
|- | |- | ||
| VehicleBrake | | VehicleBrake | ||
Line 222: | Line 222: | ||
| | | | ||
| This makes the character brake, which overrides the VehicleClutch variable | | This makes the character brake, which overrides the VehicleClutch variable | ||
| | |Vehicle | ||
|- | |- | ||
| VehicleAccelerationFB | | VehicleAccelerationFB | ||
| float | | float | ||
| | | -1 | ||
| 1 | | 1 | ||
| | |Vehicle acceleration force (front/back) | ||
| | | | ||
|- | |- | ||
| VehicleAccelerationLR | | VehicleAccelerationLR | ||
| float | | float | ||
| | | -1 | ||
| 1 | | 1 | ||
| | |Vehicle acceleration force (left/right) | ||
| | | | ||
|- | |- | ||
Line 247: | Line 247: | ||
| LadderMovement | | LadderMovement | ||
| int | | int | ||
| | | -2 | ||
| 2 | | 2 | ||
| | | | ||
Line 263: | Line 263: | ||
| | | | ||
| | | | ||
| | |True when weapon is being fired | ||
| | |Weapon | ||
|- | |- | ||
| SeatPositionType | | SeatPositionType | ||
Line 270: | Line 270: | ||
| 0 | | 0 | ||
| 15 | | 15 | ||
|See [[Arma Reforger:Animation Editor: | |See [[Arma Reforger:Animation Editor: Vehicle Action Commands#SeatPositionType|Vehicle Actions Commands]] | ||
| | | | ||
|- | |- | ||
Line 282: | Line 282: | ||
| AimTurnX | | AimTurnX | ||
| float | | float | ||
| | | -90 | ||
| 90 | | 90 | ||
| | | | ||
Line 291: | Line 291: | ||
| | | | ||
| | | | ||
| | |True when vehicle horn is active | ||
| | |Vehicle | ||
|- | |- | ||
| LeftHandGadget | | LeftHandGadget | ||
Line 313: | Line 313: | ||
| | | | ||
|True when bipod is deployed on weapon | |True when bipod is deployed on weapon | ||
| | |Weapon | ||
|- | |- | ||
| LastBullet | | LastBullet | ||
Line 320: | Line 320: | ||
| | | | ||
|Was the last bullet being fired? Can be used for weapons which holds bolt back after last round | |Was the last bullet being fired? Can be used for weapons which holds bolt back after last round | ||
| | |Weapon | ||
|- | |- | ||
| Empty | | Empty | ||
Line 326: | Line 326: | ||
| | | | ||
| | | | ||
| | |True when weapon is empty | ||
| | |Weapon | ||
|- | |- | ||
| Cocked | | Cocked | ||
Line 333: | Line 333: | ||
| | | | ||
| | | | ||
| | |True when weapon (pistol) is cocked | ||
| | |Weapon | ||
|- | |- | ||
| Focused | | Focused | ||
Line 340: | Line 340: | ||
| | | | ||
| | | | ||
| | |True when gadget (like compass or binoculars) is focused | ||
| | |Gadget | ||
|- | |- | ||
| State | | State | ||
| int | | int | ||
| | | -1 | ||
| 2 | | 2 | ||
|Used for fire mode switch. -1 safe, 0 semi, 1 burst, 2 full auto | |Used for fire mode switch. -1 safe, 0 semi, 1 burst, 2 full auto | ||
| | |Weapon | ||
|- | |- | ||
| WeaponType | | WeaponType | ||
Line 361: | Line 361: | ||
| | | | ||
| | | | ||
| | |True when character is supposed to bandage himself (instead of i.e. other character) | ||
| | | | ||
|- | |- | ||
Line 368: | Line 368: | ||
| | | | ||
| | | | ||
| | |True when freelook is activated | ||
| | | | ||
|- | |- | ||
Line 389: | Line 389: | ||
| 1 | | 1 | ||
| 8 | | 8 | ||
| | |Controls which body part should be bandaged | ||
| | | | ||
|- | |- | ||
| BankAmount | | BankAmount | ||
| float | | float | ||
| | | -1 | ||
| 1 | | 1 | ||
| | | | ||
Line 410: | Line 410: | ||
| | | | ||
| | | | ||
| | |True when character is driver of the vehicle | ||
| | |Vehicle | ||
|- | |- | ||
| WeaponObstructionFloat | | WeaponObstructionFloat | ||
Line 422: | Line 422: | ||
| FloorAngle | | FloorAngle | ||
| float | | float | ||
| | | -90 | ||
| 90 | | 90 | ||
| | | | ||
Line 452: | Line 452: | ||
| | | | ||
| | | | ||
| | |When true, idle animations on given character are disabled | ||
| | | | ||
|- | |- | ||
Line 474: | Line 474: | ||
|1 | |1 | ||
| | | | ||
| | |Vehicle | ||
|- | |- | ||
|CrankX | |CrankX | ||
Line 508: | Line 508: | ||
| | | | ||
| | | | ||
| | |True when weapon is deployed | ||
| | |Weapon | ||
|- | |- | ||
|IsSimulatedIK | |IsSimulatedIK | ||
Line 522: | Line 522: | ||
| -2 | | -2 | ||
|2 | |2 | ||
| | |State of weapon inspection | ||
| | |Weapon | ||
|- | |- | ||
|ItemInspectionState | |ItemInspectionState | ||
Line 529: | Line 529: | ||
|0 | |0 | ||
|1 | |1 | ||
| | |State of item inspection | ||
| | |Gadget | ||
|- | |- | ||
|Vehicle_Wobble | |Vehicle_Wobble | ||
Line 536: | Line 536: | ||
|0 | |0 | ||
|1 | |1 | ||
| | |Character wobble factor in vehicles. Depends on the roughness of terrain vehicle is ridding on | ||
| | |Vehicle | ||
|- | |- | ||
|GetInNoBlending | |GetInNoBlending | ||
Line 544: | Line 544: | ||
| | | | ||
| | | | ||
| | |Helicopter | ||
|- | |- | ||
|CyclicAside | |CyclicAside | ||
Line 550: | Line 550: | ||
| -1 | | -1 | ||
|1 | |1 | ||
| | |Rotor mast machinery (or rotor) animations based on cyclic controls | ||
| | |Helicopter | ||
|- | |- | ||
|Collective | |Collective | ||
Line 558: | Line 558: | ||
|1 | |1 | ||
|Helicopter collective source | |Helicopter collective source | ||
| | |Helicopter | ||
|- | |- | ||
|CyclicForward | |CyclicForward | ||
Line 564: | Line 564: | ||
| -1 | | -1 | ||
|1 | |1 | ||
| | |Rotor mast machinery (or rotor) animations based on cyclic controls | ||
| | |Helicopter | ||
|- | |- | ||
|AntiTorque | |AntiTorque | ||
Line 571: | Line 571: | ||
| -1 | | -1 | ||
|1 | |1 | ||
| | |Helicopter anti torque variable | ||
| | |Helicopter | ||
|- | |- | ||
|GearFB | |GearFB | ||
Line 592: | Line 592: | ||
|0 | |0 | ||
|1 | |1 | ||
| | |Controls unconscious facial animation | ||
| | | | ||
|- | |- | ||
Line 599: | Line 599: | ||
|1 | |1 | ||
|5 | |5 | ||
| | |Controls which unconscious pose will character end up | ||
| | | | ||
|- | |- | ||
Line 607: | Line 607: | ||
|100 | |100 | ||
|Vehicle speed in m/s | |Vehicle speed in m/s | ||
| | |Vehicle | ||
|- | |- | ||
|ADSOffsetHorizontal | |ADSOffsetHorizontal |
Latest revision as of 14:58, 2 December 2024
Variable Name | Type | Min | Max | Usage | Used In |
---|---|---|---|---|---|
MovementSpeed | float | 0 | 3 | 0 is not moving, 1 is walking, 2 is running, 3 is sprinting | |
MovementSpeedReal | float | 0 | 10 | Animation variable which keeps the current speed of the character in meters per second | |
MovementDirection | float | -180 | 180 | Movement direction in degrees, 0 is forward, -90 is left, etc | |
HasLocomotionInput | bool | Has locomotion input for animators to be able to read if there is any input or if the character should stop - used for inertia | |||
Stance | Int | 0 | 2 | 0 is standing, 1 is crouching, 2 is prone | |
Look | bool | True = looking dir is used, false = looking dir is not used | |||
LookX | float | -180 | 180 | Used for look at | |
LookY | float | -90 | 90 | Used for look at | |
WaterLevel | float | 0.0 | 1.0 | This causes the character to act as if he is walking in water (only with rifles so far) | |
TriggerPulled | bool | If true, the finger on the character's weapon hand will be pulled | Weapon | ||
WeaponObstruction | bool | If true, the weapon will be pointing upwards to avoid the obstacle in front of them | |||
ADSAdjust | float | 0.0 | 1.0 | If 0.0, the character will be almost crouched down and if 1.0, the character will be standing up normally. Used to adjust for obstacles. | |
ADS | bool | This makes the character aim down sights | |||
AimX | float | -180 | 180 | Used for aiming | Weapon |
AimY | float | -90 | 90 | Used for aiming | Weapon |
LeanForward | float | 0.0 | 90 | This leans the character forward while in melee combat | |
TurnAmount | float | -2.0 | 2.0 | Use with command CMD_Turn. -2 is turning left 180, -1 is turning left 90, 1 is turning right 90, 2 is turning right 180 | |
Lean | float | -1.0 | 1.0 | This leans the character to the left and right | |
Low | bool | ||||
ArmIK | int | 0 | 7 | Used by character controller | |
AimIKX | float | -180 | 180 | Used by character controller | |
DamageDirection | float | -180 | 180 | This is used with CMD_Combat_DamageLight and CMD_Combat_DamageHeavy to determine the direction of the hit | |
AimIKZ | float | -180 | 180 | Used by character controller | |
AimTransX | float | -100 | 100 | Used by character controller | |
AimTransY | float | -100 | 100 | Used by character controller | |
AimTransZ | float | -100 | 100 | Used by character controller | |
VehicleType | int | -1 | 10 | This sets the current vehicle that you're going to enter | |
VehicleSteering | float | -1.0 | 1.0 | -1 is steering 100% left, and 1 is turning 100% right | Vehicle |
VehicleThrottle | float | 0.0 | 1.0 | This controls how much the throttle foot is pushing down | Vehicle |
VehicleClutch | float | 0.0 | 1.0 | This controls how much the clutch foot is pushing down | Vehicle |
VehicleBrake | bool | This makes the character brake, which overrides the VehicleClutch variable | Vehicle | ||
VehicleAccelerationFB | float | -1 | 1 | Vehicle acceleration force (front/back) | |
VehicleAccelerationLR | float | -1 | 1 | Vehicle acceleration force (left/right) | |
Recoil | float | 0 | 1 | ||
LadderMovement | int | -2 | 2 | ||
Look | bool | ||||
Firing | bool | True when weapon is being fired | Weapon | ||
SeatPositionType | int | 0 | 15 | See Vehicle Actions Commands | |
DebugNewAimTurns | bool | ||||
AimTurnX | float | -90 | 90 | ||
Horn | bool | True when vehicle horn is active | Vehicle | ||
LeftHandGadget | int | 0 | 9 | ||
SightElevation | float | 0 | 1 | State of sight adjustment (like ironsights) on the weapon. | |
Bipod | bool | True when bipod is deployed on weapon | Weapon | ||
LastBullet | bool | Was the last bullet being fired? Can be used for weapons which holds bolt back after last round | Weapon | ||
Empty | bool | True when weapon is empty | Weapon | ||
Cocked | bool | True when weapon (pistol) is cocked | Weapon | ||
Focused | bool | True when gadget (like compass or binoculars) is focused | Gadget | ||
State | int | -1 | 2 | Used for fire mode switch. -1 safe, 0 semi, 1 burst, 2 full auto | Weapon |
WeaponType | int | 0 | 20 | ||
BandageSelf | bool | True when character is supposed to bandage himself (instead of i.e. other character) | |||
FreeLook | bool | True when freelook is activated | |||
ObstacleHeight | float | 0 | 210 | ||
ObstructionTEST | float | 0 | 2 | ||
BodyPart | int | 1 | 8 | Controls which body part should be bandaged | |
BankAmount | float | -1 | 1 | ||
NewTurns | bool | ||||
IsDriver | bool | True when character is driver of the vehicle | Vehicle | ||
WeaponObstructionFloat | float | 0 | 1 | ||
FloorAngle | float | -90 | 90 | ||
FloorAngleLateral | |||||
UGL | bool | ||||
ADSTime | float | 0 | 2 | ||
IdlesOff | bool | When true, idle animations on given character are disabled | |||
TargetYOffset | float | -180 | 180 | ||
SpineAccelerationFB | float | -1 | 1 | ||
SpineAccelerationLR | float | -1 | 1 | Vehicle | |
CrankX | float | 0 | 1 | ||
CrankY | float | 0 | 1 | ||
WeaponHeight | float | 50 | 120 | ||
StepSize | float | 0 | 1 | ||
WeaponDeployed | bool | True when weapon is deployed | Weapon | ||
IsSimulatedIK | bool | ||||
WeaponInspectionState | int | -2 | 2 | State of weapon inspection | Weapon |
ItemInspectionState | int | 0 | 1 | State of item inspection | Gadget |
Vehicle_Wobble | float | 0 | 1 | Character wobble factor in vehicles. Depends on the roughness of terrain vehicle is ridding on | Vehicle |
GetInNoBlending | bool | Helicopter | |||
CyclicAside | float | -1 | 1 | Rotor mast machinery (or rotor) animations based on cyclic controls | Helicopter |
Collective | float | -1 | 1 | Helicopter collective source | Helicopter |
CyclicForward | float | -1 | 1 | Rotor mast machinery (or rotor) animations based on cyclic controls | Helicopter |
AntiTorque | float | -1 | 1 | Helicopter anti torque variable | Helicopter |
GearFB | float | 0 | 0.09 | Used in conjunction with Depth Front/Back parameter located in BaseLoadoutClothComponent. Controls Z forward offset of held weapon | |
GearLR | float | 0 | 0.08 | Used in conjunction with Depth Left/Right parameter located in BaseLoadoutClothComponent. Controls left X offset of elbows when cloth is equipped | |
Facial | float | 0 | 1 | Controls unconscious facial animation | |
UnconsciousPose | int | 1 | 5 | Controls which unconscious pose will character end up | |
VehicleSpeed | float | 0 | 100 | Vehicle speed in m/s | Vehicle |
ADSOffsetHorizontal | float | -10 | 10 | ||
ADSOffsetVertical | float | -10 | 10 | ||
Stamina | float | 0 | 1 | ||
IsControlledByPlayer | bool | True if character is controlled by player. Currently it is used to disable idle animations on player controlled characters |