OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: royalman51 on 17 Oct 2005, 13:32:43

Title: selecting weapons in the brief
Post by: royalman51 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
Title: Re:selecting weapons in the brief
Post by: Tyger 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;};
};
Title: Re:selecting weapons in the brief
Post by: royalman51 on 17 Oct 2005, 14:08:25
Tnx ;D