folding finished
This commit is contained in:
Binary file not shown.
@@ -34,10 +34,11 @@ _arty lock true;
|
|||||||
private _curTur = _arty animationPhase "mainTurret";
|
private _curTur = _arty animationPhase "mainTurret";
|
||||||
private _curGun = _arty animationPhase "mainGun";
|
private _curGun = _arty animationPhase "mainGun";
|
||||||
|
|
||||||
_arty animateSource ["plate_back_source", 0];
|
_arty animateSource ["plate_back_source", 0, true];
|
||||||
_arty animateSource ["plate_front_source", 1];
|
_arty animateSource ["plate_front_source", 1, true];
|
||||||
_arty animateSource ["mainTurretT_source", -_curTur];
|
_arty animateSource ["mainTurretT_source", -_curTur];
|
||||||
_arty animateSource ["mainGunT_source", -_curGun + 0.1];
|
_arty animateSource ["mainGunT_source", -_curGun + 0.1];
|
||||||
|
_arty animateSource ["hydraulicsT_source", -_curGun + 0.1];
|
||||||
|
|
||||||
_arty setVariable [QGVAR(folded), true, true];
|
_arty setVariable [QGVAR(folded), true, true];
|
||||||
_arty setMass 750;
|
_arty enableRopeAttach true;
|
||||||
|
|||||||
@@ -32,3 +32,5 @@ _arty setVariable [QGVAR(breech), false, true];
|
|||||||
_arty setVariable [QGVAR(loaded), false, true];
|
_arty setVariable [QGVAR(loaded), false, true];
|
||||||
_arty setVariable [QGVAR(towed), false, true];
|
_arty setVariable [QGVAR(towed), false, true];
|
||||||
_arty setVariable [QGVAR(fired), false, true];
|
_arty setVariable [QGVAR(fired), false, true];
|
||||||
|
|
||||||
|
_arty enableRopeAttach true;
|
||||||
|
|||||||
@@ -31,10 +31,11 @@ if !([_arty] call FUNC(canUnfold)) exitWith {};
|
|||||||
_arty lock false;
|
_arty lock false;
|
||||||
|
|
||||||
// animate
|
// animate
|
||||||
_arty animateSource ["plate_back_source", 1];
|
_arty animateSource ["plate_back_source", 1, true];
|
||||||
_arty animateSource ["plate_front_source", 0];
|
_arty animateSource ["plate_front_source", 0, true];
|
||||||
_arty animateSource ["mainTurretT_source", 0];
|
_arty animateSource ["mainTurretT_source", 0];
|
||||||
_arty animateSource ["mainGunT_source", 0];
|
_arty animateSource ["mainGunT_source", 0];
|
||||||
|
_arty animateSource ["hydraulicsT_source", 0];
|
||||||
|
|
||||||
_arty setVariable [QGVAR(folded), false, true];
|
_arty setVariable [QGVAR(folded), false, true];
|
||||||
_arty setMass 350000;
|
_arty enableRopeAttach true;
|
||||||
|
|||||||
@@ -200,7 +200,6 @@ class CfgVehicles {
|
|||||||
animPeriod = 0.5;
|
animPeriod = 0.5;
|
||||||
sound = "reload";
|
sound = "reload";
|
||||||
soundPosition = "konec_hlavne";
|
soundPosition = "konec_hlavne";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class magazine_hide_source {
|
class magazine_hide_source {
|
||||||
@@ -220,6 +219,12 @@ class CfgVehicles {
|
|||||||
initPhase = 0;
|
initPhase = 0;
|
||||||
animPeriod = 1;
|
animPeriod = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class hydraulicsT_source {
|
||||||
|
source = "user";
|
||||||
|
initPhase = 0;
|
||||||
|
animPeriod = 1;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ACE_Actions: ACE_Actions {
|
class ACE_Actions: ACE_Actions {
|
||||||
|
|||||||
@@ -235,9 +235,12 @@ class Animations
|
|||||||
angle0 = "rad +360";
|
angle0 = "rad +360";
|
||||||
angle1 = "rad -360";
|
angle1 = "rad -360";
|
||||||
memory = 1;
|
memory = 1;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class hydraulicsT: hydraulics {
|
||||||
|
source = "hydraulicsT_source";
|
||||||
|
}
|
||||||
|
|
||||||
class rotation_small_wheel {
|
class rotation_small_wheel {
|
||||||
type = "rotation";
|
type = "rotation";
|
||||||
source = "mainGun";
|
source = "mainGun";
|
||||||
|
|||||||
Reference in New Issue
Block a user