dayz mission addin (serverside scripts)

Im looking to install dogs only on my Taviana 2.0 server. I have a mass abundance of scripts already. Is there a tut anywhere showing how to install dogs only, what needs to be removed for the anomalies, etc? Being it is a Tavi server the vehicle inputs for the dogs will be different as well. Are those worldspace coords or coords from the map editor? Any help would be great especially if someone already has dogs on a Tavi server and wouldnt mind sharing their info. THANKS!!!
 
#### 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 honestly can't understand what your saying.

What does "needs in doghouse item in the .sqm initialisation" mean?

Basically, I just want the dogs...I need to know what to add and where to add it...what do I delete out of your zip. Just looking for a basic installation instruction.
 
Yeah I am having trouble adding the dogs only on 1771, any kind of guide would be greatly appreciated.
 
i believe in this section, he wants you to open the mission you saved the with the spwned dog houses..

needs in doghouse item in the .sqm initialisation:
init="_nul = [this]execVM ""addin\dogInit.sqf"";";

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.

needs in doghouse item in the .sqm initialisation:
init="_nul = [this]execVM ""addin\dogInit.sqf"";";
im not 100percent sure, but if thats where your gettin stuck i believe its there.
 
i believe in this section, he wants you to open the mission you saved the with the spwned dog houses..

Page 1...
Only want the dog and know what .sqf is.
here

Click 'here' and the 1st line reads: "needs in doghouse item in the .sqm initialisation:"

Doesn't say anything about opening a mission I saved with spawned dog houses. The ^ is literally line 1. Needs in doghouse item in the .sqm. The words are english, but the logic isn't.

If someone can actually break down the installation for dogs, in basic logical terms, I'm grateful.

Otherwise, I can keep it moving...not a big deal.
 
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.
 
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.


After I save my mission? I haven't added anything yet.

So what I'm assuming here is, open HIS mission.sqm....find the bits about the dogs and put that in my mission.sqm?

What do I put in my init? His instructions say "use my files for reference." I go into his init and see a mess of stuff on the bottom. All that I see that looks dog related is this:

if (isServer) then {
//===================piXel 15-02-2013===========
dogOwner = [];

Do I really just copy/paste that to the bottom of my init? I am doubtful.

Also, inside the addins folder are 15 files...no instructions of what belongs to dogs only.
Inside the fx folder there and additional 15 files...with no instructions of what belongs to dogs only.

Am I to guess? That hasn't worked well for me in the past.
 
My English is very bad so I'll write it German!

Deutsch
Ich habe das Dog Script auf Dayz Epoch 1.0.1.4 zum laufen bekommen. Ich wollte nicht die mission.sqm verändern. Ich habe dann die Hunde Häuser mit den 3D-Editor erstellt. Das geht auch sehr gut. Die DogChernarus.sqf wird dann über die init.sqf geladen.

Englisch
I got to run scripts on 1.0.1.4 the Dog Dayz Epoch. I did not change the mission.sqm. I then created the dog houses with the 3D editor. This is also very good. The DogChernarus.sqf is then loaded on the init.sqf.

Code:
_nul = [] execVM "dog\DogChernarus.sqf";

DogChernarus.sqf (ausschnitt)
Code:
//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];
};
 
};

German
Wenn ich aus dem Spiel disconnecte und dann wieder connecte ist der Hund weg. Ist das so gewollt?

Englisch
If I disconnecte from the game and then re-connecte the dog is gone. Is that intentional?
 
Back
Top