Jump to content

[Tutorial] Instant Build For Admins


PeterBeer

Recommended Posts

This grants instant building for admins

This requires custom :

  • player_build.sqf
  • Compiles.sqf
  • variables.sqf

Not going to show you how to do as there is hundreds of topics and posts about how to do it

Installation :

Open player_build.sqf

Find :

[10,10] call dayz_HungerThirst;

Above this line add :

if ((getPlayerUID player) in FastBuilding) exitWith {	
_isOk = false;	
_proceed = true;	
systemChat ""; // SystemChat If Wanted
};

Open variables.sqf

Add At The Top :

FastBuilding = ["xxxxxxxxxxxxx","xxxxxxxxxxxxx"];

Where I Have put "xxxxxxxxxxxxx" add there UID / ID Number

And Thats It

Link to comment
Share on other sites

  • 2 weeks later...

Here is what i make for my server for Admins! 

 

inside init.sqf  after line if (!isDedicated) then {   

 

add  [] execVM "AdminBuild\activate.sqf";  

 

Create folder AdminBuild same place where is init.sqf and inside folder create file activate.sqf and add code

 if ((getPlayerUID player) in [
"xxxxxxxxxxxxx","xxxxxxxxxxxxx","xxxxxxxxxxxxx","xxxxxxxxxxxxx" //ADMIN UID
]) then { 
	DZE_StaticConstructionCount = 1;
	DZE_requireplot = 0;
} else {
	DZE_StaticConstructionCount = 0;
	DZE_requireplot = 1;
};

So all player uids inside activate.sqf   have fast build and they dont need 30m plot pole!!!

 

b_560_95_1.png

Link to comment
Share on other sites

Here is what i make for my server for Admins! 

 

inside init.sqf  after line if (!isDedicated) then {   

 

add  [] execVM "AdminBuild\activate.sqf";  

 

Create folder AdminBuild same place where is init.sqf and inside folder create file activate.sqf and add code

So all player uids inside activate.sqf   have fast build and they dont need 30m plot pole!!!

 

 

Your version only switches from 3 animations to 1 animation, which is still a pain when you're an admin trying to do 'admin-stuff'. PeterBeer's version on the other hand is actual 'instant' building. 

I've also gone as far as removed the animation AND materials requirements for upgrades for admins. So if I set down a small cinder wall I can walk upto it with empty hands and click Upgrade which will instantly make it into a big wall.

Link to comment
Share on other sites

Your version only switches from 3 animations to 1 animation, which is still a pain when you're an admin trying to do 'admin-stuff'. PeterBeer's version on the other hand is actual 'instant' building. 

I've also gone as far as removed the animation AND materials requirements for upgrades for admins. So if I set down a small cinder wall I can walk upto it with empty hands and click Upgrade which will instantly make it into a big wall.

For me instant build not working, dont know why, and how u put away animations and  material req?

Link to comment
Share on other sites

Here is what i make for my server for Admins! 

 

inside init.sqf  after line if (!isDedicated) then {   

 

add  [] execVM "AdminBuild\activate.sqf";  

 

Create folder AdminBuild same place where is init.sqf and inside folder create file activate.sqf and add code

if ((getPlayerUID player) in [
"xxxxxxxxxxxxx","xxxxxxxxxxxxx","xxxxxxxxxxxxx","xxxxxxxxxxxxx" //ADMIN UID
]) then { 
	DZE_StaticConstructionCount = 1;
	DZE_requireplot = 0;
} else {
	DZE_StaticConstructionCount = 0;
	DZE_requireplot = 1;
};
So all player uids inside activate.sqf   have fast build and they dont need 30m plot pole!!!

 

b_560_95_1.png

This post is the compelete opposite on why I made this tutorial

Your post isnt even a instant build still requires an animation there for it is not instantly ......

Link to comment
Share on other sites

This grants instant building for admins

This requires custom :

player_build.sqf,

Compiles.sqf,

variables.sqf

Not going to show you how to do as there is hundreds of topics and posts about how to do it

Installation :

Open player_build.sqf

Find :

[10,10] call dayz_HungerThirst;

Above this line add :

if ((getPlayerUID player) in FastBuilding) exitWith {	
_isOk = false;	
_proceed = true;	
systemChat ""; // SystemChat If Wanted
};

Open variables.sqf

Add At The Top :

FastBuilding = ["xxxxxxxxxxxxx","xxxxxxxxxxxxx"];

Where I Have put "xxxxxxxxxxxxx" add there UID / ID Number

And Thats It

Found mistake, now for me it works too!

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