Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#### To make your added doghouse work (dogspawn): ####
needs in doghouse item in the .sqm initialisation:
init="_nul = [this]execVM ""addin\dogInit.sqf"";";
in the description.ext below class RscPicture {}; add {sounds and graphics):
#include "addin\fx\descrExt.h"
in the init.sqf in section "isServer" (then server knows who has dog):
dogOwner = [];
in the init.sqf in the section "!isDedicated" (dog commands for the player)
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "addin\plrInit.sqf";}];
//dayZ original _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_nul = [] execVM "addin\plrInit.sqf";
copy folder "addin" in your mission folder (all the scripts)
i believe in this section, he wants you to open the mission you saved the with the spwned dog houses..
after you save your mission find it in,, documents, arma2/misions/whatever you called it..
get the sqm, open it notepad ++ find the vehicle of the dog house, and add the Init line to it.
_nul = [] execVM "dog\DogChernarus.sqf";
//Dog
//Made by MarioSenskaForYou 07/07/2013
//If any changes are made give credit where it is due. Thank you.
if (isServer) then {
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [5956.2383, 10293.784, -3.0517578e-005], [], 100, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -147.97668;
_this setVehicleVarName "Grishino";
Grishino = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [5956.2383, 10293.784, -3.0517578e-005];
};
_vehicle_1 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [9414.5225, 8838.2305], [], 100, "CAN_COLLIDE"];
_vehicle_1 = _this;
_this setDir -166.40894;
_this setVehicleVarName "Gorka";
Gorka = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [9414.5225, 8838.2305];
};
_vehicle_2 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [11028.635, 12511.251], [], 100, "CAN_COLLIDE"];
_vehicle_2 = _this;
_this setDir -242.86041;
_this setVehicleVarName "Krasnostnav";
Krasnostnav = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [11028.635, 12511.251];
};
_vehicle_3 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [10405.2, 9846.252], [], 100, "CAN_COLLIDE"];
_vehicle_3 = _this;
_this setDir -227.82323;
_this setVehicleVarName "Dubrovka";
Dubrovka = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [10405.2, 9846.252];
};
_vehicle_4 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [12004.362, 9106.6934, 0.10200882], [], 100, "CAN_COLLIDE"];
_vehicle_4 = _this;
_this setDir -139.56236;
_this setVehicleVarName "Berezino";
Berezino = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [12004.362, 9106.6934, 0.10200882];
};
_vehicle_5 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [13436.824, 6278.5811, -2.3841858e-006], [], 100, "CAN_COLLIDE"];
_vehicle_5 = _this;
_this setDir -174.63655;
_this setVehicleVarName "Solnichniy";
Solnichniy = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [13436.824, 6278.5811, -2.3841858e-006];
};
_vehicle_6 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [10447.449, 2250.4758], [], 100, "CAN_COLLIDE"];
_vehicle_6 = _this;
_this setDir -214.91539;
_this setVehicleVarName "Elekto";
Elekto = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [10447.449, 2250.4758];
};
_vehicle_7 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [6974.9458, 2519.0042], [], 100, "CAN_COLLIDE"];
_vehicle_7 = _this;
_this setDir -306.72293;
_this setVehicleVarName "Cherno";
Cherno = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [6974.9458, 2519.0042];
};
_vehicle_8 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [3612.0083, 2479.3069, 5.7220459e-006], [], 100, "CAN_COLLIDE"];
_vehicle_8 = _this;
_this setDir -289.10162;
_this setVehicleVarName "Komarova";
Komarova = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [3612.0083, 2479.3069, 5.7220459e-006];
};
_vehicle_9 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [1895.7603, 2251.7837, -5.7220459e-006], [], 100, "CAN_COLLIDE"];
_vehicle_9 = _this;
_this setDir -285.11035;
_this setVehicleVarName "Kamenka";
Kamenka = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [1895.7603, 2251.7837, -5.7220459e-006];
};
_vehicle_10 = objNull;
if (true) then
{
_this = createVehicle ["Land_psi_bouda", [4514.0781, 2462.7292, -5.7220459e-006], [], 100, "CAN_COLLIDE"];
_vehicle_10 = _this;
_this setDir -164.13536;
_this setVehicleVarName "Balota";
Balota = _this;
_this setVehicleInit "_nul = [this]execVM ""dog\dogInit.sqf""; _dogSound = createSoundSource [""Sound_LittleDog"", getPosATL this, [], 0];";
_this setPos [4514.0781, 2462.7292, -5.7220459e-006];
};
};