Jump to content
  • 0

Starting loadout


Poptart4050

Question

This is what I want.

 

 

 

 

DefaultMagazines = ["ItemBandage","ItemMorphine","30Rnd_556x45_StanagSD","15Rnd_9x19_M9SD Ammo Pistol","ItemPainkiller"];
DefaultWeapons = ["M9SD","ItemToolbox","ItemGPS"];
DefaultBackpack = ["DZ_British_ACU Backpack"];
DefaultBackpackWeapon = ["M4A1_AIM_SD_camo Rifle"];

 

 

 

 But the server loads in with this so i think something is wrong with the code.

Server loads= with 30sd,bandage, morphine,pain killer,m9sd,toolbox,gps

 

Please forgive I am a newb at this.. :P

Link to comment
Share on other sites

Recommended Posts

  • 0
DefaultBackpack = ["DZ_British_ACU Backpack"];
DefaultBackpackWeapon = ["M4A1_AIM_SD_camo Rifle"];

should be 

DefaultBackpack = ["DZ_British_ACU"];
DefaultBackpackWeapon = ["M4A1_AIM_SD_camo"];

Have not used any Defualt backpacks things, but i think that are your problem :)

Link to comment
Share on other sites

  • 0

Oh, okey. I don't blame you, everything isn't easy at the beginning.

 

Dont understand why he has Pistol etc, behind evrything. He has it on top?

 

Weapons:
Pistols
MakarovSD Pistol
Colt1911 Pistol
glock17_EP1 Pistol
M9 Pistol
M9SD Pistol
Makarov Pistol
revolver_EP1 Pistol
revolver_gold_EP1 Pistol
Link to comment
Share on other sites

  • 0

This is what I have now still wrong. I am sorry I dont know why this is causing me so much grief looked at it for a hour still no joy..

 

 

DefaultMagazines = ["ItemBandage","ItemMorphine","30Rnd_556x45_StanagSD","ItemBloodbag","ItemPainkiller"];
DefaultWeapons = ["M9SD","ItemToolbox","ItemGPS","15Rnd_9x19_M9SD"];
DefaultBackpack = ["DZ_British_ACU"];
DefaultBackpackWeapon = ["M4A1_AIM_SD_camo"];

 

no rifle no backpack or ammo for pistol im lost lol

Link to comment
Share on other sites

  • 0

Here is whole thing

 

/*
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];

//REALLY IMPORTANT VALUES
dayZ_instance = 11;     //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;

// Enabling this option will disable the instant map features involving player healing and loadout changes
dayz_REsec = 0; // DayZ RE Security / 1 = enabled // 0 = disabled

//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio true;
// May prevent "how are you civillian?" messages from NPC
enableSentences true;

// DayZ Epoch config
spawnShoremode = 0; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500

DZE_maintainRange = 150;
DZE_requireplot = 1;

DZE_R3F_WEIGHT = false;

MaxVehicleLimit = 125; // Default = 50
MaxDynamicDebris = 50; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 5; // Default = 30
dayz_maxZeds = 100;
DZE_MissionLootTable = true;
dayz_paraSpawn = false;
DZE_MissionLootTable = true;

DZE_StaticConstructionCount = 1;

dayz_minpos = -1;
dayz_maxpos = 16000;

dayz_sellDistance_vehicle = 10;
dayz_sellDistance_boat = 30;
dayz_sellDistance_air = 40;

dayz_spawnselection = 0; // DayZ Spawnselection / 1 = enabled // 0 = disabled, No current spawn limits.
dayz_paraSpawn = false; //Halo

dayz_maxAnimals = 5; // Default: 8
dayz_tameDogs = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100
DynamicVehicleDamageHigh = 85; // Default: 100
DynamicVehicleFuelLow = 0;
DynamicVehicleFuelHigh = 35;

DefaultMagazines = ["ItemBandage","ItemMorphine","30Rnd_556x45_StanagSD","ItemBloodbag","ItemPainkiller"];
DefaultWeapons = ["M9SD","ItemToolbox","ItemGPS","15Rnd_9x19_M9SD"];
DefaultBackpack = ["DZ_British_ACU"];
DefaultBackpackWeapon = ["M4A1_AIM_SD_camo"];

DZE_vehicleAmmo = 1; //Default = 0, deletes ammo from vehicles with machine guns every restart if set to 0.
DZE_BackpackGuard = false; //Default = True, deletes backpack contents if logging out or losing connection beside another player if set to true.
DZE_BuildingLimit = 150; //Default = 150, decides how many objects can be built on the server before allowing any others to be built. Change value for more buildings.
DZE_TRADER_SPAWNMODE = false; //Vehicles bought with traders will parachute in instead of just spawning on the ground.
DZE_BuildOnRoads = false; // Default: False

EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"],["any","any","any","any",55,"Construction"]];
dayz_fullMoonNights = true;

//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
call compile preprocessFileLineNumbers "custom\JAEM\variables.sqf";
call compile preprocessFileLineNumbers "custom\bike\variables.sqf";     //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";    //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
call compile preprocessFileLineNumbers "custom\compiles.sqf";
call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf";    //Compile regular functions
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf";    //Compile trader configs
progressLoadingScreen 1.0;

"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";

if (isServer) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
//Compile vehicle configs

// Add trader citys
_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
_serverMonitor =  [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};

if (!isDedicated) then {
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;_null = [] execVM "playerspawn.sqf";}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

//_nul = [] execVM "custom\Intro\loginCamera.sqf";
[] execVM "custom\Intro\servercredits.sqf";

    //_logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";
    _nil = [] execVM "custom\JAEM\EvacChopper_init.sqf";
_nul= []execVM "bases\basebreach.sqf";
_null=[] execVM "playerspawn.sqf";
//anti Hack
//[] execVM "\z\addons\dayz_code\system\antihack.sqf";
    _Armored_SUV_PMC_DZE_turret = [] execVM "custom\VehicleActions\suvpmc_init.sqf";
//Lights
//[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
["elevator"] execVM "elevator\elevator_init.sqf";

waitUntil {!isNil ("PVDZE_plr_LoginRecord")};
if (dayzPlayerLogin2 select 2) then {
  [] execVM "custom\spawn_select\Spawn.sqf";
}; //After this comes the !isDedicated condition ending bracket!

};
//if (dayz_REsec == 1) then {
// #include "\z\addons\dayz_code\system\REsec.sqf"
//};

//Start Dynamic Weather
//execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
[] execVM "addons\R3F_ARTY_AND_LOG\init.sqf";
_logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";
execVM "service_point\service_point.sqf";
execVM "bases\Skaly Bridge.sqf";
_nill = [] execVM "custom\safezone\init.sqf";
//execVM "safezone.sqf";
#include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
//Map Additions
[] ExecVM "bases\Balota.sqf";
[] ExecVM "bases\Cherno.sqf";
[] ExecVM "bases\Electro.sqf";
[] ExecVM "bases\Nikon.sqf";
[] ExecVM "bases\NWAF.sqf";
[] ExecVM "bases\ROG.sqf";
[] ExecVM "Loadouts.sqf";
//4/7/2014
[] ExecVM "bases\tikhaya_city.sqf";
[] ExecVM "bases\NovyLugBase.sqf";
[] ExecVM "bases\lopatino.sqf";
[] ExecVM "bases\Zelenogorsk.sqf";

// Custom Bases start --------------------------------------------------------------------------------------------
if (!isDedicated) then {
   
//Customized functions
//Check if a Player is online by its PlayerUID
fnc_isPlayerOnline =
{
  private ["_uid", "_isOnline"];
  _uid = _this;
  _isOnline = false;
  {
   if (isPlayer _x and {_uid == getPlayerUID _x}) exitWith {
    diag_log format ["[Dome] Found owner with uid = %1,", getPlayerUID _x];
    _isOnline = true;
   };
  } foreach playableUnits;
  _isOnline
};
 
};
if (isServer) then {
"dome_WriteLog" addPublicVariableEventHandler {
        _data = _this select 1;
        diag_log format ["[DOME] Player %1 accessed %2 base at %3",_data select 0, _data select 1, time];
    };
};

Link to comment
Share on other sites

  • 0

This dont work either still no gun or back pack

DefaultMagazines = ["ItemBandage","ItemBandage","15Rnd_9x19_M9SD","ItemSodaMzly","30Rnd_556x45","FoodCanHerpy","ItemPainkiller","ItemMorphine"];
DefaultWeapons = ["ItemToolbox","ItemCompass","M9SD","ItemKnife","ItemMatchbox","ItemGPS","NVGoggles"];
DefaultBackpack = "US_Assault_Pack_EP1";
DefaultBackpackWeapon = "M16A4_ACG Rifle";

Link to comment
Share on other sites

  • 0

I have only this in my init
 

// Loadout config
DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","17Rnd_9x19_glock17","17Rnd_9x19_glock17"];
DefaultWeapons = ["ItemFlashlight","ItemMap","ItemHatchet_DZE","ItemToolbox","glock17_EP1"];

so you can skip Defaultbackpack and DefaultbackpackWeapon. And put your M16/m4 in DefaultWeapons like this.
 

DefaultMagazines = ["ItemBandage","ItemBandage","15Rnd_9x19_M9SD","ItemSodaMzly","30Rnd_556x45","FoodCanHerpy","ItemPainkiller","ItemMorphine"];
DefaultWeapons = ["ItemToolbox","ItemCompass","M9SD","ItemKnife","ItemMatchbox","ItemGPS","NVGoggles","M4A1_AIM_SD_camo"];
Link to comment
Share on other sites

  • 0

Ok have this now and get everything except ammo for the gun. 

 

DefaultMagazines = ["ItemBandage","ItemBandage","15Rnd_9x19_M9SD","ItemSodaMzly","30Rnd_556x45","FoodCanHerpy","ItemPainkiller","ItemMorphine"];
DefaultWeapons = ["ItemToolbox","ItemCompass","M9SD","ItemKnife","ItemMatchbox","ItemGPS","NVGoggles","M4A1_AIM_SD_camo"];

Link to comment
Share on other sites

  • 0

Have no idea how to change that, this is the right

DefaultBackpack = "YourBackPack";
DefaultBackpackWeapon = "";

it is without [ and ], i saw that people have that in their init.

 

 

 

 

and almost every backpack except one,

DZ_Patrol_Pack_EP1
CZ_VestPouch_EP1 
DZ_ALICE_Pack_EP1
DZ_Assault_Pack_EP1
DZ_Backpack_EP1 
DZ_British_ACU
DZ_CivilBackpack_EP1 	
DZ_Czech_Vest_Puch 
DZ_TK_Assault_Pack_EP1 
DZ_TerminalPack_EP1
DZ_GunBag_EP1
	 
Link to comment
Share on other sites

  • 0

I have this does it look right ?

 

DefaultMagazines = ["ItemBandage","ItemBandage","15Rnd_9x19_M9SD","ItemSodaMzly","30Rnd_556x45_StanagSD","FoodCanHerpy","ItemPainkiller","ItemMorphine"];
DefaultWeapons = ["ItemToolbox","ItemCompass","M9SD","ItemKnife","ItemMatchbox","ItemGPS","NVGoggles","M4A1_AIM_SD_camo"];
DefaultBackpack = "DZ_British_ACU";

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...