+ work around added to player zombie "get over" stuck animation issue.
+ added setpos to vaults, allows precise positioning
+ possible fix for damage spam at server start.
+ added player zombie attack move, Works with animals and zombies only
currently.
+ 10oz bars for all types of metal
+ fix for detecting near vehicles when selling fixes #81
This commit is contained in:
vbawol
2013-02-14 17:20:35 -06:00
parent 9f56cdcbfe
commit 58742df73a
14 changed files with 244 additions and 361 deletions

View File

@@ -225,12 +225,21 @@ if (!isDedicated) then {
_dikCode = _this select 1;
_handled = false;
if (_dikCode in (actionKeys "GetOver")) then {
if (player isKindOf "PZombie_VB") exitWith {
//player action ["sitDown", player];
player switchAction "sitDown";
//player playMoveNow "ZombieStandingAttack1";
//player switchMove "AmovPercMstpSnonWnonDnon";
diag_log "Saved player zombie from animation lockup?";
};
DoRE = ({isPlayer _x} count (player nearEntities ["AllVehicles",500]) > 1);
if (canRoll && animationState player in ["amovpercmrunslowwrfldf","amovpercmrunsraswrfldf","amovpercmevaslowwrfldf","amovpercmevasraswrfldf"]) then {
canRoll = false;
null = [] spawn {
if (DoRE) then {
[nil, player, rSWITCHMOVE,"ActsPercMrunSlowWrflDf_FlipFlopPara"] call RE;
[nil, player, rSWITCHMOVE,"ActsPercMrunSlowWrflDf_FlipFlopPara"] call RE;
} else {
player switchMove "ActsPercMrunSlowWrflDf_FlipFlopPara";
};

View File

@@ -106,6 +106,7 @@ dayz_resetSelfActions = {
s_player_fillfuel = -1;
s_player_grabflare = -1;
s_player_callzombies = -1;
s_player_pzombiesattack = -1;
s_player_removeflare = -1;
s_player_painkiller = -1;
s_player_studybody = -1;