Jump to content
Sign in to follow this  
DSabre

Civilian UAV

Recommended Posts

Guest

Thanks for sending us the updated version :cool:

Release frontpaged on the Armaholic homepage.

================================================

We have also "connected" these pages to your account on Armaholic.

This means soon you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

Funny BIS didn't come up with this, cool work man...

Share this post


Link to post
Share on other sites

Thank you,

Actually I was just struck by some accidental insight. I finally understand why my addons won't work in Zeus automatically and I found the proper civilian vehicle classes for the objects.

Next Update will include full automatic Zeus compability (should then work in the popular Steam Zeus missions from Sasha)! Expect it sometime soonish

config.cpp for the interested:

 

#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define private 0
#define protected 1
#define public 2

#define true 1
#define false 0


class CfgPatches
{
class sab_CUAV {
author[] = {"Sabre[Dust]"};
version = 0.5;
units[] =
{

"sab_CUAV_URV_AI",
"sab_CUAV_UGV",
"sab_CUAV_UGV_rc",
"sab_CUAV_UGV_sd",
"sab_CUAV_UGV_blue",
"sab_CUAV_UGV_grey",

"sab_CUAV_Box",

"sab_CUAV_bp",
"sab_CUAV_bp_green",
"sab_CUAV_bp_orange",
"sab_CUAV_bp_red",
"sab_CUAV_bp_blue",
"sab_CUAV_bp_violet",
"sab_CUAV_bp_pink",

"sab_CUAV_UAV",
"sab_CUAV_UAV_Orange",
"sab_CUAV_UAV_Green",
"sab_CUAV_UAV_Blue",
"sab_CUAV_UAV_Violet",
"sab_CUAV_UAV_Red",
"sab_CUAV_UAV_Pink",

};

weapons[] = {"sab_CUAV_uavTerminal"};
requiredAddons[] = {"A3_Weapons_F_ItemHolders", "A3_UAV_F_Weapons_F_Gamma_Ammoboxes", "A3_Air_F", "A3_Characters_F_Gamma", "A3_Weapons_F", "A3_Weapons_F_Beta_Ammoboxes"};
};
};

class cfgWeapons
{
class ItemCore; // External class reference
class I_UavTerminal; // External class reference
class ItemInfo; // External class reference
class UavTerminal_base: ItemCore
{
class ItemInfo;
};
class sab_CUAV_Terminal: UavTerminal_base {
scope = public;
scopeCurator = 2;
displayName = "$STR_A3_CFGWeapons_Items_UAVTerminal";
vehicleClass = "Items";
faction = CIV_F;
descriptionshort = "Civilian UAV terminal";
displayname = "Civilian UAV controller";
hiddenselectionstextures[] = {"\A3\Drones_F\Weapons_F_Gamma\Items\data\UAV_controller_rgr_co.paa"};
picture = "\sab_CUAV\data\ui\civi_uav_controller.paa";
scope = 2;

class ItemInfo: ItemInfo {
side = 3;
};
};
};

class CfgVehicles
{

class B_UGV_01_F; // External class reference
class B_UAV_AI; // External class reference
class NATO_Box_Base;
class Bag_Base; // External class reference

// AI

class sab_CUAV_URV_AI : B_UAV_AI {
author = "Sabre[Dust]";
scope = protected;
side = TCivilian;
};

// UGV

class sab_CUAV_UGV : B_UGV_01_F {
author = "Sabre[Dust]";
scope = public;
displayName = "Civilian UGV";
crew = "sab_CUAV_URV_AI";
typicalCargo[] = {""};
side = TCivilian;
faction = CIV_F;
vehicleClass = "Car";
};

class sab_CUAV_UGV_grey : sab_CUAV_UGV {

displayName = "Civilian UGV Grey";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UGV_grey.paa", "\A3\drones_f\Soft_F_Gamma\UGV_01\Data\ugv_01_int_co.paa"};
};

class sab_CUAV_UGV_blue : sab_CUAV_UGV {

displayName = "Civilian UGV Blue";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UGV_blue.paa", "\A3\drones_f\Soft_F_Gamma\UGV_01\Data\ugv_01_int_co.paa"};
};

class sab_CUAV_UGV_rc : sab_CUAV_UGV {

displayName = "Civ UGV Red Cross";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UGV_rc.paa", "\A3\drones_f\Soft_F_Gamma\UGV_01\Data\ugv_01_int_co.paa"};
};

class sab_CUAV_UGV_sd : sab_CUAV_UGV {

displayName = "Civ UGV Delivery Service";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UGV_sd.paa", "\A3\drones_f\Soft_F_Gamma\UGV_01\Data\ugv_01_int_co.paa"};
};

// Box

class sab_CUAV_Box : NATO_Box_Base {
scope = public;
accuracy = 1000; // accuracy needed to recognize type of this target
vehicleClass = "Ammo";
displayName = "Civilian UAV Box";
model = "\A3\Weapons_F\Ammoboxes\WpnsBox_F.p3d";
icon = "iconCrateWpns";
maximumLoad = 1000;
transportMaxWeapons = 10;
transportMaxMagazines = 10;
transportMaxBackpacks = 10;
HiddenSelectionsTextures[] = {"sab_CUAV\data\box.paa","sab_CUAV\data\box.paa"};

class TransportItems {
class _xx_sab_CUAV_Terminal {
name = "sab_CUAV_Terminal";
count = 7;
};
};
class TransportBackpacks
{
class _xx_sab_CUAV_bp
{
backpack = "sab_CUAV_bp";
count = 1;
};
class _xx_sab_CUAV_bp_orange
{
backpack = "sab_CUAV_bp_orange";
count = 1;
};
class _xx_sab_CUAV_bp_green
{
backpack = "sab_CUAV_bp_green";
count = 1;
};
class _xx_sab_CUAV_bp_red
{
backpack = "sab_CUAV_bp_red";
count = 1;
};
class _xx_sab_CUAV_bp_blue
{
backpack = "sab_CUAV_bp_blue";
count = 1;
};
class _xx_sab_CUAV_bp_violet
{
backpack = "sab_CUAV_bp_violet";
count = 1;
};
class _xx_sab_CUAV_bp_pink
{
backpack = "sab_CUAV_bp_pink";
count = 1;
};
};
};



// Backpacks



class sab_Weapon_Bag_Base : Bag_Base {
class assembleInfo
{
primary = 1;
base = "";
assembleTo = "";
displayName = "";
dissasembleTo[] = {};} ; // External class reference
};



class sab_CUAV_bp : sab_Weapon_Bag_Base
{

author = "Sabre[Dust]";
faction = CIV_F;
side = TCivilian;
mapSize = 0.6;
vehicleClass = "Backpacks";
icon = "iconBackpack";
scope = public;
_generalMacro = "sab_CUAV_bp";
picture = "\A3\weapons_f\ammoboxes\bags\data\UI\icon_b_c_small_blk";
model = "\A3\weapons_f\ammoboxes\bags\Backpack_Small.p3d";
displayName = "Civilian UAV Backpack";
HiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_small_co"};
maximumLoad = 0;
mass = 300;

class assembleInfo : assembleInfo
{
primary = 1;
base = "";
displayName = "Civilian UAV";
assembleTo = "sab_CUAV_UAV";
};
};

class sab_CUAV_bp_green : sab_CUAV_bp
{
displayName = "Civilian UAV Backpack (Green)";
HiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_small_co"};

class assembleInfo : assembleInfo
{
primary = 1;
base = "";
displayName = "Civilian UAV";
assembleTo = "sab_CUAV_UAV_Green";
};
};

class sab_CUAV_bp_orange : sab_CUAV_bp
{

displayName = "Civilian UAV Backpack (Orange)";
HiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_small_co"};
class assembleInfo : assembleInfo
{
primary = 1;
base = "";
displayName = "Civilian UAV";
assembleTo = "sab_CUAV_UAV_Orange";
};
};

class sab_CUAV_bp_red : sab_CUAV_bp
{

displayName = "Civilian UAV Backpack (Red)";
HiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_small_co"};
class assembleInfo : assembleInfo
{
primary = 1;
base = "";
displayName = "Civilian UAV";
assembleTo = "sab_CUAV_UAV_Red";
};
};

class sab_CUAV_bp_blue : sab_CUAV_bp
{

displayName = "Civilian UAV Backpack (Blue)";
HiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_small_co"};
class assembleInfo : assembleInfo
{
primary = 1;
base = "";
displayName = "Civilian UAV";
assembleTo = "sab_CUAV_UAV_Blue";
};
};

class sab_CUAV_bp_violet : sab_CUAV_bp
{

displayName = "Civilian UAV Backpack (Violet)";
HiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_small_co"};
class assembleInfo : assembleInfo
{
primary = 1;
base = "";
displayName = "Civilian UAV";
assembleTo = "sab_CUAV_UAV_Violet";
};
};
class sab_CUAV_bp_pink : sab_CUAV_bp
{

displayName = "Civilian UAV Backpack (Pink)";
HiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_small_co"};
class assembleInfo : assembleInfo
{
primary = 1;
base = "";
displayName = "Civilian UAV";
assembleTo = "sab_CUAV_UAV_Pink";
};
};

// UAVs

class B_UAV_01_F;


class sab_CUAV_UAV : B_UAV_01_F
{
author = "Sabre[Dust]";
scope = public;
displayName = "Civilian UAV";
crew = sab_CUAV_URV_AI;
typicalCargo[] = {""};
side = TCivilian;
faction = CIV_F;
vehicleClass = "air";
extCameraPosition[]={0,0,-1};

class assembleInfo
{
primary = 1;
base = "";
assembleTo = "";
displayName = "";
dissasembleTo[] = {"sab_CUAV_bp"};
};

};

class sab_CUAV_UAV_Red : sab_CUAV_UAV
{

displayName = "Civilian UAV Red";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UAV_red.paa"};

class assembleInfo
{
primary = 1;
base = "";
assembleTo = "";
displayName = "";
dissasembleTo[] = {"sab_CUAV_bp_red"};
};

};

class sab_CUAV_UAV_Orange : sab_CUAV_UAV
{

displayName = "Civilian UAV Orange";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UAV_orange.paa"};

class assembleInfo
{
primary = 1;
base = "";
assembleTo = "";
displayName = "";
dissasembleTo[] = {"sab_CUAV_bp_orange"};
};

};

class sab_CUAV_UAV_Green : sab_CUAV_UAV
{

displayName = "Civilian UAV Green";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UAV_green.paa"};

class assembleInfo
{
primary = 1;
base = "";
assembleTo = "";
displayName = "";
dissasembleTo[] = {"sab_CUAV_bp_green"};
};

};

class sab_CUAV_UAV_Blue : sab_CUAV_UAV
{

displayName = "Civilian UAV Blue";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UAV_blue.paa"};

class assembleInfo
{
primary = 1;
base = "";
assembleTo = "";
displayName = "";
dissasembleTo[] = {"sab_CUAV_bp_blue"};
};

};

class sab_CUAV_UAV_Violet : sab_CUAV_UAV
{

displayName = "Civilian UAV Violet";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UAV_violet.paa"};

class assembleInfo
{
primary = 1;
base = "";
assembleTo = "";
displayName = "";
dissasembleTo[] = {"sab_CUAV_bp_violet"};
};

};

class sab_CUAV_UAV_Pink : sab_CUAV_UAV
{

displayName = "Civilian UAV Pink";
HiddenSelectionsTextures[] = {"sab_CUAV\data\Civ_UAV_pink.paa"};

class assembleInfo
{
primary = 1;
base = "";
assembleTo = "";
displayName = "";
dissasembleTo[] = {"sab_CUAV_bp_violet"};
};

};
};



key for making it work in Zeus was

requiredAddons[] = {"A3_Weapons_F_ItemHolders", "A3_UAV_F_Weapons_F_Gamma_Ammoboxes", "A3_Air_F", "A3_Characters_F_Gamma", "A3_Weapons_F", "A3_Weapons_F_Beta_Ammoboxes"};
(not sure if all of these are needed as reference)

and removing custom faction class. Edited by [Dust]Sabre

Share this post


Link to post
Share on other sites

2015-01-12_00029.jpg

2015-01-12_00027.jpg

Changed 3rd person cam position. Think it's better this way.

Update 0.5

@Fox/Six Again I apologize for this quick update cycle - sorry .D

Yesterday I had no idea I could fix these things!

changelog:

v 0.5

Zeus compability

removed unecessary extra faction

changed skins (still ultra simple :))

added some ugvs

further improved config.cpp

changed 3rd person camera on the uav

Download 0.5

***

Edited by Sabre_Dust

Share this post


Link to post
Share on other sites
Guest

Thanks again for sending us the updated version :cool:

Release frontpaged on the Armaholic homepage.

================================================

We have also "connected" these pages to your account on Armaholic.

This means soon you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

I have a small update for this...

 

-RC Planes .D

-and small bugfixes (fixed terminal not showing up in arsenal)

 

 

3CEBF675F51E35674951A56056F0860307CC670F

Edited by [Dust]Sabre
  • Like 4

Share this post


Link to post
Share on other sites

They'd never suspect a thing :P 

Share this post


Link to post
Share on other sites

They look really awesome.

 

I wish it would be possible to strap a M112 Charge on the small RC Plane.  :D

Share this post


Link to post
Share on other sites

dang lol, i just realised I had this posted already. hang on going to ask for thread merge :D

 

and it is already highly explosive Eagle, due to inheriting the large UAV class : )

have not found a way to remove the explosion damage yet

Edited by [Dust]Sabre

Share this post


Link to post
Share on other sites

Updated mod v0.5.1 available at withSIX. Download now by clicking:

banner-420x120.png

Hey Sabre[Dust] , you can upload updates or new mods to withSIX yourself now!

Make your own promo page, get the power to release your work at your own point of choosing.

To learn more, follow this guide.

Share this post


Link to post
Share on other sites

v 0.8

-Dauphin works finally
-Piper and Trojan will still break the terminal after you crash. Any ideas what could be causing this?

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  

×