Home   Help Search Login Register  

Author Topic: Damaged mission is not happening  (Read 2039 times)

0 Members and 3 Guests are viewing this topic.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Damaged mission is not happening
« on: 26 Nov 2010, 23:34:50 »
Hi, I'm a little confused. :confused: What happens is that I think the normal mission, after I open the SQM acrivo I get this on the part of the addons:

addons [] =
{
"G36a"
"DrKk_MH6"
"AH64"
"AshSnowBradley"
"BMP2"

AshSnowBradley I get the M2A2 is the Arctic. That car did not put it in the mission and I get in the part of the addons, to what I play I get unable to load missing Extras, "" AshSnowBradley "Not understanding that is what happens. :dunno: He who knows true mission could please tell me I'd appreciate it.
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline RKurtzDmitriyev

  • Former Staff
  • ****
Re: Damaged mission is not happening
« Reply #1 on: 27 Nov 2010, 01:25:49 »
It sounds like the old unnecessary addons bug. See here.
« Last Edit: 17 Dec 2010, 01:19:02 by savedbygrace »
The OFP Editing Center wishes to remind you that the faithful COMREF will never threaten to stab you and, in fact, cannot speak.
However, in the event that it does speak, you are encouraged to heed its advice. ;)

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: Damaged mission is not happening
« Reply #2 on: 27 Nov 2010, 16:12:54 »
Apparently does not work out this: An Error Has Occurred!
The topic or board You are looking for Appears To Be Either missing or off limits to you. :no: >:(
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Walter_E_Kurtz

  • Guest
Re: Damaged mission is not happening
« Reply #3 on: 28 Nov 2010, 01:21:18 »
Firstly, which version of OFP are you using?

1. As you have done, open mission.sqm with a text editor and delete all the listed Addons.
2. Remove all addons that you do not wish to use in your mission from <OFP>\Addons   (use Modfolders or see Hawkins' Tutorial)
3. Start OFP and go to the Mission Editor. Load your mission.
4. Preview and then Save the mission. The Addon list should be correctly updated.


Here's a copy of the relevant post by Killswitch, but it is of more use to addon-makers rather than mission authors: Quote from: Killswitch on 22 Dec 2005, 00:04:40

Broken addons

There is a persistent and annoying missing addon bas_repairh. This is nonsense and is a scripting failure, the name of the pbo is bas_repair the name of the addon is bas_repairH
This is not a "scripting failure". It is a configuration error within the addon BAS_repair.pbo. Like far too many addons out there, this one doesn't properly declare the addons it depends on. The funny part is that none of the missions use anything from this addon, yet it causes trouble anyhow. The reason? Some of the campaign missions feature a BIS Apache (AH64)...

I'll explain. The BIS Apache is an addon. The addon BAS_repair.pbo depends on this addon since it defines a new vehicle class - a descendant of the AH64 class. Since the addon doesn't properly declare this fact, you get that symptom - "Cannot load mission - missing addon bas_repair".

If you load OFP with that addon, you will get this error message in all missions that have a BIS Apache in it.

The solution is to fix the BAS_repair.pbo addon. Open it up and make sure the CfgPatches part of it reads
Code: [Select]
class CfgPatches
{
   class BAS_repairH
   {
      units[] = {bas_repairHW,bas_repairHE,bas_repairHR,bas_cobra_a,bas_ah64_a,bas_mi24_a,bas_mi17_a};
      weapons[] = {};
      requiredVersion = 1.90;
      requiredAddons[] = {"AH64"};
   };
};
Take note of how it now properly declares its addon dependencies. That will take care of the problems with BAS_repair.pbo for you and you can concentrate on playing missions instead.

Again: this error is not Marvin's fault. It's lacking BIS documentation and the resulting less-than-stellar configs that are so common out there...
« Last Edit: 30 Nov 2010, 01:49:17 by Walter_E_Kurtz »

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: Damaged mission is not happening
« Reply #4 on: 28 Nov 2010, 01:51:57 »
I am using Version 1.96 and where I can download text editor
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Walter_E_Kurtz

  • Guest
Re: Damaged mission is not happening
« Reply #5 on: 28 Nov 2010, 01:58:07 »
Windows NotePad is fine. Use whatever you used to
open the SQM acrivo I get this on the part of the addons

Offline RKurtzDmitriyev

  • Former Staff
  • ****
Re: Damaged mission is not happening
« Reply #6 on: 28 Nov 2010, 17:13:41 »
I always use Geany.
The OFP Editing Center wishes to remind you that the faithful COMREF will never threaten to stab you and, in fact, cannot speak.
However, in the event that it does speak, you are encouraged to heed its advice. ;)