OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: crushnik on 25 Mar 2003, 17:59:10

Title: Weapon Selection
Post by: crushnik on 25 Mar 2003, 17:59:10
What is the best way to select weapons for your troops? Is scripting the only way, or is there a way to get to the load selection screen like you can in campaign mode?
Title: Re:Weapon Selection
Post by: Knut Erik on 25 Mar 2003, 18:32:30
You must use scripting....
In the description file put this...


class Weapons
{
class Tokarev
{
count = 1;
};
class Ak74
{
count = 2;
};
};



You can enter more weapons here...
Then for the magazines:

class Magazines
{
class ak74
{
count = 12;
};
class HandGrenade
{
count = 10;
};
class TokarevMag
{
count = 4;
};
};


Check the unofficial commandreferance for more info... 8)