Re: Alternate "survival" missions , apart from dayz/Daizy
Posted by benevolentdevil on Aug 20, 2018; 1:38am
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/Alternate-survival-missions-apart-from-dayz-Daizy-tp19948p19949.html
You need to put a "init.sqf" file in your mission folder if running RSP as your "survival base" , and put this code in it :
-------------------------------
ASP_Food_Delay = 1;
publicVariable "ASP_Food_Delay";
ASP_Water_Delay = 1;
publicVariable "ASP_Water_Delay";
ASP_Animal_Delay = 30;
publicVariable "ASP_Animal_Delay";
ASP_Garbage_Delay = 60;
publicVariable "ASP_Garbage_Delay";
ASP_Debug = true;
publicVariable "ASP_Debug";
ASP_Enabled = Enable;
publicVariable "ASP_Enabled";
----------------------------------------------------
THIS is the above code with comments on what each one is/does on the varibles. Do not paste this into your init.sqf, the second one here is just an example ...
---------------------------------
ASP_Food_Delay = 1; / / minutes
publicVariable "ASP_Food_Delay";
ASP_Water_Delay = 1; / / minutes
publicVariable "ASP_Water_Delay";
ASP_Animal_Delay = 30; / / seconds
publicVariable "ASP_Animal_Delay";
ASP_Garbage_Delay = 60; / / seconds
publicVariable "ASP_Garbage_Delay";
ASP_Debug = true; / / On | Off Debug mode
publicVariable "ASP_Debug";
ASP_Enabled = Enable; / / Disable | Enable Survive pack
publicVariable "ASP_Enabled";
----------------------------------------------
You can probably play around with the numbers, which might change how fast or long it runs portions of the scripts ... but once I figured out where I could visibly see changes in game happening , I decided this was good enough for me, it works.
The originating documentation ( read me file in the addon ) is wrong ... will not work the way the original author wrote it for the above variables and init.sqf needs.
The rest of the documentation is correct as far as I can tell ...
Canteens though, can't be filled at natural water sources , only "clean water sources" , wells, cisterns, and blue water barrels ...
You need a knife to skin/gut/harvest meat from animals.
You need wood ( 2 logs) for fire, cut from the "woodpile" , sorry trees will not work currently. If someone can figure out what trees in maps are by class-name , we can change the RSP config to include other ways to get wood. The woodpiles are the triangular long piles of logs , ... they are in the "objects" category in the editor .
You need a hatchet/axe to harvest wood ...
You need empty tin cans to cook meat and store it ...
or of course find apples, yorkiebars, or MREs ...
There's bottled water also , it's not specifically reliant on canteens and filling them ...
There are a few scripts on armaholic that will help give somewhat of a randomized means of placing items, or you can load up your players with the player init field , with custom gear/items as normal.
Or putting such into vehicles, ammo boxes , ect ...
or alternatively if you chose ...
You could modify a shop/trader , or make one if you know how ... add in a currency and decide on cost of these "supplies" ...
making a shop from scratch is a but beyond my skill/knowledge though ... , I could edit one ... probably if already done, I just hadn't tried yet.