Jump to content
Sign in to follow this  
clydefrog

Making a mission for use on a dedicated server

Recommended Posts

Hi, searched for this and couldn't find much really, both on this site and other places. Are there any general rules or tips for making missions that will be used on a dedicated server? I am creating a mission for a mission night for my squad and it will be hosted on a dedicated server. It will be tested on there first but I'm just looking for any info on things you shouldn't use in scripts or codes in the editor to cut down on any issues that arise.

Share this post


Link to post
Share on other sites

Basically you have to know your way around locality, and make sure you handle this properly in every script you write (see the isPlayer, isServer, isDedicated commands and make sure you run scripts in the right place). Don't forget to always check the scope of your variables and set it as fit. I also suggest having the BIS wiki handy to check locality for each command you'll use.

After that, coding in a MP environment is not easy, i suggest tearing some MP missions apart to see how it's done, and avoiding using that much "homemade" scripts while you don't really feel at home in this particular domain.

Another option, which might just be the best, is to use a mission template: the F2 template is really easy to use, well documented, and you can find different builds (Folk, ShackTac, and ShackTac ACE).

Hope this helped you.

Share this post


Link to post
Share on other sites
Basically you have to know your way around locality, and make sure you handle this properly in every script you write (see the isPlayer, isServer, isDedicated commands and make sure you run scripts in the right place). Don't forget to always check the scope of your variables and set it as fit. I also suggest having the BIS wiki handy to check locality for each command you'll use.

After that, coding in a MP environment is not easy, i suggest tearing some MP missions apart to see how it's done, and avoiding using that much "homemade" scripts while you don't really feel at home in this particular domain.

Another option, which might just be the best, is to use a mission template: the F2 template is really easy to use, well documented, and you can find different builds (Folk, ShackTac, and ShackTac ACE).

Hope this helped you.

Cheers, yeah I'm already the F2 framework for Arma 2 ACE so hopefully there'll be no problem with all that stuff, just hope the code I've used in the editor works fine mostly.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×