Home   Help Search Login Register  

Author Topic: Gear - Briefing??  (Read 453 times)

0 Members and 2 Guests are viewing this topic.

LucasOFP

  • Guest
Gear - Briefing??
« on: 26 Oct 2004, 11:32:42 »
Hey,
Ive only just worked out how to do a briefing the Right Way and well im having a spot of bother as they say ;)
Gear
Now how do i get this to be changeable by the player??? like say i have given him a GMI M60D (with the bag) and say he dint want that and he wanted an M16+M203Launcher. How wouldi do all this???
tar
Luke

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:Gear - Briefing??
« Reply #1 on: 26 Oct 2004, 11:56:31 »
The way you add selectable gear is with the description.ext. This is a file that accopanies your mission and stores information about your mission. Here is an example of weapon selection:

class Weapons
{

class M60
{
count = 2
};

class M16GrenadeLauncher
{
count = 4
};
};

class Magazines
{

class M16
{
count = 24
};

class M60
{
count = 8
};

class Grenade
{
count = 12
};

class HandGrenade
{
count = 8
};

};

This is a strait copy and paste from the description and it allows the player to select between the M60 and M16 with grenades and also choose their ammo. You can obtain a list of all weapons and ammo form the editors depo. Description.ext can be editied with notepad.
« Last Edit: 26 Oct 2004, 11:58:36 by C0LDSt33L »

LucasOFP

  • Guest
Re:Gear - Briefing??
« Reply #2 on: 26 Oct 2004, 14:51:39 »
cool, thx for ya help ;)