Jump to content
tomhighway

Deploying mission as addon

Recommended Posts

Hi all,

 

I have a problem with deploying mission as addon. I have created a folder (@a3pro), and addons folder inside it. Then another subfolder in addons (@a3pro\addons\a3pro\) and then config.cpp inside. Then, I've put this in config.cpp

class CfgPatches
{
	class A3Pro
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 1.0;
		requiredAddons[] = {};
	};
};

class CfgMissions
{
	class MPMissions
	{
		class CrouchingTiger00
		{
			directory = "a3pro\crouching-tiger-00.Stratis";
		};
		
		class CrouchingTiger01
		{
			directory = "a3pro\crouching-tiger-01.Altis";
		};		
	};
};

I've created two missions and deployed them inside the @a3pro\addons\a3pro folder (as folders) named correctly as above crouching-tiger-00.Stratis and crouching-tiger-01.Altis.

 

The issue is, when server is hosted on my machine - I can pick the mission. But when deployed on dedicated server, with addon added to the -mod parameter list, it doesn't show on mission list. Is it a dedicated server limitation?

 

I've double checked mpmissions folder, it doesn't contain any pbo on my local machine.

Share this post


Link to post
Share on other sites

I don't know if it will make a difference, but try adding a '\' before the "a3pro\missionFile.mapName" -> "\a3pro\missionFile.mapName"

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

×