mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Integrate NS Bloodsuckers
Add and update files for bloodsucker spawning option.
This commit is contained in:
@@ -230,8 +230,6 @@ class CfgVehicles
|
||||
class epoch_car: Car
|
||||
{
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
side = 1;
|
||||
faction = "USMC";
|
||||
selectionBackLights = "brzdove svetlo";
|
||||
selectionBrakeLights = "zadni svetlo";
|
||||
crew = "";
|
||||
@@ -622,6 +620,7 @@ class CfgVehicles
|
||||
#include "Zeds\WildZeds.hpp" //Wild type zeds
|
||||
#include "Zeds\SwarmZeds.hpp" //Swarm type zeds
|
||||
#include "Zeds\PlayerZeds.hpp" //Player type zeds
|
||||
#include "Zeds\Bloodsuckers.hpp" //NS Bloodsuckers
|
||||
//Skins
|
||||
#include "Skins\Male.hpp"
|
||||
#include "Skins\Female.hpp"
|
||||
|
||||
134
SQF/dayz_code/Configs/CfgVehicles/Zeds/Bloodsuckers.hpp
Normal file
134
SQF/dayz_code/Configs/CfgVehicles/Zeds/Bloodsuckers.hpp
Normal file
@@ -0,0 +1,134 @@
|
||||
class z_bloodsucker : Zed_Base {
|
||||
scope = 2;
|
||||
glassesEnabled = 0;
|
||||
vehicleClass = "Zombie";
|
||||
displayName = $STR_ZNAME_BLOODSUCKER;
|
||||
model = "\nst\NS_mutants\blood\bloodsucker.p3d";
|
||||
hiddenSelections[] = {"invisible"};
|
||||
//hiddenSelectionsTextures[] = {};
|
||||
fsmDanger = "";
|
||||
fsmFormation = "";
|
||||
//zombieLoot = "bloodsucker";
|
||||
moves = "CfgMovesBloodsucker";
|
||||
isMan = false;
|
||||
weapons[] = {};
|
||||
magazines[] = {};
|
||||
sensitivity = 1; // sensor sensitivity
|
||||
sensitivityEar = 1;
|
||||
identityTypes[] = {};
|
||||
class TalkTopics {};
|
||||
languages[] = {};
|
||||
armor = 46;
|
||||
damageScale = 250;
|
||||
sepsisChance = 0;
|
||||
BleedChance = 10; // Maybe this should be higher
|
||||
forcedSpeed = 6; // Left here to prevent errors in player_zombieCheck
|
||||
|
||||
class Eventhandlers {
|
||||
init = "[(_this select 0)] execFSM ""\z\AddOns\dayz_code\system\mutant_agent.fsm""";
|
||||
local = "_z = _this select 0; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [_z,true] execFSM '\z\AddOns\dayz_code\system\mutant_agent.fsm';";
|
||||
//HandleDamage = "_this call local_zombieDamage;";
|
||||
//Killed = "[_this,'zombieKills'] call local_eventKill;";
|
||||
};
|
||||
|
||||
class UserActions
|
||||
{
|
||||
class Butcher
|
||||
{
|
||||
displayName = $STR_EPOCH_ACTIONS_GUTBLOOD;
|
||||
displayNameDefault = $STR_EPOCH_ACTIONS_GUTBLOOD;
|
||||
priority = 0;
|
||||
radius = 3;
|
||||
position = "";
|
||||
showWindow = 1;
|
||||
onlyForPlayer = 1;
|
||||
shortcut = "";
|
||||
condition = "(['Butcher',this] call userActionConditions)";
|
||||
statement = "this spawn player_butcher;";
|
||||
};
|
||||
};
|
||||
|
||||
class HitPoints {
|
||||
class HitHead {
|
||||
armor = 10;
|
||||
material = -1;
|
||||
name = "head_hit";
|
||||
passThrough = true;
|
||||
memoryPoint = "pilot";
|
||||
};
|
||||
|
||||
class HitBody : HitHead {
|
||||
armor = 20;
|
||||
name = "body";
|
||||
memoryPoint = "aimPoint";
|
||||
};
|
||||
|
||||
class HitSpine : HitHead {
|
||||
armor = 10;
|
||||
name = "Spine2";
|
||||
memoryPoint = "aimPoint";
|
||||
};
|
||||
|
||||
class HitHands : HitHead {
|
||||
armor = 10;
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -214,8 +214,6 @@ class CfgWeapons
|
||||
#include "Rifles\WA2000.hpp"
|
||||
#include "Rifles\BarrettMRAD.hpp"
|
||||
|
||||
#include "Rifles\RedRyder.hpp"
|
||||
|
||||
/* PISTOLS */
|
||||
|
||||
class M9;
|
||||
@@ -346,9 +344,10 @@ class CfgWeapons
|
||||
#include "Tools\Scissors.hpp"
|
||||
#include "Tools\ScrewExtractor.hpp"
|
||||
#include "Tools\Wrench.hpp"
|
||||
#include "Tools\MutantHeart.hpp"
|
||||
|
||||
#include "Item\ItemKeys.hpp"
|
||||
#include "Item\Documents.hpp"
|
||||
|
||||
#include "VehicleWeapons.hpp"
|
||||
#include "VehicleWeapons.hpp"
|
||||
};
|
||||
7
SQF/dayz_code/Configs/CfgWeapons/Tools/MutantHeart.hpp
Normal file
7
SQF/dayz_code/Configs/CfgWeapons/Tools/MutantHeart.hpp
Normal file
@@ -0,0 +1,7 @@
|
||||
class ItemMutantHeart: ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_MUTANT_HEART;
|
||||
picture = "\nst\ns_mutants\blood\heart_icon_ca.paa";
|
||||
descriptionShort = $STR_MUTANT_HEART_DESC;
|
||||
};
|
||||
@@ -931,4 +931,24 @@ class RscTitles
|
||||
};
|
||||
};
|
||||
};
|
||||
class mutant_attack
|
||||
{
|
||||
idd=-1;
|
||||
movingEnable=0;
|
||||
duration=1;
|
||||
fadein=0;
|
||||
name="Skrabanec";
|
||||
controls[]=
|
||||
{
|
||||
"skrabanec"
|
||||
};
|
||||
class skrabanec: RscPicture
|
||||
{
|
||||
x=0;
|
||||
y=0;
|
||||
w=1;
|
||||
h=1;
|
||||
text="\nst\textures\skrabanec.paa";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user