Stuff and Junk
Well-Known Member
[Release] DayZ Dynamic Dogs
author: Dango
credits: Pixel
I do not take credit for the creation of this feature. I only take credit for the modifications required to accomplish my goals. To my knowledge development was dropped for this feature long ago and that is why I am releasing this to the community.author: Dango
credits: Pixel
Description
This feature spawns a dog companion when a player comes within so many yards of any dog house on any map. This is based on a trigger that can only be activated by players to prevent wild dogs from running around aimlessly causing issues for the server or other players. This has only been deployed on a DayZ Mod server but is scripted to not be mod specific.
Requirements
This script requires the use of a notepad++ or similar program, a PBO manager or similar program and access to all outlined PBO files below.
Easy = Blue <10
Installation
Installation
- Download the package: DayZ Dynamic Dogs
- Extract the package into the mission PBO root.
- In the init.sqf after game settings add this:
Code:
dogOwner = [];
- In the init.sqf file inside of the (isServer) block after server monitor add this:
Code:
[] execVM "addin\dogInit.sqf";
- At the end of the init.sqf file inside the (!isDedicated) block after all the code add this:
Code:
_nul = [] execVM "addin\plrInit.sqf";
- Open your sched_corpses.sqf in the scheduler folder of the server PBO and find this section:
Code:_delQtyAnimal = 0; { if (local _x && !(typeOf _x)) then { _x call sched_co_deleteVehicle; _delQtyAnimal = _delQtyAnimal + 1; }; } forEach entities "CAAnimalBase";
Code:_delQtyAnimal = 0; { if (local _x && !((typeOf _x) in ["Pastor","Fin"])) then { _x call sched_co_deleteVehicle; _delQtyAnimal = _delQtyAnimal + 1; }; } forEach entities "CAAnimalBase";
- Open the init.sqf mission file and add this variable to either your custom variables or after the game settings:
Code:
heliLift = true;
--------------------------------------------------
Version 1.5
- Debug information added to trigger creation.
- Correct dog.init file was restored.
- Tested functional on a Headless Client.
- Player dog actions have been improved.
- Added variable for Mi17 towing.
- The rpt log may report bugs about dog actions.
Last edited: