Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@worldwidesorrow
Created June 12, 2017 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save worldwidesorrow/a67fe04f56b51371ff084ab38d21727c to your computer and use it in GitHub Desktop.
Save worldwidesorrow/a67fe04f56b51371ff084ab38d21727c to your computer and use it in GitHub Desktop.
/////////////////////////////////////////Server Install/////////////////////////////////////////////////////////////////////////////
//Add this to the top of addons in mission.sqm
"ns_dayz",
"ns_modules",
/////////////////////////////////////////Trader Editing & Warmclothes Fix////////////////////////////////////////////////////////////
//Winter clothing classnames
Skin_Sniper1W_DZN //Winter Ghillie
Skin_CamoWinterW_DZN //White Winter Warm Clothing
Skin_CamoWinter_DZN //Tan Winter Warm Clothing
//APSI classname
APSI //equip to protect against EVR storms
//Battleye - Add this to the end of line 2 in createVehicle.txt
!="CamoWinter_DZN" !="CamoWinterW_DZN" !="Sniper1W_DZN"
/////////////////////////////////////////Cold Weather///////////////////////////////////////////////////////////////////////////////
//FogBreath Script on Github
https://gist.github.com/worldwidesorrow/e4d7b6c6d55b29face43dc88ec08a9cf
/////////////////////////////////////////Object A2///////////////////////////////////////////////////////////////////////////////////
//Object A2 Railgun Spawn Script on Github
https://gist.github.com/worldwidesorrow/898411ea95ef8b89d568b33cfaa9ff67
//init.sqf
call compile preprocessFileLineNumbers "\nst\ns_modules\aii\spawn_aii.sqf"; //spawn aii objects
//server_monitor
execVM "\z\addons\dayz_server\mapaddons\aii_objects.sqf";
//variables.sqf
ns_aii_l_status = 1; //AII module light system: 0 = off, 1 = on.
ns_aii_l_intensity = 0.05; //Adjust the AII lighting intensity
//Battleye - Add this to the end of line 24 of scripts.txt or the one that starts with 5 enableEnvironment
!="layer distance [4977.15,6624.89,0.74293]) < 41) then {\nenableEnvironment false;\n\nplaySound \"ns_fx_aii_underground\";\nsleep 4;\n} e"
/////////////////////////////////////////EVR Storms////////////////////////////////////////////////////////////////////////////////////
//init.sqf - add this below this line progressLoadingScreen 0.25;
call compile preprocessFileLineNumbers "\nst\ns_modules\blowout\blowout_init.sqf";
//variables.sqf
ns_blowout = true;
ns_blowout_dayz = true;
ns_blow_delaymod = .70;
//Battleye - Add this to the end of line 6 of scripts.txt or the one that starts with 5 allUnits
!=" \n};\n}; \nbl_local_anims = \n{\n_count_units = count AllUnits;\nfor [{_c = 0}, {_c <= _count_units}, {_c = _c + 1}] do \n{\n"
//Battleye - Add this to the end of line 54 of scripts.txt or the one that starts with 5 worldTo
!="ouseBase\"];\n\n_type = typeOf _building;\n\n_relPos = _building worldToModel (getPosATL _unit1);\n_boundingBox = boundingBox _buildin"
"/////////////////////////////////////////Bloodsuckers///////////////////////////////////////////////////////////////////////////////////
//This is to be added to building_spawnZombies.sqf
//Add Bloodsuckers
if ((_type == "Land_Hlidac_budka" || _type == "Land_Mil_Guardhouse") && dzn_ns_bloodsucker && ((random 1) < dzn_ns_bloodsucker_den)) then {
"ns_bloodsucker" createUnit [[(_originalPos select 0) + (random 60), (_originalPos select 1) - (random 60), 0], group sefik, "", 1, "CORPORAL"];
diag_log "[Bloodsuckers] A bloodsucker has spawned";
};
//Compiles.sqf
building_spawnZombies = compile preprocessFileLineNumbers "dayz_code\compile\building_spawnZombies.sqf";
//Resec.hpp
#define WHITELISTED_EXECVM [ ""ca\Modules\Functions\init.sqf"", ""ca\modules\Functions\init.sqf"", ""\CorePatch\CorePatch_Modules\Functions\init.sqf"", ""\nst\ns_modules\mutants\scripts\blood_dayz_att.sqf"", ""\nst\ns_mutants\blood\act_krovosos_3.paa""]" ]
"//variables.sqf
//Bloodsuckers
dzn_ns_bloodsucker = true; //Toggle bloodsuckers on and off.
dzn_ns_bloodsucker_den = .20; //Variable sets the spawn chance of bloodsuckers. Choose a number between 0 and 1.
//Add this to mission.sqm don't forget to change the total number of items.
class Item2
{
side="GUER";
class Vehicles
{
items=1;
class Item0
{
position[]={4611.022,7,11311.434};
azimut=0;
id=165;
side="GUER";
vehicle="ns_bloodsucker";
leader=1;
skill=0.60000002;
text="sefik";
};
};
};
//Battleye - Add this to the end of line 34 of scripts.txt or the one that starts with 5 setDamage
!"_mut_target setDamage ((damage _mut_target) + 0.15);"
//Battleye - Add this to the end of line 15 of scripts.txt or the one that starts with 5 createUnit
!"\"ns_bloodsucker\" createUnit"
//Battleye - Add this to the end of line 2 in remoteexec.txt
!=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment