geekm0nkey

[release] deploy a mozzie

26 posts in this topic

You'll need the mozzie addon for this to work. This one!

Now that its been released I would use THIS ONE!

Add like you would have the quad for exad. I am lazy, will not go into detail... You should already know how this works, have exad, and deploy vehicle working..

in config.cpp items.. These are just excerpts from the whole file.

Spoiler

class CfgXM8
{
    extraApps[] = {"ExAd_Mozzie"};
    
    class ExAd_Mozzie
    {
        title = "Deploy Mozzie";
        controlID = 50400;
        logo = "ExAdClient\XM8\Apps\DeployVehicle\mozzie_icon.paa";
        config = "ExadClient\XM8\Apps\DeployVehicle\config.sqf";
        bambiState = 0;
        vehicleClass = "RwG_Mozzie_Carl_Orange";
        recipe[] = {{"Exile_Item_DuctTape",1}};
        packable = 1;
        autoCleanUp = 1;
        quickFunction = "['ExAd_Mozzie'] call ExAd_XM8_DV_fnc_spawnVehicle";
    };
};

class XM8_App11_Button: RscExileXM8AppButton1x1
{
    textureNoShortcut = "ExAdClient\XM8\Apps\DeployVehicle\mozzie_icon.paa";
    text = "Deploy Mozzie";
    onButtonClick = "['ExAd_Mozzie', 0] call ExAd_XM8_DV_fnc_spawnVehicle";
    resource = "";
};

mozzie exad icon, place it into the ExAdClient\XM8\Apps\DeployVehicle folder with other icons.

https://drive.google.com/open?id=1keWb6Q5Yc9jdYr_7pK2VaYFP13w5QZQN

Optional and suggested! This mozzie by default comes with 103L of fuel, which is a bit much.. And with r3f installed can damn near lift anything because of the base model it uses. SO... here is a fix for that.. unpbo the exad_dv.pbo file and edit fn_spawnDeployableVehicle.sqf, find

Spoiler

if( getNumber(missionConfigFile >> "CfgXM8" >> _configClass >> "packable") > 0 ) then {
    _vehObj setVariable ["ExAd_DV_Packable", true, true];
};

under paste the following.

Spoiler

// Mozzie Fixes
if (_vehicleClass == " RwG_Mozzie_Carl_Orange") then
{
    _vehObj setFuel .18; // Limit the fuel to 20L
    _vehObj setVariable ["R3F_LOG_disabled",true , true]; // remove the ability to lift and load
};

this limits the fuel to 20L and disables the r3f functions.

Admins.... This works only for deployed mozzies, if you spawn one from infistar, these will not apply.

Edited by geekm0nkey
  • Like 4

Share this post


Link to post
Share on other sites
Advertisement
14 hours ago, peresvet said:

vehicleClass = " RwG_Mozzie_Carl_Orange";

really need a space before RwG_Mozzie_Carl_Orange  ? 

No shouldn't have a space. Corrected OP.

Edited by geekm0nkey

Share this post


Link to post
Share on other sites
On 4/4/2018 at 7:02 AM, geekm0nkey said:

Add like you would have the quad for exad. I am lazy, will not go into detail... You should already know how this works, have exad, and deploy vehicle working..

  Hide contents

 

Hi, sorry to be a drag, but  i have been looking for info/thread on how to add a second or third spawn vehicle, have you seen a thread or can you point me in a general direction please :)

Thanks

Rob

Share this post


Link to post
Share on other sites
22 hours ago, [FYCA] BillytheDog said:

Hi, sorry to be a drag, but  i have been looking for info/thread on how to add a second or third spawn vehicle, have you seen a thread or can you point me in a general direction please :)

Thanks

Rob

you mean like having a deploy quad, deploy ski, deploy mozzie all at the same time? So say you add a deploy quad and it works, duplicate it, change the icon and the vehicle and boom, now you have a second.

Edited by geekm0nkey
  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.