Home   Help Search Login Register  

Author Topic: Addons in a mission.  (Read 663 times)

0 Members and 1 Guest are viewing this topic.

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Addons in a mission.
« on: 31 Dec 2004, 14:44:02 »
I have this problem, and its been happening a lot. I've been making missions, and when I come to load them after deleting an addon, it says someting like 'Cannot load mission, missing addons 'DKM_MOD'', even though I didn't use that addon. Is there any way to prevent this? Or fix it after its done? Also, I don't really want people to have to download a load of addons that arn't in the mission in order to play it.  :-\

Can anyone help?
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Cpt. Red Nain

  • Guest
Re:Addons in a mission.
« Reply #1 on: 31 Dec 2004, 14:53:52 »
maybe by editing your "mission.sqm", by removing in the addon list the ones you are sure you aren't using...

but be careful, afterall it's the "mission.sqm"  ;)


HAPPY NEW YEAR TO ALL OFPEC  ;D

AK-Chester

  • Guest
Re:Addons in a mission.
« Reply #2 on: 31 Dec 2004, 15:04:30 »
Yup. Open the mission.sqm with Notepad (or similar) and remove all addon entries that are not used (anymore) from the addon list. Also make sure that all needed addons are listed there (can be quiet a pain in the a** to figure that out, because it's class names, not *.pbo names that are listed there).
Code: [Select]
class Mission
{
   addOns[]=
   {
      "sebnam_vha",
      "sebnam_vh",
      "sebnam_wp",
      "sebnam_nv",
      "sebnam_us",
      "editorupdate102",
      "sebnam_vc",
      "sebnam_ci",
      "sebnam_a",
      "sebnam_1a",
      "sebnam_ls",
      "Kolo",
      "bis_resistance",
      "sebnam_s",
      "sebnam_m"
   };
...
If your mission has (or once had) an in- or outro you should also check the *.sqm for those classes.
Example, no intro:
Code: [Select]
class Intro
{
   randomSeed=4687363;
   class Intel
   {
   };
};

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Addons in a mission.
« Reply #3 on: 31 Dec 2004, 15:57:34 »
Thanks guys. It worked. Your a great help  ;D
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Cpt. Red Nain

  • Guest
Re:Addons in a mission.
« Reply #4 on: 31 Dec 2004, 16:45:37 »
youre welcome  :)