Hey guys, trying to install VectorBuilding on my server. I've gone over the install a few times. Everything seems legit, only thing I cant find is the variables.sqf. To add the last bit of code.
This is what I'm using https://github.com/strikerforce/DayzBuildVectors. I am hosting my server from Vilayer.com. I have all the other code in place and the server still runs fine, and SnapBuilding still works, but still no option to tilt parts. One other thing I want to make sure I have right is..
Last but not least, we need to save the objects direction to a variable. To do that, find:
if (DZE_GodModeBase) then {
And place the following above it:
_object setVariable["memDir",_dir,true];
This is how mine looks..
if ((typeOf _object) in dayz_allowedObjects) then {
_object setVariable["memDir",_dir,true];
if (DZE_GodModeBase) then {
_object addEventHandler ["HandleDamage", {false}];
} else {
_object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
};
// Test disabling simulation server side on buildables only.
_object enableSimulation false;
// used for inplace upgrades && lock/unlock of safe
_object setVariable ["OEMPos", _pos, true];
Question
SoCalSlaughter
Hey guys, trying to install VectorBuilding on my server. I've gone over the install a few times. Everything seems legit, only thing I cant find is the variables.sqf. To add the last bit of code.
This is what I'm using https://github.com/strikerforce/DayzBuildVectors. I am hosting my server from Vilayer.com. I have all the other code in place and the server still runs fine, and SnapBuilding still works, but still no option to tilt parts. One other thing I want to make sure I have right is..
Last but not least, we need to save the objects direction to a variable. To do that, find:
And place the following above it:
This is how mine looks..
if ((typeOf _object) in dayz_allowedObjects) then {
_object setVariable["memDir",_dir,true];
if (DZE_GodModeBase) then {
_object addEventHandler ["HandleDamage", {false}];
} else {
_object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
};
// Test disabling simulation server side on buildables only.
_object enableSimulation false;
// used for inplace upgrades && lock/unlock of safe
_object setVariable ["OEMPos", _pos, true];
};
Is this correct? Thanks!!!!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now