Home   Help Search Login Register  

Author Topic: problem with new unit pbo file :(  (Read 1033 times)

0 Members and 1 Guest are viewing this topic.

colbob

  • Guest
problem with new unit pbo file :(
« on: 24 Feb 2004, 23:20:18 »
 ???
this is what i've got and cant figure why it dont work?
any help would be appreciated. Its just a couple of new stealth/specialop units i need for mission im writing. Im on GOTY version using some 1.85 weapons. I have tried changing wepaons to none-resistnace but it still dont work?!?

// 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 WALsplinterf
   {
      units[] = {WALsplinterf};
      weapons[] = {};
      requiredVersion = 1.85;
   };
   class WALsplinterh
   {
      units[] = {WALsplinterh};
      weapons[] = {};
      requiredVersion = 1.85;
   };
   class WALsplinterd
   {
      units[] = {WALsplinterd};
      weapons[] = {};
      requiredVersion = 1.85;
   };
   class WALsplinters
   {
      units[] = {WALsplinters};
      weapons[] = {};
      requiredVersion = 1.85;
   
   };
};

class CfgVehicles
{
   class All{};
   class AllVehicles:All{};
   class Land:AllVehicles{};
   class Man:Land{};
   class Soldier: Man{};
   class SoldierWB: Soldier{};
   class SoldierWsaboteur: SoldierWB{};
   class SoldierWSaboteurPipe: SoldierWsaboteur{};
   class WALsplinterf:SoldierWSaboteurPipe
   {
      displayName="splinterFireSupport";
      audible=0.0001;
      camouflage=0.2;
      armor = 15;
      weapons[]={"Throw","Put",G36A,Binocular,GlockS};
      magazines[]={G36aMag,G36aMag,G36aMag,G36aMag,GlockSMag,GlockSMag,GlockSMag,HandGrenade,HandGrenade};
   };
   class WALsplinterh:SoldierWsaboteur
   {
      displayName="splinterHeavySupport";
      audible=0.0001;
      camouflage=0.2;
      armor = 15;
      weapons[]={"Throw","Put",M60,Binocular,GlockS};
      magazines[]={M60,M60,GlockSMag,GlockSMag,GlockSMag,HandGrenade,HandGrenade};
   };
   class WALsplinterd:SoldierWsaboteur
   {
      displayName="splinterDemolition";
      audible=0.0001;
      camouflage=0.2;
      armor = 15;
      weapons[]={"Throw","Put",HK,Binocular,GlockS,PipeBomb};
      magazines[]={HK,HK,HK,GlockSMag,GlockSMag,PipeBomb,PipeBomb,PipeBomb};
   };
   class WALsplinters:SoldierWsaboteur
   {
      displayName="splinterSniper";
      audible=0.0001;
      camouflage=0.2;
      armor = 15;
      weapons[]={"Throw","Put",M21,Binocular,GlockS};
      magazines[]={M21,M21,M21,M21,GlockSMag,GlockSMag,GlockSMag,HandGrenade};
   };

};
« Last Edit: 25 Feb 2004, 22:13:55 by colbob »

Offline DesertFox

  • Members
  • *
    • Bloody Days Mod Homepage
Re:problem with new unit pbo file :(
« Reply #1 on: 25 Feb 2004, 17:19:19 »
Hey guys
You should tell us
* DesertFox the error message (if there is one) first....then I can help you maybe.... But I couldn't see any bracket errors......sry

Bye
DesertFox, Texturer of Bloody Days Mod

colbob

  • Guest
Re:problem with new unit pbo file :(
« Reply #2 on: 25 Feb 2004, 21:22:57 »
dude all it should do is create those new units.

i have created an addon b4 that has new units and new weapons/models/textures and sounds. WAL_4OKwest.pbo.

this is the contents of the config.cpp file which i compress with stuffpbo.

im not using new models/textures/sounds.

and i dont get error messages they just dont appear in the editor.

hope someone can help.
« Last Edit: 25 Feb 2004, 21:26:39 by colbob »

colbob

  • Guest
Re:problem with new unit pbo file :(
« Reply #3 on: 25 Feb 2004, 22:42:22 »
note to other editors always make sure your config.cpp isnt a config.cpp.txt file.

Doh!

Sorry for wasting anybodys time.
I shall now go and pull the pin on a grenade and stick it right up my ****