I have a problem with the handgun, how would I have to change the following config to make the handgun on my new unit be visible.
// some basic defines
#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 true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536
class CfgPatches
{
class LT_Officer
{
units[] = {LT_Officer};
weapons[] = {};
requiredVersion = 1.01;
};
class LT_pilot
{
units[] = {LT_pilot};
weapons[] = {};
requiredVersion = 1.01;
};
};
class CfgModels
{
class Default
{
sections[]={};
sectionsInherit="";
};
class Man: Default {};
class LT_Officer: Man{};
class LT_pilot: Man{};
};
class CfgVehicles
{
class All{};
class AllVehicles:All{};
class Land:AllVehicles{};
class Man:Land{};
class Soldier:Man{};
class SoldierWB:Soldier{};
class SoldierWG: SoldierWB{};
class SoldierWMG: SoldierWB{};
class SoldierWLAW: SoldierWB{};
class SoldierWAT: SoldierWLAW{};
class SoldierWAA: SoldierWLAW{};
class SoldierWMortar: SoldierWG{};
class OfficerWNight: SoldierWB{};
class SoldierWSniper: SoldierWB{};
class OfficerW: SoldierWB{};
class SoldierWMedic: SoldierWB{};
class SoldierGB:Soldier{};
class SoldierGG: SoldierGB{};
class SoldierGMG: SoldierGB{};
class SoldierGLAW: SoldierGB{};
class SoldierGAT: SoldierGLAW{};
class SoldierGAA: SoldierGLAW{};
class OfficerGNight: SoldierGB{};
class SoldierEB: Soldier{};
class SoldierEG: SoldierEB{};
class SoldierEMG: SoldierEB{};
class SoldierELAW: SoldierEB{};
class SoldierEAT: SoldierELAW{};
class SoldierEAA: SoldierELAW{};
class OfficerENight: SoldierEB{};
class SoldierESniper: SoldierEB{};
class OfficerWHG: OfficerW {};
class LT_Officer: OfficerWHG
{
displayName="[LT] Officer";
model="\LT_troops\LT_soldier.p3d";
sensitivity=1.25;
accuracy=2.500000;
nightVision=1;
side =2;
camouflage=0.750000;
weapons[]={"G36a","beretta","Binocular","NVGoggles","Throw","Put"};
magazines[]={"G36amag","G36amag","G36amag","G36amag","G36amag","G36amag","HandGrenade","HandGrenade","HandGrenade","HandGrenade","berettaMAG","berettaMAG","berettaMAG","berettaMAG"};
};
class LT_pilot: SoldierWB
{
displayName="[LT] pilot";
model="\LT_troops\LT_pilot.p3d";
side =2;
weapons[]={"xms","beretta","Binocular","NVGoggles","Throw","Put"};
magazines[]={"m4","m4","m4","m4","berettaMAG","berettaMAG","berettaMAG","berettaMAG"};
};
};
please help me!
greatings GalComT