Jump to content
  • 0

Thug

Question

Does anyone know how to turn off the Maintain Area for the plot pole? I know it will still say maintain area and maintain area preview, but i dont want it to charge for maintains.

Before you say it, I stay on top of my servers and keep them cleaned up.

The data base has no functions and events enabled. So its not that.

All I am finding in this forum is over 2 years old, still looking.

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
3 hours ago, Thug said:

Does anyone know how to turn off the Maintain Area for the plot pole? I know it will still say maintain area and maintain area preview, but i dont want it to charge for maintains.

Before you say it, I stay on top of my servers and keep them cleaned up.

The data base has no functions and events enabled. So its not that.

All I am finding in this forum is over 2 years old, still looking.

 

Custom fn_selfActions.sqf:

see bellow this line u have all options about cursor target on plot pole..

if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "Plastic_Pole_EP1_DZ")) then {

for example the red maintain area and preview area.....  if ure not using anything else like plot management just remove the whole bunch of code:


     if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "Plastic_Pole_EP1_DZ")) then {
         if (s_player_maintain_area < 0) then {
              s_player_maintain_area = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_MAINTAREA"], "\z\addons\dayz_code\actions\maintain_area.sqf", "maintain", 5, false];
             s_player_maintain_area_preview = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_MAINTPREV"], "\z\addons\dayz_code\actions\maintain_area.sqf", "preview", 5, false];
         };
     } else {
            player removeAction s_player_maintain_area;
            s_player_maintain_area = -1;
            player removeAction s_player_maintain_area_preview;
            s_player_maintain_area_preview = -1;
     };

 

 

 

Link to comment
Share on other sites

  • 0

others things about it:  while you use the sql damageonage into variables.sqf you can set when maintain option start to work:

Spoiler

if(isNil "DZE_DamageBeforeMaint") then {
    DZE_DamageBeforeMaint = 0.1;
};

//here you can maintain your base when damage is higer than 0.1 points.

into HiveExt.ini

see this line:
CleanupPlacedAfterDays = -1// set  to disallow the cleanup for ever.(Note: do not use ; at start of the line)

;CleanupPlacedAfterDays = 6//allow clear objets each 6 days. (NOTE: use ; at start of the line)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...