Home   Help Search Login Register  

Author Topic: Handgun Problem  (Read 1246 times)

0 Members and 1 Guest are viewing this topic.

GalComT

  • Guest
Handgun Problem
« on: 09 Oct 2002, 15:38:27 »
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


Skaven

  • Guest
Re:Handgun Problem
« Reply #1 on: 09 Oct 2002, 16:01:57 »
The problem ain't in the cpp file the problem is in the p3d file check this out  ;)

http://www.ofpec.com/yabbse/index.php?board=13;action=display;threadid=1053

and this  ;)
http://www.ofpec.com/yabbse/index.php?board=13;action=display;threadid=904

If it doesn't help try making a search in the forum, there are a lot more threads about that problem  ;)
« Last Edit: 09 Oct 2002, 16:03:35 by Skaven »

GalComT

  • Guest
Re:Handgun Problem
« Reply #2 on: 09 Oct 2002, 16:06:04 »
Thanks a lot, I thought the problem was in the p3d file, because I couldn't find any difference bween my config and the one of fransons marines.

greetings