Jump to content
Sign in to follow this  
SgtBigSmoke

Begin mission on server start

Recommended Posts

Hello everyone

This has probably been asked hundreds of times, but I can't find it so I'll risk asking anyway..

Is there any way to make a mission load up and start the game on (Dedicated) server startup?

Trying to build a DayZ mission on a different map than Cherno but encountering an issue. When people join too quickly (< 1min) after server start, it loads the mission but skips the scripts to create vehicles and tents. Was thinking I could prevent this by forcing the server to start the mission on startup, instead of waiting until a player joins.

Any ideas?

Regards

Smoke

Share this post


Link to post
Share on other sites

AFAIK no there is not a way. You can force a mission rotation using server.cfg but the mission won't auto-start on server reset.

Share this post


Link to post
Share on other sites

Use a headless client. Leave it running so it connects to the server the moment it starts and the mission will load as per the mission rotation.

Share this post


Link to post
Share on other sites

lol tank!! Yes that will indeed do it did not think of that (and we use one!!)

Share this post


Link to post
Share on other sites

Thanks for the tip Tankbuster, sounds like a winner, going to give it a try tomorrow.

Regards

Smoke

Share this post


Link to post
Share on other sites

You're most welcome. Last time I tried it, I couldn't get a HC to log into a passworded server, so it may be you can only get this to work on a public server. Let me know how you get on.

Share this post


Link to post
Share on other sites

Also be advised that even if you have forceHeadlessClient in your mission.sqm under the HC unit... it does not always join the correct slot. So it's possible the HC will join a 'player' slot on restart.

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  

×