BigEgg Posted November 30, 2016 Report Share Posted November 30, 2016 First, credit goes to @Zupa for his amazing Plot Management Mod. This short tutorial is for those of you who use Plot Management without Plot 4 Life. It automatically adds the builder of the Plot Pole to the "Friends" list on the Plot so they don't have to remember to add themselves. For this tutorial, I used the player_build.sqf from snap/vector build pro. It is designed around this player_build so please be sure you are using it! At the top of player_build.sqf, add this to the private array: ,"_nearPlots", "_selectedPlot", "_onPlot", "_uidPlayer", "_playerName" Then, find this block of code (around line 667): _tmpbuilt setVariable ["CharacterID",dayz_characterID,true]; // fire? if(_tmpbuilt isKindOf "Land_Fire_DZ") then { _tmpbuilt spawn player_fireMonitor; } else { PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,_vector],_classname]; publicVariableServer "PVDZE_obj_Publish"; }; Replace that block with this: _tmpbuilt setVariable ["CharacterID",dayz_characterID,true]; if (_tmpbuilt isKindof "Plastic_Pole_EP1_DZ") then { PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,_vector],_classname]; publicVariableServer "PVDZE_obj_Publish"; _nearPlots = nearestObjects [player, ["Plastic_Pole_EP1_DZ"],15]; _selectedPlot = _nearPlots select 0; _onPlot = _selectedPlot getVariable ["plotfriends",[]]; _uidPlayer = getPlayerUID player; _playerName = name player; _onPlot = _onPlot + [[_uidPlayer,_playerName]]; _selectedPlot setVariable ["plotfriends", _onPlot, true]; PVDZE_veh_Update = [_selectedPlot,"gear"]; publicVariableServer "PVDZE_veh_Update"; if (isServer) then { PVDZE_veh_Update call server_updateObject; }; } else { if(_tmpbuilt isKindOf "Land_Fire_DZ") then { _tmpbuilt spawn player_fireMonitor; } else { PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,_vector],_classname]; publicVariableServer "PVDZE_obj_Publish"; }; }; Go in game and test it out! juandayz, Zupa, RiMMON and 1 other 4 Link to comment Share on other sites More sharing options...
Liquid84 Posted November 30, 2016 Report Share Posted November 30, 2016 Nice work. Link to comment Share on other sites More sharing options...
Zupa Posted November 30, 2016 Report Share Posted November 30, 2016 Just a headsup. Epoch updates today to 1.0.6 Link to comment Share on other sites More sharing options...
BigEgg Posted November 30, 2016 Author Report Share Posted November 30, 2016 16 minutes ago, Zupa said: Just a headsup. Epoch updates today to 1.0.6 Yeah, figured I would put it up anyway. Most servers won't be updated immediately. Link to comment Share on other sites More sharing options...
juandayz Posted November 30, 2016 Report Share Posted November 30, 2016 @BigEgg awesome!!!! this is very usefull almost for me... im an anti plot4life(although it is a great mod) but whit your tuto your saving a lot of install time :). i just add it at most common mods install guide. tnks! BigEgg 1 Link to comment Share on other sites More sharing options...
Liquid84 Posted November 30, 2016 Report Share Posted November 30, 2016 @Zupa Mad love! This is going to be epic! Link to comment Share on other sites More sharing options...
Hoplox Posted November 30, 2016 Report Share Posted November 30, 2016 Amazing, this is great for NON P4L users. 11/10!! Link to comment Share on other sites More sharing options...
JohnnyLube Posted December 5, 2016 Report Share Posted December 5, 2016 Buggered if I can get it to work!!!! Link to comment Share on other sites More sharing options...
Albertus Smythe Posted December 8, 2016 Report Share Posted December 8, 2016 On 05/12/2016 at 2:07 PM, JohnnyLube said: Buggered if I can get it to work!!!! Me neither Link to comment Share on other sites More sharing options...
JohnnyLube Posted December 12, 2016 Report Share Posted December 12, 2016 That's as maybe but I am not going to put my server over to 1.06 just yet. 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