aussie battler

[solved] Tanks DLC - Adding the Custom CAMO

17 posts in this topic

Advertisement

Is there anything needed to be added to get an action Item so you can deploy the camo netting?

I have added in the extras as on previous page but cant seem to get it working..

Thanks for the effort. I look forward to getting it working..

  • Like 1

Share this post


Link to post
Share on other sites

Hmm, I have a problem when I start my server with this ExileServer_object_vehicle_carefulCreateVehicle.sqf

To use camo I must edit only ExileServer_object_vehicle_carefulCreateVehicle.sqf

My rpt :
 

13:44:34 Error in expression <ynamicSimulation") isEqualTo 1) then 
{
_vehicleObject enableDynamicSimulation t>
13:44:34   Error position: <_vehicleObject enableDynamicSimulation t>
13:44:34   Error Undefined variable in expression: _vehicleobject
13:44:34 File exile_server\code\ExileServer_object_vehicle_createNonPersistentVehicle.sqf, line 23
13:44:34 Error in expression <er_object_vehicle_carefulCreateVehicle;
_vehicleObject setVariable ["ExileIsPers>
13:44:34   Error position: <_vehicleObject setVariable ["ExileIsPers>
13:44:34   Error Undefined variable in expression: _vehicleobject
13:44:34 File exile_server\code\ExileServer_object_vehicle_createNonPersistentVehicle.sqf, line 18
13:44:34 Error in expression <tpoints;
};
if (_randomizeFuel) then 
{
_vehicle setFuel (random _fuel);
}
else >
13:44:34   Error position: <_vehicle setFuel (random _fuel);
}
else >
13:44:34   Error Undefined variable in expression: _vehicle
13:44:34 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 60
13:44:34 Error in expression <l _fuel;
};
if (_randomizeAmmo) then 
{
_vehicle setVehicleAmmo (random _ammo);
>
13:44:34   Error position: <_vehicle setVehicleAmmo (random _ammo);
>
13:44:34   Error Undefined variable in expression: _vehicle
13:44:34 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 68
13:44:34 Error in expression <
_hitpointsData = getAllHitPointsDamage _vehicle;
if !(_hitpointsData isEqualTo >
13:44:34   Error position: <_vehicle;
if !(_hitpointsData isEqualTo >
13:44:34   Error Undefined variable in expression: _vehicle
13:44:34 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 46

 

Share this post


Link to post
Share on other sites
14 hours ago, [x] cit said:

Hmm, I have a problem when I start my server with this ExileServer_object_vehicle_carefulCreateVehicle.sqf

To use camo I must edit only ExileServer_object_vehicle_carefulCreateVehicle.sqf

My rpt :
 


13:44:34 Error in expression <ynamicSimulation") isEqualTo 1) then 
{
_vehicleObject enableDynamicSimulation t>
13:44:34   Error position: <_vehicleObject enableDynamicSimulation t>
13:44:34   Error Undefined variable in expression: _vehicleobject
13:44:34 File exile_server\code\ExileServer_object_vehicle_createNonPersistentVehicle.sqf, line 23
13:44:34 Error in expression <er_object_vehicle_carefulCreateVehicle;
_vehicleObject setVariable ["ExileIsPers>
13:44:34   Error position: <_vehicleObject setVariable ["ExileIsPers>
13:44:34   Error Undefined variable in expression: _vehicleobject
13:44:34 File exile_server\code\ExileServer_object_vehicle_createNonPersistentVehicle.sqf, line 18
13:44:34 Error in expression <tpoints;
};
if (_randomizeFuel) then 
{
_vehicle setFuel (random _fuel);
}
else >
13:44:34   Error position: <_vehicle setFuel (random _fuel);
}
else >
13:44:34   Error Undefined variable in expression: _vehicle
13:44:34 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 60
13:44:34 Error in expression <l _fuel;
};
if (_randomizeAmmo) then 
{
_vehicle setVehicleAmmo (random _ammo);
>
13:44:34   Error position: <_vehicle setVehicleAmmo (random _ammo);
>
13:44:34   Error Undefined variable in expression: _vehicle
13:44:34 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 68
13:44:34 Error in expression <
_hitpointsData = getAllHitPointsDamage _vehicle;
if !(_hitpointsData isEqualTo >
13:44:34   Error position: <_vehicle;
if !(_hitpointsData isEqualTo >
13:44:34   Error Undefined variable in expression: _vehicle
13:44:34 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 46

 

Not sure man as these errors are related to otherscripts, and i never got these errors when i first did it and still don't get them to this day.

But where did you place ExileServer_object_vehicle_carefulCreateVehicle.sqf  after you edit it

Edited by hogansheroes

Share this post


Link to post
Share on other sites

I placed  ExileServer_object_vehicle_carefulCreateVehicle.sqf  after edit in his location in @Exileserver exile/code
UPD.
try to use customcode section in mpmission - no result

This is my  ExileServer_object_vehicle_carefulCreateVehicle.sqf

Spoiler

/**
 * ExileServer_object_vehicle_carefulCreateVehicle
 *
 * Exile Mod
 * www.exilemod.com
 * © 2015 Exile Mod Team
 *
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
 */
 
private["_vehicleClassName", "_position", "_direction", "_usePositionATL", "_temporaryPositionInOuterSpace", "_vehicleObject"];
_vehicleClassName = _this select 0;
_position = _this select 1;
_direction = _this select 2;
_usePositionATL = _this select 3;
_temporaryPositionInOuterSpace = 
[
    (_position select 0) - 250 + (random 500),
    (_position select 1) - 250 + (random 500),
    1000 + (random 1000)
];
_vehicleObject = createVehicle [_vehicleClassName, _temporaryPositionInOuterSpace, [], 0, "CAN_COLLIDE"];
_vehicleObject allowDamage false;
_vehicleObject removeAllEventHandlers "HandleDamage";
_vehicleObject addEventHandler["HandleDamage", {false}];
_vehicleObject setVelocity [0, 0, 0];
if ((typeName _direction) isEqualTo "ARRAY") then 
{
    _vehicleObject setVectorDirAndUp _direction;
}
else 
{
    _vehicleObject setDir _direction;
};
if (_usePositionATL) then
{
    _vehicleObject setPosATL _position;
}
else 
{
    _vehicleObject setPosASL _position;
};
_vehicleObject setVelocity [0, 0, 0];
_vehicleObject allowDamage true;
_vehicleObject removeAllEventHandlers "HandleDamage";
_vehicleObject setDamage 0;
clearBackpackCargoGlobal _vehicleObject;
clearItemCargoGlobal _vehicleObject;
clearMagazineCargoGlobal _vehicleObject;
clearWeaponCargoGlobal _vehicleObject;
if (_vehicleClassName isKindOf "I_UGV_01_F") then 
{
    createVehicleCrew _vehicleObject;
};
if (getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "nightVision") isEqualTo 0) then 
{
    _vehicleObject disableNVGEquipment true;
};
if (getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "thermalVision") isEqualTo 0) then 
{
    _vehicleObject disableTIEquipment true;
};

/////////////////////////////
///////// Tanks DLC /////////
/////////////////////////////

/////////////////////////////
///// Rhino
/////////////////////////////

if(_vehicleClassName == "B_AFV_Wheeled_01_cannon_F") then
{
    [_vehicleObject,["Sand",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "B_T_AFV_Wheeled_01_cannon_F") then
{
    [_vehicleObject,["Green",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "B_AFV_Wheeled_01_up_cannon_F") then
{
    [_vehicleObject,["Sand",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "B_T_AFV_Wheeled_01_up_cannon_F") then
{
    [_vehicleObject,["Green",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// T-140
/////////////////////////////

if(_vehicleClassName == "O_MBT_04_cannon_F") then
{
    [_vehicleObject,["Hex",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "O_T_MBT_04_cannon_F") then
{
    [_vehicleObject,["GreenHex",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "O_MBT_04_command_F") then
{
    [_vehicleObject,["Hex",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "O_T_MBT_04_command_F") then
{
    [_vehicleObject,["GreenHex",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// Nyx
/////////////////////////////

if(_vehicleClassName == "I_LT_01_AT_F") then
{
    [_vehicleObject,["Jungle",1],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "I_LT_01_scout_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "I_LT_01_AA_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "I_LT_01_cannon_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///////// APC Tanks /////////
/////////////////////////////

/////////////////////////////
///// AFV-4 Gorgon
/////////////////////////////

if(_vehicleClassName == "I_APC_Wheeled_03_cannon_F") then
{
    [_vehicleObject,["Jungle",0],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "B_APC_Wheeled_03_cannon_F") then
{
    [_vehicleObject,["Jungle",0],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// BTR-K Kamysh
/////////////////////////////

if(_vehicleClassName == "O_T_APC_Tracked_02_cannon_ghex_F") then
{
    [_vehicleObject,["GreenHex",1],["showBags",1,"showCamonetHull","showSLATHull",1,"showTracks",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "O_APC_Tracked_02_cannon_F") then
{
    [_vehicleObject,["Hex",1],["showBags",1,"showCamonetHull","showSLATHull",1,"showTracks",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// AMV-7 Marshall
/////////////////////////////

if(_vehicleClassName == "B_APC_Wheeled_01_cannon_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showSLATTurret",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_APC_Wheeled_01_cannon_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showSLATTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// CRV-6e Bobcat
/////////////////////////////

if(_vehicleClassName == "B_APC_Tracked_01_CRV_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showAmmoBoxes",1,"showRoadWheels",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_APC_Tracked_01_CRV_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showAmmoBoxes",1,"showRoadWheels",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// FV-720 Mora
/////////////////////////////

if(_vehicleClassName == "I_APC_tracked_03_cannon_F") then
{
    [_vehicleObject,["Sand",0],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showSLATTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// IFV-6a Cheetah
/////////////////////////////

if(_vehicleClassName == "B_APC_Tracked_01_AA_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_APC_Tracked_01_AA_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// IFV-6c Panther
/////////////////////////////

if(_vehicleClassName == "B_T_APC_Tracked_01_rcws_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_APC_Tracked_01_rcws_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showCamonetHull",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// MSE-3 Marid
/////////////////////////////

if(_vehicleClassName == "O_APC_Wheeled_02_rcws_v2_F") then
{
    [_vehicleObject,["Hex",1],["showBags",1,"showCamonetHull",1,"showCanisters",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "O_T_APC_Wheeled_02_rcws_v2_ghex_F") then
{
    [_vehicleObject,["GreenHex",1],["showBags",1,"showCamonetHull",1,"showCanisters",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// ZSU-39 Tigris
/////////////////////////////

if(_vehicleClassName == "O_APC_Tracked_02_AA_F") then
{
    [_vehicleObject,["Hex",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showTracks",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "O_T_APC_Tracked_02_AA_ghex_F") then
{
    [_vehicleObject,["GreenHex",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showTracks",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
/////////// Tanks ///////////
/////////////////////////////

/////////////////////////////
///// M2A1/4 Slammer/UP
/////////////////////////////

if(_vehicleClassName == "B_T_MBT_01_cannon_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_MBT_01_TUSK_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// MBT-52 Kuma
/////////////////////////////

if(_vehicleClassName == "I_MBT_03_cannon_F") then
{
    [_vehicleObject,["Olive",0],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};


/////////////////////////////
///// T-100 Varsuk
/////////////////////////////

if(_vehicleClassName == "O_T_MBT_02_cannon_ghex_F") then
{
    [_vehicleObject,["GreenHex",1],["showCamonetHull",1,"showCamonetTurret",1,"showWoodLog",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// M5 Sandstorm
/////////////////////////////

if(_vehicleClassName == "B_MBT_01_mlrs_F") then
{
    [_vehicleObject,["Sand",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_MBT_01_mlrs_F") then
{
    [_vehicleObject,["Olive",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

_vehicleObject

 

 

Edited by [x] cit
add my file

Share this post


Link to post
Share on other sites

So, I found error on Rhino section
I see error in RPT:

1350. 21:30:53 Error in expression <"showSLATHull",1]] call BIS_fnc_initVehicle;
1358. 21:30:53   Error position: <cle;
1366. 21:30:53   Error Missing ;
1367. 21:30:53 File mpmissions\__cur_mp.Chernarus_2035\Custom\camotanks\ExileServer_object_vehicle_carefulCreateVehicle.sqf, line 87
1368. 21:30:53 Error in expression <"showSLATHull",1]] call BIS_fnc_initVehicle;
1376. 21:30:53   Error position: <cle;
1384. 21:30:53   Error Missing ;
1385. 21:30:53 File mpmissions\__cur_mp.Chernarus_2035\Custom\camotanks\ExileServer_object_vehicle_carefulCreateVehicle.sqf, line 87

go to line 87 and dont see any probs, ok I comment all section Rhino and it WORKS
My workable file:

Spoiler

/**
 * ExileServer_object_vehicle_carefulCreateVehicle
 *
 * Exile Mod
 * www.exilemod.com
 * © 2015 Exile Mod Team
 *
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
 */
 
private["_vehicleClassName", "_position", "_direction", "_usePositionATL", "_temporaryPositionInOuterSpace", "_vehicleObject"];
_vehicleClassName = _this select 0;
_position = _this select 1;
_direction = _this select 2;
_usePositionATL = _this select 3;
_temporaryPositionInOuterSpace = 
[
    (_position select 0) - 250 + (random 500),
    (_position select 1) - 250 + (random 500),
    1000 + (random 1000)
];
_vehicleObject = createVehicle [_vehicleClassName, _temporaryPositionInOuterSpace, [], 0, "CAN_COLLIDE"];
_vehicleObject allowDamage false;
_vehicleObject removeAllEventHandlers "HandleDamage";
_vehicleObject addEventHandler["HandleDamage", {false}];
_vehicleObject setVelocity [0, 0, 0];
if ((typeName _direction) isEqualTo "ARRAY") then 
{
    _vehicleObject setVectorDirAndUp _direction;
}
else 
{
    _vehicleObject setDir _direction;
};
if (_usePositionATL) then
{
    _vehicleObject setPosATL _position;
}
else 
{
    _vehicleObject setPosASL _position;
};
_vehicleObject setVelocity [0, 0, 0];
_vehicleObject allowDamage true;
_vehicleObject removeAllEventHandlers "HandleDamage";
_vehicleObject setDamage 0;
clearBackpackCargoGlobal _vehicleObject;
clearItemCargoGlobal _vehicleObject;
clearMagazineCargoGlobal _vehicleObject;
clearWeaponCargoGlobal _vehicleObject;
if (_vehicleClassName isKindOf "I_UGV_01_F") then 
{
    createVehicleCrew _vehicleObject;
};
if (getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "nightVision") isEqualTo 0) then 
{
    _vehicleObject disableNVGEquipment true;
};
if (getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "thermalVision") isEqualTo 0) then 
{
    _vehicleObject disableTIEquipment true;
};

/////////////////////////////
///////// Tanks DLC /////////
/////////////////////////////

/////////////////////////////
///// Rhino
/////////////////////////////

//if(_vehicleClassName == "B_AFV_Wheeled_01_cannon_F") then
//{
//    [_vehicleObject,["Sand",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1]] call BIS_fnc_initVehicle;
//};
//if(_vehicleClassName == "B_T_AFV_Wheeled_01_cannon_F") then
//{
//    [_vehicleObject,["Green",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1]] call BIS_fnc_initVehicle;
//};
//if(_vehicleClassName == "B_AFV_Wheeled_01_up_cannon_F") then
//{
//    [_vehicleObject,["Sand",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1]] call BIS_fnc_initVehicle;
//};
//if(_vehicleClassName == "B_T_AFV_Wheeled_01_up_cannon_F") then
//{
//    [_vehicleObject,["Green",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1]] call BIS_fnc_initVehicle;
//};

/////////////////////////////
///// T-140
/////////////////////////////

if(_vehicleClassName == "O_MBT_04_cannon_F") then
{
    [_vehicleObject,["Hex",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "O_T_MBT_04_cannon_F") then
{
    [_vehicleObject,["GreenHex",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "O_MBT_04_command_F") then
{
    [_vehicleObject,["Hex",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "O_T_MBT_04_command_F") then
{
    [_vehicleObject,["GreenHex",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// Nyx
/////////////////////////////

if(_vehicleClassName == "I_LT_01_AT_F") then
{
    [_vehicleObject,["Jungle",1],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "I_LT_01_scout_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "I_LT_01_AA_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "I_LT_01_cannon_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///////// APC Tanks /////////
/////////////////////////////

/////////////////////////////
///// AFV-4 Gorgon
/////////////////////////////

if(_vehicleClassName == "I_APC_Wheeled_03_cannon_F") then
{
    [_vehicleObject,["Jungle",0],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};
if(_vehicleClassName == "B_APC_Wheeled_03_cannon_F") then
{
    [_vehicleObject,["Jungle",0],["showBags",1,"showCamonetHull",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// BTR-K Kamysh
/////////////////////////////

if(_vehicleClassName == "O_T_APC_Tracked_02_cannon_ghex_F") then
{
    [_vehicleObject,["GreenHex",1],["showBags",1,"showCamonetHull","showSLATHull",1,"showTracks",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "O_APC_Tracked_02_cannon_F") then
{
    [_vehicleObject,["Hex",1],["showBags",1,"showCamonetHull","showSLATHull",1,"showTracks",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// AMV-7 Marshall
/////////////////////////////

if(_vehicleClassName == "B_APC_Wheeled_01_cannon_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showSLATTurret",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_APC_Wheeled_01_cannon_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showSLATTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// CRV-6e Bobcat
/////////////////////////////

if(_vehicleClassName == "B_APC_Tracked_01_CRV_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showAmmoBoxes",1,"showRoadWheels",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_APC_Tracked_01_CRV_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showAmmoBoxes",1,"showRoadWheels",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// FV-720 Mora
/////////////////////////////

if(_vehicleClassName == "I_APC_tracked_03_cannon_F") then
{
    [_vehicleObject,["Sand",0],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showSLATTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// IFV-6a Cheetah
/////////////////////////////

if(_vehicleClassName == "B_APC_Tracked_01_AA_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_APC_Tracked_01_AA_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// IFV-6c Panther
/////////////////////////////

if(_vehicleClassName == "B_T_APC_Tracked_01_rcws_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_APC_Tracked_01_rcws_F") then
{
    [_vehicleObject,["Sand",1],["showBags",1,"showCamonetHull",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// MSE-3 Marid
/////////////////////////////

if(_vehicleClassName == "O_APC_Wheeled_02_rcws_v2_F") then
{
    [_vehicleObject,["Hex",1],["showBags",1,"showCamonetHull",1,"showCanisters",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "O_T_APC_Wheeled_02_rcws_v2_ghex_F") then
{
    [_vehicleObject,["GreenHex",1],["showBags",1,"showCamonetHull",1,"showCanisters",1,"showSLATHull",1,"showTools",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// ZSU-39 Tigris
/////////////////////////////

if(_vehicleClassName == "O_APC_Tracked_02_AA_F") then
{
    [_vehicleObject,["Hex",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showTracks",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "O_T_APC_Tracked_02_AA_ghex_F") then
{
    [_vehicleObject,["GreenHex",1],["showCamonetHull",1,"showCamonetTurret",1,"showSLATHull",1,"showTracks",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
/////////// Tanks ///////////
/////////////////////////////

/////////////////////////////
///// M2A1/4 Slammer/UP
/////////////////////////////

if(_vehicleClassName == "B_T_MBT_01_cannon_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_MBT_01_TUSK_F") then
{
    [_vehicleObject,["Olive",1],["showBags",1,"showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// MBT-52 Kuma
/////////////////////////////

if(_vehicleClassName == "I_MBT_03_cannon_F") then
{
    [_vehicleObject,["Olive",0],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};


/////////////////////////////
///// T-100 Varsuk
/////////////////////////////

if(_vehicleClassName == "O_T_MBT_02_cannon_ghex_F") then
{
    [_vehicleObject,["GreenHex",1],["showCamonetHull",1,"showCamonetTurret",1,"showWoodLog",1]] call BIS_fnc_initVehicle;
};

/////////////////////////////
///// M5 Sandstorm
/////////////////////////////

if(_vehicleClassName == "B_MBT_01_mlrs_F") then
{
    [_vehicleObject,["Sand",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

if(_vehicleClassName == "B_T_MBT_01_mlrs_F") then
{
    [_vehicleObject,["Olive",1],["showCamonetHull",1,"showCamonetTurret",1]] call BIS_fnc_initVehicle;
};

_vehicleObject

 

 

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.