Jump to content

[Release] Build Vectors - Rotate objects in Dayz Epoch (v2.34 P4L & non-P4L)


striker

Recommended Posts

Hello guys,

 

I fixed the issue with objects not snapping at the correct angle on objects that were rotated just enough to throw the axis's off.

 

THE UPDATE WILL BE TOMORROW, if not, shoot me  ;)

 

The fix was simple, but was difficult because I neglected to look at the saved direction in the database.

 

*HOTFIX FOR DEGREES BEING OFF AFTER RESTART ON OBJECT ROTATED MORE THAN 90 DEGREES

server_monitor.sqf

 

Find:

if (DZE_GodModeBase) then {

Put the following above it:

_object setVariable["memDir",_dir,true];

snap_build.sqf

 

Find:

_objectSnapGizmo setDir (getDir _nearbyObject);

Replace with:

_objectSnapGizmo setDir (_nearbyObject getVariable["memDir",0]);

player_build.sqf or player_build_publish.sqf

 

Find:

_tmpbuilt setdir _dir; 

Put the following after it:

_tmpbuilt setVariable["memDir",_dir,true];

player_upgrade.sqf and player_buildingDowngrade.sqf

 

Find:

_object setDir _dir; 

Put the following after it:

_object setVariable["memDir",_dir,true];

player_lockVault.sqf and player_unlockVault.sqf

 

Find:

_holder setdir _dir; 

Put the following after it:

_holder setVariable["memDir",_dir,true]; 

Yep, im a f**king moron, stone me to death, ill understand...

 

Enjoy!

Link to comment
Share on other sites

Hello,

 

Put your old self_actions.sqf back into the mission file and see if that solves that issue. If it does, search for player_upgrade.sqf and change to path accordingly.

 

striker

Great, this worked just fine, I get the take ownership and the Vectors menu. So far so good.

Thanks for the head-sup!

 

Now when I press build, the build is immediately canceled.

I am sorry for stealing time. Apparently no one else is having this issue(or everyone else is just way more capable).

 

Best Regards,

Huppabubba

Link to comment
Share on other sites

Great, this worked just fine, I get the take ownership and the Vectors menu. So far so good.

Thanks for the head-sup!

 

Now when I press build, the build is immediately canceled.

I am sorry for stealing time. Apparently no one else is having this issue(or everyone else is just way more capable).

 

Best Regards,

Huppabubba

 

Hey,

 

What is the cancel message you are getting, if any?

 

Sorry if I don't respond for several hours, it's 1:46 AM here and I have school in the morning  :P

 

striker

Link to comment
Share on other sites

Hey,

 

What is the cancel message you are getting, if any?

 

Sorry if I don't respond for several hours, it's 1:46 AM here and I have school in the morning  :P

 

striker

Hey Striker,

 

alright seems i had a mistake somewhere. not to sure where. It is fixed now. basically reinstalled Vectors with your fix for the Take Ownership and all works. 

Kudos and thanks for the help

Link to comment
Share on other sites

hi guys, i am getting this error in my server functions within the code i added

21:33:50 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
21:33:50   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
21:33:50   Error Undefined variable in expression: _vnew
21:33:50 File z\addons\dayz_server\init\server_functions.sqf, line 578

any idea what could be causing it? http://pastebin.com/vmQVRC7c

 

thanks

Link to comment
Share on other sites

Hey guys,

 

Just want to give an update on the progress of the files.

 

I'm adding a variable where server admins can set the degrees that a person can rotate by.

For exampe:

DZE_vectorDegrees = [1,5,45,90];

Which is default, but you can go as extreme as:

DZE_vectorDegrees = [0.01, 0.1, 1, 5, 15, 45, 90];

Your choice  :)

 

striker

Link to comment
Share on other sites

hey guys just a quick question any ideas why after the installation vehicles and safes delete?!?! 

part of my RPT: 
 

13:52:44 "TIME SYNC: Local Time set to [2013,8,3,13,52]"
13:52:59 B 1-1-C:1 (Skoda) REMOTE: Getting out while IsMoveOutInProgress
13:52:59 "Deleting object Ural_INS with invalid ID at pos [6913.53,11382.2,-0.0955505]"
13:52:59 "Deleting object Ural_INS with invalid ID at pos [6913.53,11382.2,-0.0955505]"
13:52:59 Client: Local object 2:5273 not found
13:52:59 Server: Object info 2:5273 not found during Changing Owner
13:52:59 Server: Object 2:5273 not found (message 52)
13:53:13 "infiSTAR.de Log: Devastator(76561197971532415) -    Entered SafeZone @063076"
13:53:13 "Deleting object ArmoredSUV_PMC_DZE with invalid ID at pos [6918.88,11452.2,0.0426025]"
13:53:38 "infiSTAR.de PVAH_WriteLog: B 1-1-D:1 (Devastator) REMOTE   Devastator Moving to CockNostril"

is this to do with plotpole for life?? 

and is there a version of build vectors that doesnt require the use of plotpole for life??? 
 
donation coming your way if i can get this working ;D 

p.s good chatting to you last night RedBreath :D 
Link to comment
Share on other sites

 

hey guys just a quick question any ideas why after the installation vehicles and safes delete?!?! 

part of my RPT: 

 

13:52:44 "TIME SYNC: Local Time set to [2013,8,3,13,52]"
13:52:59 B 1-1-C:1 (Skoda) REMOTE: Getting out while IsMoveOutInProgress
13:52:59 "Deleting object Ural_INS with invalid ID at pos [6913.53,11382.2,-0.0955505]"
13:52:59 "Deleting object Ural_INS with invalid ID at pos [6913.53,11382.2,-0.0955505]"
13:52:59 Client: Local object 2:5273 not found
13:52:59 Server: Object info 2:5273 not found during Changing Owner
13:52:59 Server: Object 2:5273 not found (message 52)
13:53:13 "infiSTAR.de Log: Devastator(76561197971532415) -    Entered SafeZone @063076"
13:53:13 "Deleting object ArmoredSUV_PMC_DZE with invalid ID at pos [6918.88,11452.2,0.0426025]"
13:53:38 "infiSTAR.de PVAH_WriteLog: B 1-1-D:1 (Devastator) REMOTE   Devastator Moving to CockNostril"

is this to do with plotpole for life?? 

and is there a version of build vectors that doesnt require the use of plotpole for life??? 

 
donation coming your way if i can get this working ;D 

p.s good chatting to you last night RedBreath :D

 

 

Hey,

 

Ill work on the none Plot For life one when I get home  :) Should only take a few minutes.

Rimblock's P4L seems to have a lot of errors in it. Primarily in the compiles.sqf file. That was the issue for me.

I'm probably going to just fork Raymix's github and only use his files. P4L is just way to messy to work with and I cannot provide support for it.

 

striker

Link to comment
Share on other sites

striker do i still need to add 

Precise Base Building

also i want to add door locks and plot management any thing i need to know

 

thanks  

a great script

scott

 

Hey,

 

You don't have to, but it is HIGHLY recommended. If you have used it on the previous versions, you HAVE to install it or else it will cause errors.

 

As far as door and plot management, you should be able to follow the guide given by them without any issue with vectors.  :)

 

striker

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
  • Advertisement
×
×
  • Create New...