Armifer Posted October 17, 2013 Report Share Posted October 17, 2013 For those who have requested it, the simple version to require a plot pole to build. This works especially well with CPC ToeJam's indestructible objects, as it will prevent players from spamming indestructible objects in every doorway in cherno to troll players. Why? Some like the older epoch version where it would require players to put in time and effort to build a base, and prevent the server hopping trolls from spamming cities with base parts to close streets, wall off other bases that are not their own, or barricade off high end loot positions, all within the time it takes to chop down a few trees. This has become the new barbwire spam of days old in fire stations. This also helps server owners keep easier control of how fast objects build up on their server. This doesn't affect the dedicated player who wants to build a base. This requires a player to spend some time on the server first, getting 6 10oz gold bars is a easy feat, so those not willing to spend the hour or so doing this will be less likely to bombard your server with needless buildables only meant to troll fresh spawns out of getting gear. For Epoch version 1.2.0.4 Time and effort to set up: 5 minutes - Easy Step 1: Edit your init.sqf to set up a custom override for compiles.sqf, creating the folders for the file path "\dayz_code\actions\" inside your decompiled mission.pbo main folder. (I will not cover how to do this, google for the many resources available on these forums, and on opendayz.net on how to set this up). Step 2: Inside compiles.sqf change the following: player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf"; To: player_build = compile preprocessFileLineNumbers "dayz_code\actions\player_build.sqf"; Step 3: Create a new text file and name it player_build.sqf and copy the following code into it: http://pastebin.com/raw.php?i=VDeY2sX4 Save, recompile and you are done! Optional: Change dayz_characterID to dayz_playerUID if using permanent ownership in already edited files. WARNING: This requires many changes elsewhere in other files to work! In a future update, I will be simplifying the code so adding future objects to be allowed to be built anywhere will easier to add. Also, if requested, I can add the code to set limits on individual epoch objects, for those of you who want to limit specific objects within a radius such as ladders or stairs, but leave amount of doors and walls untouched. Also at some point, I can add restriction from building in named towns, as an optional feature.Just ask for it in this thread if you want it, and I will update this post. sway, LimpNoodle and FunkFest 3 Link to comment Share on other sites More sharing options...
Sergey Posted October 18, 2013 Report Share Posted October 18, 2013 remarkable idea! I fastened to the server. we test. B) Link to comment Share on other sites More sharing options...
LimpNoodle Posted October 18, 2013 Report Share Posted October 18, 2013 Great idea Armifer. I will give this a go & send you my beans! *edit* Armifer, what now needs to happen is add this requirement to the upgrade option also. What I see happen a lot is players going around with glass and just upgrading any base wall they can get their hands on. Very annoying. Link to comment Share on other sites More sharing options...
Dregek Posted October 21, 2013 Report Share Posted October 21, 2013 it is possible to increase the plot size? Link to comment Share on other sites More sharing options...
Armifer Posted October 22, 2013 Author Report Share Posted October 22, 2013 A 60 meter diameter is more than enough for epoch base building, but I suppose you could change it to whatever you want. Only issue I see with that would be players claiming too much land with plot poles if the radius is too large. It would cause some unbalance in that case. Link to comment Share on other sites More sharing options...
ToejaM Posted October 30, 2013 Report Share Posted October 30, 2013 Is there a way to make it allow safes and campfires to go over the limit/not be included in the limit? I've only tried this since the new patch so if it worked before, I might have merged it wrong. Would appreciate some help :) Link to comment Share on other sites More sharing options...
MGT Posted October 30, 2013 Report Share Posted October 30, 2013 This probably won't work on 1.0.2.5 as player_build.sqf was changed https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_code/actions/player_build.sqf Link to comment Share on other sites More sharing options...
ToejaM Posted October 30, 2013 Report Share Posted October 30, 2013 The plot pole requirement works but I can see the exclusions, they're not working though - not had a proper look at it, an update would be good though :) Link to comment Share on other sites More sharing options...
vbawol Posted October 30, 2013 Report Share Posted October 30, 2013 This probably won't work on 1.0.2.5 as player_build.sqf was changed https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_code/actions/player_build.sqf That code is now from 1.0.2.6 and is made to bring back the plot pole requirement for base building. Link to comment Share on other sites More sharing options...
ToejaM Posted October 30, 2013 Report Share Posted October 30, 2013 Excellent :) Will it just be modular buildables or ALL buildables vbawol? Link to comment Share on other sites More sharing options...
Guest Posted November 27, 2013 Report Share Posted November 27, 2013 hi, my friend was installing for me plot pole required to build and that i can build on my plot pole after dead but something is broken and friendly taged players cant build on my plot pole and i cant contact with that guy.They see "plot pole required nerby" or something like that . I hope u can help me out with this. This is my player_build.sqf. http://pastebin.com/i0rzvaEs Link to comment Share on other sites More sharing options...
Armifer Posted December 2, 2013 Author Report Share Posted December 2, 2013 New epoch patch brings back the plot pole requirement, so just hold out until then or check the epoch github for the latest file. I'll probably edit it to make the radius a bit further away, to disallow a player from build right on top of your base, unless they are tagged as friends. This means for everyone who is not your friend, they cannot build a plot pole within 100m of your base, while if they are a friend it will allow them to place a plot pole within 60m. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now