Jump to content

Can you remove feature please.


matt6950

Recommended Posts

Hi,

 

Can you make it so you can build on roads again, I normally go to a little military outlet and build in and around that, by making it so I can't build on a road this makes it so my base is wide open for an attack.  I understand why you have done this. but can you make it a server option you can turn on and off, as I would like it to be turned off.

Link to comment
Share on other sites

You can make it by your own.

 

SQF / dayz_code / actions / player_build.sqf
Line 375 / 376

// No building on roads
if (isOnRoad _position) then { _cancel = true; _reason = "Cannot build on a road."; };

Just comment the line like this

// No building on roads
// if (isOnRoad _position) then { _cancel = true; _reason = "Cannot build on a road."; };

Repack, upload, restart, enjoy

Link to comment
Share on other sites

i can probably add a flag in that allows you to build certain items such as tanktraps, wire, and sandbags (for roadblocks).  but this will list wouldnt be expanded other than those core items unless we add a global variable (toggle in mission file) as well.  I'll talk to AWOL.

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...