OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ruprecht on 09 Sep 2002, 06:53:06

Title: how to remove addons from mission file?
Post by: ruprecht on 09 Sep 2002, 06:53:06
I added some objects (supply UAZ, ...) into a mission and have now removed them. Everytime I save, it continues to add these objects into the addOns[] section in my mission.sqm file (even after I delete them by hand). I have looked to make sure dependencies do not exist that would cause this to happen. Does anyone have any idea how I can fix this?

Thanks!
Title: Re:how to remove addons from mission file?
Post by: Wires on 09 Sep 2002, 08:42:47
If they are not on the map, save it and then open the mission.sqm and delete all the addon entries, that works for me.
Title: Re:how to remove addons from mission file?
Post by: Gameer_77 on 09 Sep 2002, 11:45:06
One reason why it may keep appearing is cause your saving the mission after you've edited the .sqm. You have to load the mission, otherwise you are just saving over the stuff you have just deleted.

 8)PEACE
Title: Re:how to remove addons from mission file?
Post by: DeusRich on 09 Sep 2002, 20:03:09
Or what you can do, is make a new mission, and import everything from the first to it, and i think that will work - you could try using the merge thing, as that may work when it creates a new mission, and writes a new mission.sqm