mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
110 lines
2.2 KiB
C++
110 lines
2.2 KiB
C++
class Citizen1;
|
|
class zZombie_Base : Citizen1 {
|
|
scope = public;
|
|
glassesEnabled = 0;
|
|
vehicleClass = "Zombie";
|
|
displayName = "Zombie";
|
|
fsmDanger = "";
|
|
fsmFormation = "";
|
|
zombieLoot = "civilian";
|
|
moves = "CfgMovesZombie";
|
|
isMan = false;
|
|
weapons[] = {};
|
|
magazines[] = {};
|
|
sensitivity = 4; // sensor sensitivity
|
|
sensitivityEar = 2;
|
|
faceType = "ZFaces";
|
|
identityTypes[] = {"zombie1", "zombie2"};
|
|
class TalkTopics {};
|
|
languages[] = {};
|
|
|
|
class Eventhandlers {
|
|
init = "_this call zombie_initialize;";
|
|
local = "if(_this select 1) then {[(position (_this select 0)),(_this select 0),true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm'};";
|
|
};
|
|
|
|
class HitPoints {
|
|
class HitHead {
|
|
armor = 0.3;
|
|
material = -1;
|
|
name = "head_hit";
|
|
passThrough = true;
|
|
memoryPoint = "pilot";
|
|
};
|
|
|
|
class HitBody : HitHead {
|
|
armor = 2;
|
|
name = "body";
|
|
memoryPoint = "aimPoint";
|
|
};
|
|
|
|
class HitSpine : HitHead {
|
|
armor = 2;
|
|
name = "Spine2";
|
|
memoryPoint = "aimPoint";
|
|
};
|
|
|
|
class HitHands : HitHead {
|
|
armor = 0.5;
|
|
material = -1;
|
|
name = "hands";
|
|
passThrough = true;
|
|
};
|
|
|
|
class HitLArm : HitHands {
|
|
name = "LeftArm";
|
|
memoryPoint = "lelbow";
|
|
};
|
|
|
|
class HitRArm : HitHands {
|
|
name = "RightArm";
|
|
memoryPoint = "relbow";
|
|
};
|
|
|
|
class HitLForeArm : HitHands {
|
|
name = "LeftForeArm";
|
|
memoryPoint = "lwrist";
|
|
};
|
|
|
|
class HitRForeArm : HitHands {
|
|
name = "RightForeArm";
|
|
memoryPoint = "rwrist";
|
|
};
|
|
|
|
class HitLHand : HitHands {
|
|
name = "LeftHand";
|
|
memoryPoint = "LeftHandMiddle1";
|
|
};
|
|
|
|
class HitRHand : HitHands {
|
|
name = "RightHand";
|
|
memoryPoint = "RightHandMiddle1";
|
|
};
|
|
|
|
class HitLegs : HitHands {
|
|
name = "legs";
|
|
memoryPoint = "pelvis";
|
|
};
|
|
|
|
class HitLLeg : HitHands {
|
|
name = "LeftLeg";
|
|
memoryPoint = "lknee";
|
|
};
|
|
|
|
class HitLLegUp : HitHands {
|
|
name = "LeftUpLeg";
|
|
memoryPoint = "lfemur";
|
|
};
|
|
|
|
class HitRLeg : HitHands {
|
|
name = "RightLeg";
|
|
memoryPoint = "rknee";
|
|
};
|
|
|
|
class HitRLegUp : HitHands {
|
|
name = "RightUpLeg";
|
|
memoryPoint = "rfemur";
|
|
};
|
|
};
|
|
};
|