jOoPs Posted January 20, 2014 Report Share Posted January 20, 2014 You only need a custom-compiles. How this is done can be read in forum more then one time, so search for it und use your brain! All necessary files are included in the zip-archive first a list of modified files (which are not part of rar-archive!) - description.ext- init.sqf- dayz_code/init/compiles.sqf- dayz_code/init/publicEH.sqf (dayz_server.pbo)- init/server_functions.sqf- system/server_monitor.sqf (Battleye)- Battleye/publicvariable.txt added folders and files (content of rar-archive) - dayz_code/compile/ - camp_spawnZombies.sqf - object_infectedcamps.sqf - dayz_code/config/CfgObjectCompositions/ - camp_ins1.sqf - camp_ins2.sqf - camp_ru1.sqf - camp_ru2.sqf - camp_us1.sqf - camp_us2.sqf - camp_us3.sqf - CfgObjectCompositions.hpp (dayz_server.pbo)- dayz_server/compile - fn_bases.sqf - object_mapper.sqf ------------------ download the attached zip-archive and extract the files from client-folder into your missionfolder. Add the files from server-folder to your dayz_server.pbo. If you use other folderstructures/filenames, change the given paths. ------------------ in description.ext add at top ...#include "dayz_code\config\CfgObjectCompositions\CfgObjectCompositions.hpp" in init.sqf add to listed variablesdayz_spawnInfectedSite_clutterCutter = 2; // Infected Base Settings / 0 = loot hidden in grass // 1 = loot lifted // 2 = cluttercutter // 3 = debug in dayz_code/init/compiles.sqf search for //System (line 122) above insert ...infectedcamps = compile preprocessFileLineNumbers "dayz_code\compile\object_infectedcamps.sqf"; camp_spawnZombies = compile preprocessFileLineNumbers "dayz_code\compile\camp_spawnZombies.sqf"; in dayz_code/init/publicEH.sqf add at top ..."dayzInfectedCamps" addPublicVariableEventHandler {(_this select 1) call infectedcamps}; in your server.pbo in init/server_functions.sqf add ...spawnComposition = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\object_mapper.sqf"; // Include BIS compositions fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf"; // Infected Camps in your server.pbo in system/server_monitor.sqf add after allowConnection = true; ...//Spawn camps dayz_Campspawner = [] spawn { // quantity, marker, radius, min distance between 2 camps Server_InfectedCamps = [3, "center", dayz_MapArea, 2500] call fn_bases; dayzInfectedCamps = Server_InfectedCamps; publicVariable "dayzInfectedCamps"; }; in your Battleye-files add in publicvariable.txt at bottom ...5 "dayzInfectedCamps" thats all note: take a look at dayz_Campspawner to customize settings download here Dino and psychosis 2 Link to comment Share on other sites More sharing options...
Sandbird Posted January 20, 2014 Report Share Posted January 20, 2014 Does it randomly spawn these camps ? Are zombies always spawned or dynamically loaded. just curious, cause of lag issues. Nice mod though :) Link to comment Share on other sites More sharing options...
jOoPs Posted January 20, 2014 Author Report Share Posted January 20, 2014 camps will be spawned randomly at server start. zombies are added and always spawned, loot and wrecks too... all the things. this could be a good point to make your own camps and maybe add an trigger for your favourite AI-system :) Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted January 21, 2014 Report Share Posted January 21, 2014 Aren't zombie camps something that was removed by the devs after they tried it out due to some problems? Link to comment Share on other sites More sharing options...
jOoPs Posted January 21, 2014 Author Report Share Posted January 21, 2014 Not sure which devs you mean, but InfectedCamps came first time with v1.7 of DayZ Mod and it is still used in DayZ 1.8. So it should work without any problems. It uses the DynamicObject-Compositions (DynO) which is part of Arma's modules.pbo. As i wrote in previous post... its a good way to add object compositions dynamic/randomly to the map. I use it on my servers to spawn bandit-camps with ai. And the people like it. So build your own camps with editor and add them (take a look into camp-sqf's how its done)... be creative guys :) Link to comment Share on other sites More sharing options...
thekaboobie Posted January 21, 2014 Report Share Posted January 21, 2014 in dayz_code/init/publicEH.sqf add at top ..."dayzInfectedCamps" addPublicVariableEventHandler {(_this select 1) call infectedcamps}; This part here, I don't know what to really do with this. I don't have this file in my mission file and you did not include it nor any instruction on how to get it or where it might be found. If you or someone could provide assistance as to how to handle this I would be grateful. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted January 21, 2014 Report Share Posted January 21, 2014 Not sure which devs you mean, but InfectedCamps came first time with v1.7 of DayZ Mod and it is still used in DayZ 1.8. So it should work without any problems. It uses the DynamicObject-Compositions (DynO) which is part of Arma's modules.pbo. As i wrote in previous post... its a good way to add object compositions dynamic/randomly to the map. I use it on my servers to spawn bandit-camps with ai. And the people like it. So build your own camps with editor and add them (take a look into camp-sqf's how its done)... be creative guys :) All I remember is them being added in one version of Dayz, then removed the next. I believe it had to do with performance issues but I haven't played regular Dayz in a while so it's hard to remember. Link to comment Share on other sites More sharing options...
jOoPs Posted January 21, 2014 Author Report Share Posted January 21, 2014 This part here, I don't know what to really do with this. I don't have this file in my mission file and you did not include it nor any instruction on how to get it or where it might be found. If you or someone could provide assistance as to how to handle this I would be grateful. take a look into your missionfile init.sqf ...there it will be called... you can find it in your dayz_code.pbo.. extract the script and place it in your missionfile-folder (dayz_code/init/publicEH.sqf) ... in your missionfile init.sqf change the call to it and you are fine. init.sqf-example: call compile preprocessFileLineNumbers "dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers Link to comment Share on other sites More sharing options...
Renegade2k6 Posted January 22, 2014 Report Share Posted January 22, 2014 note: take a look at dayz_Campspawner to customize settings Where can you edit how many camps spawn, debug on etc.......? Link to comment Share on other sites More sharing options...
jOoPs Posted January 22, 2014 Author Report Share Posted January 22, 2014 in your server.pbo in system/server_monitor.sqf add after allowConnection = true; ...//Spawn camps dayz_Campspawner = [] spawn { // quantity, marker, radius, min distance between 2 camps Server_InfectedCamps = [3, "center", dayz_MapArea, 2500] call fn_bases; dayzInfectedCamps = Server_InfectedCamps; publicVariable "dayzInfectedCamps"; }; >>> look the blue marked text in init.sqf add to listed variablesdayz_spawnInfectedSite_clutterCutter = 2; // Infected Base Settings / 0 = loot hidden in grass // 1 = loot lifted // 2 = cluttercutter // 3 = debug >>> 3 = debug - adds a little sphere at lootposition - its just a visual sign Link to comment Share on other sites More sharing options...
Renegade2k6 Posted January 22, 2014 Report Share Posted January 22, 2014 Cheers =) Link to comment Share on other sites More sharing options...
Black Stormy Posted February 7, 2014 Report Share Posted February 7, 2014 Are there map markers for the infested zombie camps? Also, how long after a restart does it take for them to spawn? Just trying to determine if my camps are installed properly and have seen no visual indicators or messages pop up that indicate they are spawning. The debug loot setting, that is not the setting to add map markers is it? I gathered from the description that it was a small sphere over the actual loot spawns inside the camp so you could easily tell where they are located. Link to comment Share on other sites More sharing options...
Renegade2k6 Posted February 7, 2014 Report Share Posted February 7, 2014 in init.sqf add to listed variablesdayz_spawnInfectedSite_clutterCutter = 2; // Infected Base Settings / 0 = loot hidden in grass // 1 = loot lifted // 2 = cluttercutter // 3 = debug 3 =debug option. Doesn't set map markers though. Puts big red spheres around the loot piles. I had to get the coords from the rpt log then use http://www.tunngle.net/community/topic/129591-dayz-coordinates-converter/ just to actually check to see if the script was running. Link to comment Share on other sites More sharing options...
Black Stormy Posted February 7, 2014 Report Share Posted February 7, 2014 well, i dont have any script errors and everything seems to be working, but i still dont see a way to tell if camps are actually spawning on my server without coming across one randomly. is there a way to add map markers to the camps, preferably in a color other than red? dayz_Campspawner - can not find this file anywhere. is it this file: camp_spawnZombies.sqf ? also i think this has made my heli evac script stop working as well, removing it to test each script i just added separately. Link to comment Share on other sites More sharing options...
Renegade2k6 Posted February 7, 2014 Report Share Posted February 7, 2014 I reckon you could just change the marker type or create another marker in object_infectedcamps.sqf in the dayz_code\compile folder in your mission pbo. if ("ItemMap_Debug" in items player) then { _markerstr = createMarker [_campName,_campPos]; _markerstr setMarkerColor "ColorRed"; _markerstr setMarkerShape "ELLIPSE"; _markerstr setMarkerBrush "Border"; _markerstr setMarkerSizeLocal [_campRadius, _campRadius]; Link to comment Share on other sites More sharing options...
Black Stormy Posted February 7, 2014 Report Share Posted February 7, 2014 so how do i change that marker(it exists like that currently in my file, as you've written it above) to be a map marker that marks the camp on the map? Link to comment Share on other sites More sharing options...
jOoPs Posted February 8, 2014 Author Report Share Posted February 8, 2014 ItemMap_debug is needed to see it. Link to comment Share on other sites More sharing options...
Black Stormy Posted February 8, 2014 Report Share Posted February 8, 2014 so if i change item from ItemMap_debug to ItemMap it should show on everyones map? Sorry for all the newbie questions. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 8, 2014 Report Share Posted February 8, 2014 What exactly IS an infected camp, anyway? Link to comment Share on other sites More sharing options...
Black Stormy Posted February 8, 2014 Report Share Posted February 8, 2014 basically a random spawned camp with tons of zombies and some loot. on my server i have dynamic missions that spawn like that with ai patrolling them, trying to add these as well. guess i'll try what i suggested above now that my server is empty Link to comment Share on other sites More sharing options...
Black Stormy Posted February 9, 2014 Report Share Posted February 9, 2014 You only need a custom-compiles. How this is done can be read in forum more then one time, so search for it und use your brain! All necessary files are included in the zip-archive I don't know exactly what you mean by this. But what I did as a result of this sentence was change my z/addons/dayz_code/init/compiles.sqf to dayz_code/init/compiles.sqf in my init.sqf Seriously though, when you make instructions for someone to install a mod, you need to assume they know NOTHING and provide all the steps necessary, not same vague oh you'll need a custom whatever file but im not going to tell you how to do it because if you don't know then you haven't been scripting long enough to install my mod. Sorry if that sounds like I'm a dick, but I really don't understand why anyone would provide incomplete or technically inaccurate instructions. Link to comment Share on other sites More sharing options...
WEB11 Posted February 10, 2014 Report Share Posted February 10, 2014 I'm gonna give this a try. Thanks for sharing. Link to comment Share on other sites More sharing options...
jOoPs Posted February 10, 2014 Author Report Share Posted February 10, 2014 I don't know exactly what you mean by this. But what I did as a result of this sentence was change my z/addons/dayz_code/init/compiles.sqf to dayz_code/init/compiles.sqf in my init.sqf Seriously though, when you make instructions for someone to install a mod, you need to assume they know NOTHING and provide all the steps necessary, not same vague oh you'll need a custom whatever file but im not going to tell you how to do it because if you don't know then you haven't been scripting long enough to install my mod. Sorry if that sounds like I'm a dick, but I really don't understand why anyone would provide incomplete or technically inaccurate instructions. this HowTo is nothing for Copy&Paste-guys.. you should know what you do! im not here to teach you things like using pbo-manager and fsm-editor or how you patch things. there are enough examples which shows you how its done.. and yes, i know, it sounds hard but learn it or let it! BetterDeadThanZed 1 Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 10, 2014 Report Share Posted February 10, 2014 For those of you trying to edit your server's compiles.sqf, why not take a look at this topic? Link to comment Share on other sites More sharing options...
Black Stormy Posted February 10, 2014 Report Share Posted February 10, 2014 this HowTo is nothing for Copy&Paste-guys.. you should know what you do! yep, totally not helpful. guess i'll repeat this again, not sure why you would provide INCOMPLETE OR TECHNICALLY INACCURATE INSTRUCTIONS. the only thing i can figure is you want to create an intentional gap in knowledge so that only some people can use your script. mission accomplished. also, i've done exactly what that compiles.sqf has suggested, so i guess at this point im just going to remove the script and go with its not going to work on my server no matter how many times i try to install it. no big deal. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now