Skip to content

Instantly share code, notes, and snippets.

if (hasInterface && !isServer) then
{
systemchat("Player protection activated...");
player allowdamage false;
waitUntil {alive vehicle player};
waitUntil {typeOF player != "Exile_Unit_GhostPlayer"};
uiSleep 10;
_inSafeZone = [position player, 175] call ExileClient_util_world_isTraderZoneInRange;
if(!_inSafeZone) then { player allowdamage true; systemchat("Player protection deactivated..."); };
/*-----------------------------------------------------------------
TO SCOTT:
I am trying to make bandit loadout different then the soldiers, ive put an example file of how occupation switches the side of the unit and handles the loadout
(---THIS FILE----)
--------------------------------------------------------------------*/
private["_uniform","_vest","_headgear","_weapon","_weaponAttachments","_magazines","_pistol","_pistolAttachments","_assignedItems","_launcher","_backpack"];
_side = _this select 0;
/*
# Original #
Sarge AI System 1.5
Created for Arma 2: DayZ Mod
Author: Sarge
https://github.com/Swiss-Sarge
# Fork #
Sarge AI System 2.0+
Modded for Arma 3: Exile Mod
/*
# Original #
Sarge AI System 1.5
Created for Arma 2: DayZ Mod
Author: Sarge
https://github.com/Swiss-Sarge
# Fork #
Sarge AI System 2.0+
Modded for Arma 3: Exile Mod
version = 12;
class Mission
{
addons[] =
{
"exile_client",
"A3_Ui_F",
"SM_Zombz",
"SM_Zombz_Code"
/*
///////////////////////////////////////////////////////////////////////////////
// Class Names
///////////////////////////////////////////////////////////////////////////////
Remember that item class names, group names and loot table names cannot
contain spaces. Also be 100% sure to have the exact same name as in Arma,
as they are *case sensive*.
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////// m0nkey snow client /////////////////////////////////////
/*
_this:
0 - array - fog data -- ie. [.3,.5,200] -- use 0 to ignore (can omit)
1 - integer - overcast -- use "" to ignore (can omit)
2 - boolean - use ppEffects (default is false) -- (can omit)
3 - boolean - allow rain (default is false) -- (can omit)
4 - boolean - enforce wind dir/strength (default is true) -- (can omit)
5 - boolean - vary fog effect (default is true) -- (can omit)
_jbadLoaded = isClass(configFile >> "CfgVehicles" >> "Land_jbad_hangar_withdoor");
_chernoNames = ["chernarus","chernarus_summer","chernarus_winter"];
_napfNames = ["napf","napfwinter"];
if(((toLower WorldName) in _chernoNames) || ((toLower WorldName) in _napfNames))then
{
myBuildings = [
["Land_HouseV_1L2","Land_d_HouseV_1L2",0],
["Land_HouseV_1t","Land_d_HouseV_1t",0],
["Land_HouseV_2I","Land_d_HouseV_2I",0],
@echo off
color 0a
title EXILE DayZ SERVER MONITOR
:: SHUTDOWN HEADLESSCLIENT.
echo Shutdown HeadlessClient 3
taskkill /f /fi "status eq not responding" /im arma3serverHC3.exe
taskkill /f /im arma3serverHC3.exe
echo HeadlessClient 3 Has Shutdown!
timeout 1
/*
* passToHCs.sqf
*
* In the mission editor, name the Headless Clients "HC", "HC2", "HC3" without the quotes
*
* In the mission init.sqf, call passToHCs.sqf with:
* execVM "passToHCs.sqf";
*
It seems that the dedicated server and headless client processes never use more than 20-22% CPU each.
With a dedicated server and 3 headless clients, that's about 88% CPU with 10-12% left over. Far more efficient use of your processing power.