This commit is contained in:
Aaron Clark
2012-11-04 20:28:50 -06:00
commit 76e9a0582e
1049 changed files with 94406 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
// allowDamage.sqf
_unit = _this select 0;
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
_unit allowDamage true;
_unit setCaptive false;

View File

@@ -0,0 +1,5 @@
// animDrag.sqf
_dragee = _this select 0;
_dragee switchmove "ainjppnemstpsnonwrfldb_still";

View File

@@ -0,0 +1,9 @@
// animHealed.sqf
_unit = _this select 0;
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
if (_unit == player) then {
r_player_unconscious = false;
r_player_injured = false;
};

View File

@@ -0,0 +1,4 @@
//carriedUp.sqf
_dragee = _this select 0;
_dragee switchmove "ainjpfalmstpsnonwrfldnon_carried_up";

View File

@@ -0,0 +1,6 @@
//deadState.sqf
_unit = _this select 0;
_unit switchMove "deadState";

View File

@@ -0,0 +1,6 @@
//lieStill.sqf
_dragee = _this select 0;
_dragee playMoveNow "ainjppnemstpsnonwrfldnon";

View File

@@ -0,0 +1,5 @@
// load_wounded.sqf
_unit = _this select 0;
_unit switchMove "kia_hmmwv_driver";

View File

@@ -0,0 +1,22 @@
// animHealed.sqf
private["_array","_unit","_medic","_display","_control"];
disableserialization;
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if (_unit == player) then {
r_player_injured = false;
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
r_player_handler = false;
if (r_player_blood == r_player_bloodTotal) then {
player setVariable["USEC_lowBlood",false,true];
};
//Ensure Control is visible
_display = uiNamespace getVariable 'DAYZ_GUI_display';
_control = _display displayCtrl 1303;
_control ctrlShow false;
};
if (isServer) then {
_unit setVariable["medForceUpdate",true];
};

View File

@@ -0,0 +1,23 @@
// animHealed.sqf
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
_isDead = _unit getVariable["USEC_isDead",false];
if (local _unit) then {_unit setCaptive false};
if (!_isDead) then {
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
_unit setVariable ["NORRN_unconscious", false, true];
_unit setVariable ["USEC_isCardiac",false,true];
if (_unit == player) then {
r_player_unconscious = false;
disableUserInput false;
r_player_cardiac = false;
r_player_handler1 = false;
};
if (isServer) then {
_unit setVariable["medForceUpdate",true];
};
};

View File

@@ -0,0 +1,26 @@
// animHealed.sqf
private["_array","_unit","_medic","_display","_control","_hitLegs","_hitArms"];
disableserialization;
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if (_unit == player) then {
r_fracture_legs = false;
r_fracture_arms = false;
_unit setHit["legs",0];
_unit setHit["hands",0];
//Ensure Control is visible
_display = uiNamespace getVariable 'DAYZ_GUI_display';
_control = _display displayCtrl 1203;
_control ctrlShow false;
_id = false spawn dayz_disableRespawn;
};
_unit setVariable ["hit_legs",0];
_unit setVariable ["hit_hands",0];
if (isServer) then {
_unit setVariable["medForceUpdate",true];
};

View File

@@ -0,0 +1,12 @@
// animHealed.sqf
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if (_unit == player) then {
r_player_inpain = false;
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
};
if (isServer) then {
_unit setVariable["medForceUpdate",true];
};

View File

@@ -0,0 +1,24 @@
// animHealed.sqf
private["_array","_unit","_medic","_display","_control","_lowBlood"];
disableserialization;
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if (_unit == player) then {
r_player_blood = r_player_bloodTotal;
r_player_lowblood = false;
10 fadeSound 1;
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5;
//Ensure Control is visible
_display = uiNamespace getVariable 'DAYZ_GUI_display';
_control = _display displayCtrl 1300;
_control ctrlShow true;
player setVariable["USEC_BloodQty",r_player_bloodTotal,true];
};
if (isServer) then {
_unit setVariable["medForceUpdate",true];
};

View File

@@ -0,0 +1,7 @@
// animHealed.sqf
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
_item = _array select 2;
_medic playMove "AinvPknlMstpSnonWrflDnon_medic1";

View File

@@ -0,0 +1,5 @@
//noAnim.sqf
_unit = _this select 0;
_unit switchMove "";

View File

@@ -0,0 +1,8 @@
// noDamage.sqf
_unit = _this select 0;
_unit setCaptive 3;
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
_unit allowDamage false;
sleep 0.01;

View File

@@ -0,0 +1,5 @@
// pickUp.sqf
_unit = _this select 0;
_unit switchMove "acinpknlmstpsraswrfldnon_acinpercmrunsraswrfldnon";

View File

@@ -0,0 +1,5 @@
// promptRName.sqf
_unit = _this select 0;
call compile format ["server globalChat reviver_%1", _unit];

View File

@@ -0,0 +1,6 @@
// rolltoback.sqf
_unit = _this select 0;
_unit switchMove "ainjppnemstpsnonwrfldnon_rolltoback";

View File

@@ -0,0 +1,6 @@
// rolltofront.sqf
_unit = _this select 0;
_unit switchMove "ainjppnemstpsnonwrfldnon_rolltofront";

View File

@@ -0,0 +1,5 @@
// set180.sqf
_dragee = _this select 0;
_dragee setDir 180;