Jump to content

Sign in to follow this  
InRange

How do you implement "optional gear"?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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;

   };

};

<span id='postcolor'>

beware of the weapon names, they're not always the same for both guns and ammo.. but you probably know that.

hope this was what you needed.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×