mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
168 lines
4.8 KiB
C++
168 lines
4.8 KiB
C++
class zZombie_new_Base : zZombie_Base {
|
|
scope = 2;
|
|
glassesEnabled = 0;
|
|
identityTypes[] = {"Zombie3"};
|
|
class TalkTopics {};
|
|
languages[] = {};
|
|
//Armor * hitpointArmor = Total Armor
|
|
armor = 5;
|
|
displayName = $STR_ZNAME_INFECTEDVIRAL;
|
|
fsmDanger = "";
|
|
fsmFormation = "";
|
|
zombieLoot = ZombieCivilianViral;
|
|
moves = "CfgMovesZombie";
|
|
isMan = false;
|
|
weapons[] = {};
|
|
magazines[] = {};
|
|
sensitivity = 2; // sensor sensitivity
|
|
sensitivityEar = 4;
|
|
damageScale = 450; //900
|
|
sepsisChance = 36;
|
|
BleedChance = 30;
|
|
forcedSpeed = 6;
|
|
|
|
class Eventhandlers
|
|
{
|
|
init = "_this call zombie_initialize;";
|
|
local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [(position _z), _z, true] execFSM '\z\AddOns\dayz_code\system\zombie_agent.fsm';";
|
|
};
|
|
|
|
class HitPoints {
|
|
class HitHead {
|
|
armor = 0.1;
|
|
material = -1;
|
|
name = "head_hit";
|
|
passThrough = true;
|
|
memoryPoint = "pilot";
|
|
};
|
|
|
|
class HitBody : HitHead {
|
|
armor = 10;
|
|
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 {
|
|
//armor = 10;
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
|
|
class z_newBase : zZombie_new_Base {
|
|
model = "\ca\characters2\civil\Villager\Villager";
|
|
hiddenSelections[] = {"Camo"};
|
|
hiddenSelectionsTextures[] = {"\ca\characters2\civil\villager\data\villager_co.paa"};
|
|
|
|
class Wounds {
|
|
tex[] = {};
|
|
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_Wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_Wounds.rvmat", "ca\characters2\Civil\Villager\Data\villager.RVmat", "ca\characters2\Civil\Villager\Data\villager_w1.RVmat", "ca\characters2\Civil\Villager\Data\villager_w2.RVmat"};
|
|
};
|
|
};
|
|
class z_new_villager2 : z_newBase {
|
|
hiddenSelectionsTextures[] = {"z\addons\dayz_communityassets\zeds\villager\villager_v2_co.paa"};
|
|
};
|
|
class z_new_villager3 : z_newBase {
|
|
hiddenSelectionsTextures[] = {"z\addons\dayz_communityassets\zeds\villager\villager_v3_co.paa"};
|
|
};
|
|
class z_new_villager4 : z_newBase {
|
|
hiddenSelectionsTextures[] = {"z\addons\dayz_communityassets\zeds\villager\villager_v4_co.paa"};
|
|
};
|
|
|
|
class z_new_worker_base : zZombie_new_Base {
|
|
model = "\Ca\characters_E\Overall\Overall";
|
|
hiddenSelections[] = {"Camo"};
|
|
hiddenSelectionsTextures[] = {"\Ca\characters_E\Overall\Data\Overall_4_co.paa"};
|
|
zombieLoot = ZombieWorkerViral;
|
|
|
|
class Wounds {
|
|
tex[] = {};
|
|
mat[] = {"Ca\characters_E\Overall\Data\Overall.rvmat", "Ca\characters_E\Overall\Data\W1_Overall.rvmat", "Ca\characters_E\Overall\Data\W2_Overall.rvmat"};
|
|
};
|
|
};
|
|
|
|
class z_new_worker2 : z_new_worker_base {
|
|
hiddenSelectionsTextures[] = {"z\addons\dayz_communityassets\zeds\overall\overall_2_co.paa"};
|
|
};
|
|
class z_new_worker3 : z_new_worker_base {
|
|
hiddenSelectionsTextures[] = {"z\addons\dayz_communityassets\zeds\overall\Overall_3_co.paa"};
|
|
};
|
|
class z_new_worker4 : z_new_worker_base {
|
|
hiddenSelectionsTextures[] = {"z\addons\dayz_communityassets\zeds\overall\Overall_4_co.paa"};
|
|
};
|
|
/*
|
|
class z_policeman;
|
|
class z_new_policeman : z_policeman {
|
|
hiddenSelectionsTextures[] = {"\z\addons\dayz_communityassets\zeds\villager\villager_co.paa"};
|
|
};
|
|
class z_new_policeman : z_policeman {
|
|
hiddenSelectionsTextures[] = {"\z\addons\dayz_communityassets\zeds\policeman\policeman_co.paa"};
|
|
|
|
class Eventhandlers {
|
|
init = "(_this select 0) setObjectTexture [0, '\z\addons\dayz_communityassets\zeds\policeman\policeman_co.paa'];";
|
|
};
|
|
};
|
|
*/ |