-
Notifications
You must be signed in to change notification settings - Fork 3
For developers
Johan de Jong edited this page Sep 29, 2019
·
2 revisions
This mod has the possibility to change the antenna on the backpacks, which is done by replacing the backpack itself for another model.
Therefor it's important to keep the naming of the objects correct so it can be handled by the scripts.
TAG_backpack_antenna_color
The four antennas are:
- whip: retracted Whip Antenna
- whipext: extended Whip Antenna
- blade: Blade Antenna
- DD: Short Rugged Antenna
For re-textures, or new backpack models, it's important to have the same backpack in all four variants (by antenna) available in the configs, otherwise the scripts won't be able to exchange the objects correctly.
Here's an example config for a re-texture:
class CfgMods {
class ADDON {
dir = "@ADDON";
name = "Name of Addon";
picture = "";
hidePicture = "true";
hideName = "true";
description = "This work is licensed under ARMA PUBLIC LICENSE SHARE ALIKE (APL-SA)";
};
};
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = 1.0;
requiredAddons[] = {
"tfw_radios_ilbe"
};
author = "YOUR_NAME";
version = 1.1;
versionStr = "1.1";
versionAr[] = {1,1,0};
};
};
class CfgVehicles {
class tfw_ilbe_whip_Base;
class tfw_ilbe_whipext_Base;
class tfw_ilbe_blade_Base;
class tfw_ilbe_DD_Base;
// Custom retextures
class TAG_ilbe_whip_COLOR: tfw_ilbe_whip_Base {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "YOUR_NAME";
displayName = "[ILBE] RT-1523G (ASIP) + Whip Antenna (COLOR)";
picture = "path\to\texture_icon.paa";
hiddenSelectionsTextures[] = {"path\to\texture_co.paa"};
};
class TAG_ilbe_whipext_COLOR: tfw_ilbe_whipext_Base {
// don't change the scopes, so it won't show up in the arsenal
author = "YOUR_NAME";
displayName = "[ILBE] RT-1523G (ASIP) + Whip Antenna Extended (COLOR)";
picture = "path\to\texture_icon.paa";
hiddenSelectionsTextures[] = {"path\to\texture_co.paa"};
};
class TAG_ilbe_blade_COLOR: tfw_ilbe_blade_Base {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "YOUR_NAME";
displayName = "[ILBE] RT-1523G (ASIP) + VHF Blade Antenna (COLOR)";
picture = "path\to\texture_icon.paa";
hiddenSelectionsTextures[] = {"path\to\texture_co.paa"};
};
class TAG_ilbe_dd_COLOR: tfw_ilbe_DD_Base {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "YOUR_NAME";
displayName = "[ILBE] RT-1523G (ASIP) + VHF/ UHF Antenna (COLOR)";
picture = "path\to\texture_icon.paa";
hiddenSelectionsTextures[] = {"path\to\texture_co.paa"};
};
};