Jump to content

Recommended Posts

Hey guys, quick question. I want to migrate from using the steam mod version of v-com to the script to make preparations for a server. I haven't found any guides online or an instruction set on the git hub to do so. After downloading it I performed what would seem pretty straight forward copy and pastes. but loading up a test mission and all i get is errors for about 5 mins after initializing the script.

 

Anyone know the proper way to load the script version?

Share this post


Link to post
Share on other sites

description.ext

class CfgFunctions 
{
	#include "vcom\cfgFunctions.hpp"
};

class Extended_PreInit_EventHandlers {
	VCM_CBASettings = call compile preprocessFileLineNumbers "Vcom\Functions\VCM_CBASettings.sqf";
};

class CfgRemoteExec
{
	// List of script functions allowed to be sent from client via remoteExec
	class Functions
	{
		mode = 2;
		jip = 1;		
		
		class vcm_serverask { allowedTargets = 0;jip = 1; };
		class VCM_PublicScript { allowedTargets = 0;jip = 1; };
		class BIS_fnc_debugConsoleExec { allowedTargets = 0;jip = 1; };
		class SpawnScript { allowedTargets = 0;jip = 1; };
		class enableSimulationGlobal { allowedTargets = 0;jip = 1; };
		class VCM_fnc_KnowAbout { allowedTargets = 0;jip = 1; };
		
	};
	
	
};

init.sqf

 

//Exec Vcom AI function
[] execVM "Vcom\VcomInit.sqf";
//End of Vcom commands

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Say, the line:
class Extended_PreInit_EventHandlers {
VCM_CBASettings = compile call preprocessFileLineNumbers "Vcom \ Functions \ VCM_CBASettings.sqf";
};

is it obligatory?

Share this post


Link to post
Share on other sites

@focheur

It isn't obligatory, and will not do anything unless you have CBA loaded.

Also the init.sqf part that @davidoss mentioned is no longer required.

  • Confused 1

Share this post


Link to post
Share on other sites

We use it on our public server, and the CBA is activate, yet I do not activate the command line above and it works very well
But if I activate it will be useful only for the person lodged in admin anyway I think
Knowing that I use the script version, no need for management by a player 🙂

Share this post


Link to post
Share on other sites

Hello, I would like to know if it is possible to reduce the mine posited by the enemies?
I find in the parameters: (0.100.75.0)
It is already over 75, so I have a choice between 100 and 0, there is not a middle? for example 50, 25?

Share this post


Link to post
Share on other sites
On 3/7/2019 at 2:18 AM, Freddo3000 said:

@focheur

It isn't obligatory, and will not do anything unless you have CBA loaded.

Also the init.sqf part that @davidoss mentioned is no longer required.

I am not trying to dig up trouble. Davidoss gave accurate information. [] execVM "Vcom\VcomInit.sqf"; IS REQUIRED. I today, 7/6/2020, used his posted information to successfully merge the VCOM mod scripts into my mission. Thank you again Davidoss!

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

×