Jump to content
  • 0

What is the best way to add custom buildings?


Shak

Question

Hi,

 

I'd like to know what is the best way to add custom buildings to a server.

 

I know how to add buildings, but what way is the best regarding performance etc.

 

Option 1. In Mission Pbo, executed at the end of init.sqf

Option 2. In Server Pbo, executed in init.sqf, if is server section.

Option 3. In Server Pbo, executed at the bottom of server_functions.sqf.

Option 4. In Server Pbo, missions.sqm. Merge custom buildings with trader cities.

 

Which way is best, and why? Is there another, better way?

 

Thanks.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

the best way is to do it serverside. as this is required, when you have bots on your server.

clientside is a problem, as they dont recognize the custom buildings.

 

I do it serverside in serverfunctions.sqf

With all due respect, this doesn't answer my question at all, and is common knowledge.

Link to comment
Share on other sites

  • 0

Adding custom buildings is pretty easy..in fact the hardest part is getting the hang of the editor. Make a folder in your server pbo called whatever you want e.g. vaginaboob...the you build your map addotios in the editor, save As multiplayer mission, grab the sqf file (there are a few edits you need to make pm me and I'll link you them. I'm mobile right now)... throw that in the folder you made...then call that sqf from the very bottom of your server functions sqf... repack, upload, restart, done.

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