Jump to content
Sign in to follow this  
nominesine

Editing the mission.sqm

Recommended Posts

I always wanted to know: What is the difference between addons listed under the paragraph:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">addOns[]=

and

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">addOnsAuto[]=

in the mission.sqm?

I know it's a list of required addOns for the mission, but why is it repeated? And why are there more addOns in the first part than the second?!?

This is a quote from a mission I'm making:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Mission

{

   addOns[]=

   {

      "RFJ_mercs",

      "BAS_OPFOR",

      "bis_resistance",

      "bas_o",

      "jam_magazines"

   };

   addOnsAuto[]=

   {

      "RFJ_mercs",

      "BAS_OPFOR",

      "bas_o"

   };

Why do the jam and bis addons show up under the first category but not in the second one?

Share this post


Link to post
Share on other sites

Never mind. I found the answer to the question with a little help from Ofpec.

addOns are required because they are placed on the map when building the mission. addOnsAuto are addOns that the above mentioned unit requires, but who aren´t placed in the editor (JAM weapons for BAS units, etc etc).

Check out this thread for more details if anybody is interested: http://www.ofpec.com/yabbse....start=0

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  

×