Home   Help Search Login Register  

Author Topic: Weapon selection not showing up  (Read 476 times)

0 Members and 1 Guest are viewing this topic.

Gooner861

  • Guest
Weapon selection not showing up
« on: 12 Jul 2004, 16:04:58 »
Sorry yet again there is a problem. This is my description.ext with custom music and the weapon selection:

class CfgMusic
{
   // List of music tracks (.ogg files without the .ogg extension)
   tracks[] = {song25, song3, song5};

   // Class definition needed for each music track
   class song25
   {
      // Name to display in mission editor
      name = "song25";
      // Music path, volume, pitch
      sound[] = {\music\song25.ogg, db + 0, 1.0};
   };
   class song3
   {
      // Name to display in mission editor
      name = "song3";
      // Music path, volume, pitch
      sound[] = {\music\song3.ogg, db + 0, 1.0};
   };
   class song5
   {
      // Name to display in mission editor
      name = "song5";
      // Music path, volume, pitch
      sound[] = {\music\song5.ogg, db + 0, 1.0};
   };
};

class Weapons
{
   // Add the weapons to the mission gear
   class Binocular
   {
      Count = 2;
   };
   class Revolver
   {
      Count = 2;
   };
   class RPGLauncher
   {
      Count = 2;
   };
   class Steyr
   {
      Count = 2;
   };
   class M60
   {
      Count = 2;
   };
   class LAWLauncher
   {
      Count = 2;
   };
   class M16
   {
      Count = 2;
   };
   class Ingram
   {
      Count = 3;
   };
   class HK
   {
      Count = 3;
   };
   class GlockS
   {
      Count = 3;
   };
   class Glock
   {
      Count = 3;
   };
   class Beretta
   {
      Count = 3;
   };
   class 6G30
   {
      Count = 3;
   };
};

class Magazines
{
   // Add the magazines to the mission gear
   class HandGrenade
   {
      Count = 5;
   };
   class UZIMag
   {
      Count = 15;
   };
   class SteyrMag
   {
      Count = 15;
   };
   class RevolverMag
   {
      Count = 15;
   };
};

I've never dun a weapn selection so dunno if i've just made a silly mistake.


Cheers

Gooner

Ps. By the way i used Chris's OFP script maker thingy.

Dubieman

  • Guest
Re:Weapon selection not showing up
« Reply #1 on: 12 Jul 2004, 21:38:08 »
No double posting, I kinda answered this Q in the other thread... ;) :P

:gunman:  :afro:

Gooner861

  • Guest
Re:Weapon selection not showing up
« Reply #2 on: 12 Jul 2004, 21:55:25 »
Yeh whoops, i thought no one else wud look at the other thread. Whoops oh well. Thanks anyway  ;D

Gooner.