PDA

View Full Version : Weapons in cargo



granQ
Dec 22 2002, 00:12
since i "import" the class from like the m2a2 or the m113, or maybe the bmp i get weapons in cargo, east or west weapons. Now the problem is i want to do my own loadout of weapons in cargo. How/can it be done ??

VXR
Dec 22 2002, 02:57
by adding something like this class

example
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">class TransportWeapons
{
class _w_XMS
{
weapon="XMS";
count=4;
};
class _w_LAWLauncher
{
weapon="LAWLauncher";
count=2;
};
class _w_NVGoggles
{
weapon="NVGoggles";
count=5;
};
class _w_Binocular
{
weapon="Binocular";
count=5;
};
};
class TransportMagazines
{

class _xx_M4
{
magazine="M4";
count=20;
};
class _xx_M21
{
magazine="M21";
count=10;
};
class _xx_LAWLauncher
{
magazine="LAWLauncher";
count=10;
};
class _xx_Flare
{
magazine="Flare";
count=10;
};
class _xx_FlareGreen
{
magazine="FlareGreen";
count=10;
};
class _xx_FlareRed
{
magazine="FlareRed";
count=10;
};
class _xx_FlareYellow
{
magazine="FlareYellow";
count=10;
};
class _xx_SmokeShell
{
magazine="SmokeShell";
count=10;
};
class _xx_SmokeShellRed
{
magazine="SmokeShellRed";
count=10;
};
class _xx_SmokeShellGreen
{
magazine="SmokeShellGreen";
count=10;
};
class _xx_Handgrenade
{
magazine="Handgrenade";
count=10*1; ;[/QUOTE]<span id='postcolor'>

granQ
Dec 22 2002, 08:18
can test again, but think last since i add new classes it doesn&#39;t overwrite the old. Like i still got rpg from the bmp even if i want it to be a west vehicle.. but i will test some more.

EDIT: Have tested work perfekt. Thing is, i can put weapons in it.. ingame that is. The game consider it full and the ammo drops outside the vehicle. anyway to add "space" for more weapons ?