Added hand animations
This commit is contained in:
@@ -49,6 +49,8 @@ class CfgVehicles {
|
||||
|
||||
class Turrets: Turrets {
|
||||
class MainTurret: MainTurret {
|
||||
gunnerRightHandAnimName = "vertical_handpos";
|
||||
gunnerLeftHandAnimName = "horizontal_handpos";
|
||||
gunnerAction = "M119pose";
|
||||
gunnergetInAction = "GetInLow";
|
||||
gunnergetOutAction = "GetOutLow";
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -27,7 +27,10 @@ class CfgSkeletons {
|
||||
"magazine", "magazine_translation_bone",
|
||||
"hydraulics", "otocvez",
|
||||
"breech", "barrel",
|
||||
"handle_breech", "barrel"};
|
||||
"handle_breech", "barrel",
|
||||
"horizontal_handpos", "handle_horizontal",
|
||||
"vertical_handpos", "handle_vertical"
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -142,6 +145,19 @@ class CfgModels {
|
||||
memory = 1;
|
||||
};
|
||||
|
||||
class rotation_handle_horizontal_handpos {
|
||||
type = "rotation";
|
||||
source = "mainTurret";
|
||||
sourceAddress = "loop";
|
||||
selection = "horizontal_handpos";
|
||||
axis = "axis_horizontal_handpos_rotation";
|
||||
minValue = "0";
|
||||
maxValue = "1";
|
||||
angle0 = "rad 0";
|
||||
angle1 = "rad -5760";
|
||||
memory = 1;
|
||||
};
|
||||
|
||||
class trigger_rotation {
|
||||
type = "rotation";
|
||||
source = "trigger_rotation_source";
|
||||
@@ -167,6 +183,19 @@ class CfgModels {
|
||||
memory = 1;
|
||||
};
|
||||
|
||||
class rotation_handle_vertical_handpos {
|
||||
type = "rotation";
|
||||
source = "mainGun";
|
||||
sourceAddress = "loop";
|
||||
selection = "vertical_handpos";
|
||||
axis = "axis_vertical_handpos_rotation";
|
||||
minValue = "0";
|
||||
maxValue = "1";
|
||||
angle0 = "rad 0";
|
||||
angle1 = "rad -11520";
|
||||
memory = 1;
|
||||
};
|
||||
|
||||
class MainGun : MainTurret {
|
||||
type = "rotationX";
|
||||
source = "mainGun";
|
||||
|
||||
Reference in New Issue
Block a user