GucciMane Posted July 3, 2013 Report Share Posted July 3, 2013 Hopefully someone could get me straightened out. I want to explore the possibility of having custom buildings stored in the dayz_server files and not from the dayz_mission files to lighten the load of an ever increading mission file people have to download. I remember reading that it could be done awhile ago and now can find nothing about the subject. If I understand correctly, a a custom building addition currently stored in a folder named "buildings" in my mission folder is called using [] ExecVM "Buildings\GuccisCustomStuff.sqf"; Now if I wanted to change it to call from the server files would I just change that to something like [] ExecVM "\z\addons\Buildings\GuccisCustomStuff.sqf"; and create a folder called "buildings" in the root of my dayz_server folder? PetuniaEpoch 1 Link to comment Share on other sites More sharing options...
Nox Posted July 4, 2013 Report Share Posted July 4, 2013 I Think "\z\addons\dayz_Epoch_server\Buildings\GuccisCustomStuff.sqf"; It's better cause he going check in Dayz_Epoch_server. But i don't know if it's working :) Why you don't use it in your Mission File ? Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted July 6, 2013 Report Share Posted July 6, 2013 I would love to know this too :D Can this method be used for lots of mods, or just mainly buildings? Could, for example, I include an AI patrol using this method? Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted July 6, 2013 Report Share Posted July 6, 2013 Hey Nox, I think he is trying to avoid bloating the mission file that players have to download, and so speed up load times? I Think "\z\addons\dayz_Epoch_server\Buildings\GuccisCustomStuff.sqf"; It's better cause he going check in Dayz_Epoch_server. But i don't know if it's working :) Why you don't use it in your Mission File ? Link to comment Share on other sites More sharing options...
GucciMane Posted July 8, 2013 Author Report Share Posted July 8, 2013 ^ Exactly Link to comment Share on other sites More sharing options...
Nox Posted July 9, 2013 Report Share Posted July 9, 2013 :) oki Well I think "\z\addons\dayz_Epoch_server\Buildings\GuccisCustomStuff.sqf"; Works Can you try it ? Link to comment Share on other sites More sharing options...
lolw00t Posted July 22, 2013 Report Share Posted July 22, 2013 Extract your dayz_server.pbo Open your server_functions.sqf file, (Located in your init folder) find server_deaths = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDeaths.sqf"; add after that //addons [] execVM "\z\addons\dayz_server\YOURCUSTOMFOLDER\YOURFILE.sqf"; repack ur server.pbo & upload :D Bungle 1 Link to comment Share on other sites More sharing options...
fr1nk Posted July 22, 2013 Report Share Posted July 22, 2013 Is there a performance difference either way? Or is the main benefit here a small mission file? Link to comment Share on other sites More sharing options...
lolw00t Posted July 22, 2013 Report Share Posted July 22, 2013 dont know about the performance, all i know is that if u implement buildings through the database (create a table called vehicles) then there is no decreased performance issue although there could/will be problems with double spawning buildings thats why most people want to implement it through the mission or server pbo Link to comment Share on other sites More sharing options...
fr1nk Posted July 23, 2013 Report Share Posted July 23, 2013 Gotcha. Just wondering since my mission file is approaching 4mb. Trying to migrate as much as I can to the server so the size doesn't get out of control if I add more stuff....not that it takes very long nowadays to download even a 20mb mission file :) Link to comment Share on other sites More sharing options...
lolw00t Posted July 23, 2013 Report Share Posted July 23, 2013 well i have put all my buildings in the server.pbo & i havent noticed a any framedrops Link to comment Share on other sites More sharing options...
fr1nk Posted July 23, 2013 Report Share Posted July 23, 2013 Thanks for the info, good to know! Link to comment Share on other sites More sharing options...
lolw00t Posted July 23, 2013 Report Share Posted July 23, 2013 np problem man let me now if u have any problems :) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now