Jump to content
Sign in to follow this  
Carlos Leung

How to make a plane as a UAV?

Recommended Posts

I have a F-16 mod, I want to make this as a UAV but i don't know how, any reference about Config?

 

Share this post


Link to post
Share on other sites

I once made a civilian UAV mod. But I barely remember.

Start by putting the UAV AI in the pilots seat and see what happens.

Not sure if they are available in editor. If not make an addon like this:

 

Spoiler

 


class CfgPatches 
{
	class mymod_uav_f16 
	{
		author = "yourname";
		version = 1.0;
		units[] = {"mymod_B_UAV_AI","F16_classname"};
		
		weapons[] = {};
		requiredAddons[] = {"A3_Drones_F"};
	};
};

class CfgVehicles 
{

	class B_UAV_AI;
	class mymod_uav_ai : B_UAV_AI 
	{
		author = "yourname";
		scope = public;  // if that don't work because you are missing the defines:  scope = 2;
	};
	class F16_classname;
	class mymod_F16 : F16_classname {
		crew = mymod_uav_ai;
		isUav=true;  // probably superimportant and the main thing
	};
};

 

 

 

 

 

 

If that does not do it you will have to inherit from a UAV class.

 

 

As an afterthought:

 

it may be enough to simply add

isUav=true;  into your F-16 or add it as config mod like above (but if that is enough you don't need to mess with the uav_ai)

 

  • Like 2

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  

×