Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: selecting weapons in the brief  (Read 748 times)

0 Members and 1 Guest are viewing this topic.

Offline royalman51

  • Members
  • *
  • Hi There
selecting weapons in the brief
« on: 17 Oct 2005, 13:32:43 »
I the campaing missions, you can somtimes select your own weapons. How can i do this to my own mission. I know it has some this to do with the init.sqs file. Can some1 help

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:selecting weapons in the brief
« Reply #1 on: 17 Oct 2005, 13:58:59 »
Actually mate, its in the description.ext file.

Create a description.ext file in you mission folder, then add the following:

Code: [Select]
class CfgWeapons
{
class M16{count=1;};
class MyWeapon{count=1;};
};

class CfgMagazines
{
class M16{count=1;};
class MyWeaponMag{count=1;};
};
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline royalman51

  • Members
  • *
  • Hi There
Re:selecting weapons in the brief
« Reply #2 on: 17 Oct 2005, 14:08:25 »
Tnx ;D