Jump to content
  • 0

How do you change upkeep costs with the new update?


Deanos

Question

Is there any way to change the upkeep costs on the new update. Players complain and want me to disable the deterioration but as you all know that leads to way to much clutter. I will not disable the deterioration but i just want to change the costs of it all.

 

Also is there a way of removing the "cannot build another plot within 45 meters" thing. I'm trying to find a happy medium. Any and all help would be greatly appreciated.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Have you overwrite fn_selfaction.sqf ?

 

If yes, search for s_player_maintain_area

 

Then copy the maintain_area.sqf from the dayz_code.pbo and put it in a folder....example: \custom.

Then change this action to :

 

s_player_maintain_area = player addAction ["<t color=""#ffffff"">Maintain Area</t>", "custom\maintain_area.sqf", "maintain", 5, false];

 

Inside that file you'll find the costs.

 

About the cannot build another plot....its a similar thing....Extract the whole dayz_code.pbo in a folder and use an editor like Notepad++ and search in all the files in that folder for that pharse "cannot build another".

Copy the file to the custom folder and do the same thing....probably you have to add it in the compiles.sqf but overwriting it with a custom one will do the trick.

Inside that file find where that value is set to 45 and change to your liking.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...