Jump to content
  • 0

Need help moving buildings serverside


azazel11

Question

20 answers to this question

Recommended Posts

  • 0

 

Here's how I did it..

 

Where I store my map edits: dayz_epoch\buildings\base.sqf

 
Then add to the bottom of server_functions.sqf (dayz_epoch\init\):
[] execVM "\z\addons\dayz_server\buildings\base.sqf";

 

 

 

This is how mine is setup and it works a treat. :)

Link to comment
Share on other sites

  • 0

Better for the server to spawn them so AI can see them.

Packaging the files in DayZ_server.pbo saves players having to download the mission file when joining.

ExecVM should be fine, put in: if (isServer) {....}; and reference \z\dayz_server\addons etc..

I don't think it will have a lot of effect on fps, probably server is better as most code is designed to assume buildings are on the server..

Link to comment
Share on other sites

  • 0

Got another question. Just a few days ago I realized one of my custom map addons isn't showing up on my server. I just tested to see if it would show up when moved the client side and it still didn't show up. It appears that the entire .sqf is properly formated. Is there a tool I can run on the file to make sure the formating is correct? I can't see any reason why it wouldn't work. All of my other custom map addons are working fine.

Link to comment
Share on other sites

  • 0

[] execVM "\z\addons\dayz_server\custom\mapedits\mapedits.sqf";

 

I always put my my exec command in the server.pbo without these two brackets:  [].

And everything seems to be working fine, but I am just wondering, is this bad?

 

So like this:

 

execVM "\z\addons\dayz_server\custom\mapedits\mapedits.sqf";

Link to comment
Share on other sites

  • 0

I have a dedi box and when I put my buildings server side, it doesnt seem to work... I have a feeling it may be to do with \z\addons Part?

 

In the ftp my server.pbo is saved within @DayZ_Epoch_Server2\addons\

 

do I need to change anything or am I doing something wrong?

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
  • Discord

×
×
  • Create New...