Jump to content

Search the Community

Showing results for tags 'plotpole'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 7 results

  1. Plot Management 2.1 With Object Counter By Zupa & rosska85 Explanation This scripts adds a dialog to the plotpole where you can add people form the surroundings to your plotpole. They will be able to build for ALWAYS in the radius of that plotpole untill he gets removed from the plotpole. Everyone on the plot can "Manage" the plot. Owner will always be the highest power on the plote. If you dont use plotForLife mod and you add yourself to the plot, you will alwyas be able to build even after you die. Add yourself in admin list (fn selfactions section), so admin can manage all plots. Technical The people on the plotpole gets saved to the DB in the gear variable of the plotpole. The friends are in the plotfriends variable. [["46446465","Zupa],["456749879","MyLonelyFriend"] Maintain Version: You can use the maintain version with Default of SingleCurrency version of Epoch. This will allow you to maintain the area in your plot management menu! Show the plot area with a fancy dome made by Zero Remorse's Scripter! Preview any cost before it gets spent! Credits rosska85 : His people saving on the plotpole gear field!Maca: The idea and code inspiration for this public modZero Remorse: Great Dome to show plot area. Screenshot Default Version: NEW Maintain version: Installation Files needed: https://github.com/DevZupa/PlotManagement Download it with the zip button on right side. Installation Instructions are on the github readme's MAINTAIN VERSION 2.1 !: Which files are updated: plotObjects.sqf (new)initPlotManagement.sqf (udpated)plotManagement.hppadd extra line in compiles.sqfchange 1 number in player_build.sqf Same as the default but also add MaintainPlot = compile preprocessFileLineNumbers "zupa\plotManagement\maintain_area.sqf"; PlotPreview = compile preprocessFileLineNumbers "zupa\plotManagement\plotToggleMarkers.sqf"; PlotObjects = compile preprocessFileLineNumbers "zupa\plotManagement\plotObjects.sqf"; // NEW to your compiles.sqf after if (!isDedicated) then { Now default max range is 30m to check if there are too many objects in one spot. Lets change that to the plotRadius, so my plot menu can show u how many objects ( that can be maintain) are still able to be build. in player_build.sqf look in a IF for: nearObjects ["All",30]change that to nearObjects ["All",DZE_PlotPole select 0]To change maintani price ( for default very obvious in maintain_area.sqf). for single currency change the 1 to any price you want per object. _theCost = _count * 1;For example _theCost = _count * 150; // 150 coins per object.INFINISTAR: Add the following number to the dialogs array: 711194AND Add "PlotManagement"to _cMenu =You've succesfull have plotManagement NEW Update 1.1: Github updated with file: plotNearbyHumans - ALLPLAYERS.sqf Rename to: plotNearbyHumans.sqf (overwrite default) IF YOU WANT ALL PLAYERS LISTED ON THE LEFT New Update 2.0: Fixed all players showing in listAdded maintain area/ preview area cost/ preview area (in a dome) IF you have single currency user the maintain_areaSC as maintain_area ( rename it and delete the other one). Important info:
  2. Vehicle Godmode in Plotpoles & Safezones & Everywhere Locked 2.0 Fixed This scripts adds a configurable file where u can set the following options: Vechicles godmode in safezones Vechiles godmode in plotpole areas Locked or all vehicles godmoded ​Only donaters godmode vehicles in plotpole areas. As soon someone is in them, DESTROY THEM Added later: Locked Vechicles all over the map. Added later: Option to allow damage on vehicles with gear in them even when locked at plotpoles In your compiles.sqf ABOVE: initialized = true; place fnc_usec_damageVehicle = compile preprocessFileLineNumbers "zupa\fn_damageHandlerVehicle.sqf"; //Event handler run on damage vehicle_handleDamage = compile preprocessFileLineNumbers "zupa\vehicle_handleDamage.sqf"; and make a file in "zupa" folder called "vehicle_handleDamage.sqf" with inside: FIXED CODE private["_selection","_state","_strH","_total","_unit"]; //***Zupa Config ****// _godmodeVechilesEverywhere = false; // Godmode on all locked vehicles _onlyLockedVehicles = true; //Plotarea: Godmode for Only locked vehicles (true) or locked and unlocked(false) _onlyVehicleWithoutGear = true; // Only godmode on vehicles that hold no gear. _safeZoneGodVehicle = true; // Godmode vehicles in safezones. (or specific zone's) // donator plotpole only works with PLOT FOR LIFE, set FALSE if you dont have it. _donatorsPlots = false; // True = only godmode vehicles for donaters in the list, False = godmode for every guy. _plotDonators = ["76561198101253426","505"]; // PUID's of poeple who donated for plotpole // Chernarus safezone area's - change these to other coordinates for other maps. ( You can also add specific locations on the map. _safezones = [ [[5070.75,9729.54],100,"Air"], [[1606.6443,7803.5156],100,"Bandit"], [[4063.4226,11664.19],100,"Bash"], [[12944.227,12766.889],100,"Hero"], [[11447.472,11364.504],100,"Klen"], [[6315.88,7791.3],100,"Stary"] // [[x,y],distance,"just name"] ]; //***END Config ****// _unit = _this select 0; _selection = _this select 1; _total = _this select 2; _state = true; _HPBefore = -1; if (_selection != "") then { _strH = "hit_" + _selection; _HPBefore = [_unit,_strH] call object_getHit; } else { _strH = "totalDmg"; _HPBefore = getDammage _unit; }; if(_total > _HPBefore)then{ if((locked _unit && _godmodeVechilesEverywhere && (count (crew _unit)) < 1))then{_state = false; }; if(_state)then{ if(_safeZoneGodVehicle )then{ {if ((_unit distance (_x select 0)) < (_x select 1)) then {_state = false; };} forEach _safezones; }; }; if(_state)then{ _gearCount = 0; if(_onlyVehicleWithoutGear)then{ //_weaps = count(getWeaponCargo _unit); //_mags = count(getMagazineCargo _unit); //_backs = count(getBackpackCargo _unit); //_gearCount = _gearCount + _weaps + _mags + _backs; }; _plots = nearestObjects [_unit, ["Plastic_Pole_EP1_DZ"], DZE_PlotPole select 0]; if((count(_plots) > 0))then{ _thePlot = _plots select 0; _plotOwner = _thePlot getVariable ["ownerPUID",0]; if ( (_gearCount == 0) &&(locked _unit || !(_onlyLockedVehicles) ) && (count (crew _unit)) < 1 && ( !(_donatorsPlots) || (_plotOwner in _plotDonators))) then {_state = false; }; }; }; }; //fix if(_state)then{ if (_total >= 0.98) then { _total = 1.0; }; if (local _unit) then { if (_total > 0) then { _unit setVariable [_strH, _total, true]; _unit setHit [_selection, _total]; if (isServer) then { [_unit, "damage"] call server_updateObject; } else { PVDZE_veh_Update = [_unit,"damage"]; publicVariableServer "PVDZE_veh_Update"; }; }; } else { // vehicle is not local to this client, ask the client which vehicle is local to set damage /* PVS/PVC - Skaronator */ PVDZE_send = [_unit,"VehHandleDam",_this]; publicVariableServer "PVDZE_send"; }; }else{ _total = _HPBefore; }; // all "HandleDamage event" functions should return the effective damage that the engine will record for that part _total AND in "zupa" folder: fn_damageHandlerVehicle.sqf scriptName "Functions\misc\fn_damageHandler.sqf"; /*********************************************************** PROCESS DAMAGE TO A UNIT - Function - [unit, selectionName, damage, source, projectile] call fnc_usec_damageHandler; ************************************************************/ private ["_unit","_hit","_damage","_total"]; _unit = _this select 0; _hit = _this select 1; _damage = _this select 2; //_source = _this select 3; //_ammo = _this select 4; _total = _damage; _state = true; //***Zupa Config ****// _godmodeVechilesEverywhere = false; // Godmode on all locked vehicles _onlyLockedVehicles = true; //Plotarea: Godmode for Only locked vehicles (true) or locked and unlocked(false) _onlyVehicleWithoutGear = true; // Only godmode on vehicles that hold no gear. _safeZoneGodVehicle = true; // Godmode vehicles in safezones. (or specific zone's) // donator plotpole only works with PLOT FOR LIFE, set FALSE if you dont have it. _donatorsPlots = false; // True = only godmode vehicles for donaters in the list, False = godmode for every guy. _plotDonators = ["76561198101253426","505"]; // PUID's of poeple who donated for plotpole // Chernarus safezone area's - change these to other coordinates for other maps. ( You can also add specific locations on the map. _safezones = [ [[5070.75,9729.54],100,"Air"], [[1606.6443,7803.5156],100,"Bandit"], [[4063.4226,11664.19],100,"Bash"], [[12944.227,12766.889],100,"Hero"], [[11447.472,11364.504],100,"Klen"], [[6315.88,7791.3],100,"Stary"] // [[x,y],distance,"just name"] ]; //***END Config ****// systemChat "checks"; if((locked _unit && _godmodeVechilesEverywhere && (count (crew _unit)) < 1))then{_state = false; }; if(_state)then{ if(_safeZoneGodVehicle )then{ {if ((_unit distance (_x select 0)) < (_x select 1)) then {_state = false; };} forEach _safezones; }; }; if(_state)then{ _gearCount = 0; if(_onlyVehicleWithoutGear)then{ //_weaps = count(getWeaponCargo _unit); //_mags = count(getMagazineCargo _unit); //_backs = count(getBackpackCargo _unit); //_gearCount = _gearCount + _weaps + _mags + _backs; }; _plots = nearestObjects [_unit, ["Plastic_Pole_EP1_DZ"], DZE_PlotPole select 0]; if((count(_plots) > 0))then{ _thePlot = _plots select 0; _plotOwner = _thePlot getVariable ["ownerPUID",0]; if ( (_gearCount == 0) &&(locked _unit || !(_onlyLockedVehicles) ) && (count (crew _unit)) < 1 && ( !(_donatorsPlots) || (_plotOwner in _plotDonators))) then {_state = false; }; }; }; //diag_log ("DAMAGE VEH: " + typeof(_unit) + " / " + str(_hit) + " / " + str(_damage) + " / " + str(getDammage _unit)); if (local _unit && _state) then { _total = [_unit,_hit,_damage] call object_setHitServer; }; _total
  3. Helo, Its is possible to build ItemVault and ItemLockbox on plotpole only with maintance?
  4. Hey hey, Only a idea probably there is anyway a script out there if it is so, please send me a link :) It would be nice to have a script which delete every vehicle which is not near a plot pole, i hate it if person play one time on a server and then let their vehicle everywhere, mostly theese vehicle got every day updated in the database cause anyone try to get in in this vehicle so the regualar abodened cleanup wont work. How i said its just a request :)
  5. hey guys, i want to insert a dace script in my server but i dont want that you can dance 150M around a plot pole, my first try was this: if nearestObjects [player, ["Plastic_Pole_EP1_DZ"], 150] then { cutText [format["You can not dance 150M around a plot pole"], "PLAIN DOWN"]; } else { player playMove "ActsPercMstpSnonWnonDnon_DancingDuoIvan"; }; But it doesnt work, anybody has a idea how i get this working ? i am not a scripting master ^^ thats my first try :D
  6. I was looking for the thread where someone explained how to set the plotpole to work with UID instead so we bypass the need to replace the plot every time you die. But i couldnt find it.. Anyone that could post the solution, or to the thread in question?
  7. I know this has probably come up often, and I've searched many times to try and find an answer to no avail. I've tried to find a solution to tying PlayerUID to 30mPlotPoles instead of CharacterID, This post here had someone trying to do it, and partially succeeding, They got the UID to write to the MySQL database, and it allowed them to build after dying, but after restart it would not let them (oddly enough). I also have no clue what Version they were on, as many things have changed since. Has anyone ever figured it out? And would they like to share? Thanks, -xblabberx
×
×
  • Create New...