Results 1 to 3 of 3

Thread: How do you implement "optional gear"?

  1. #1

    Unhappy

    In some missions you have the ability to choose a different weapon in the 'gear' section of the briefing. How do you implement this in your own custom mission?

  2. #2
    you need the description.ext file and in it something like this:
    </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Weapons
    {
    *** ***class M16
    *** ***{
    *** *** *** *** count = 4;
    *** ***};

    *** ***class M16GrenadeLauncher
    *** ***{
    *** *** *** ***count = 2;
    *** ***};
    };

    class Magazines
    {
    *** ***class M16
    *** ***{
    *** *** *** ***count = 40;
    *** ***};

    *** ***class GrenadeLauncher
    *** ***{
    *** *** *** ***count = 40;
    *** ***};
    };
    [/QUOTE]<span id='postcolor'>
    beware of the weapon names, they&#39;re not always the same for both guns and ammo.. but you probably know that.

    hope this was what you needed.
    I won't not promise to avoid refraining from harming you.

  3. #3

    Thumbs up

    Allright, thanks man.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •