OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Eymerich on 21 Sep 2006, 09:15:18
-
This is the problem:
As you know, any time you place an unit in the editor mission and then save your mission Flashpoint make an automatic list stored in the mission.sqm.
Add-On
...
...
Addon Auto
...
...
Now, if you want to remove an addon from that 2 list you should do like this:
Removing the unit in the editor
Saving the mission
Open the mission's sqm file
and then remove by yourself the name of the add-on
Unfortunatly, there's one add-on that is immune to such purgation...
--> It is the Vit-Hind 1.23.
I've removed it in the editor, I've saved the mission and then
I've removed the Vit_addon by myself in addon an addon-auto list.
However, any time I save the mission this add-on (please note that the Add-on Is not present in Editor) magically returns...
How do the hell I can remove IT???
-
i would do it all manually if i were you.
take a note of the name of the offending unit/vehicle, then without touching flashpoint, open the mission.sqm and delete the reference to the addon in the addons list. remember to scroll down and check the intro and outro addon lists too.
then do a search for the name of the unit you placed in the editor. find it in the mission.sqm and delete the entire reference to the unit. save the mission.sqm, and then load the mission in flashpoint.
that should do the trick.
oh, and welcome to OFPEC! :thumbsup:
-
bedges is right, it's probably lurking deep in the mission.sqm somewhere you never suspected.
However, I have experienced strange things with OFP, including phantom units. Nothing on the map, nothing in the mission.sqm but its there all right, messing things up. The solution is to copy everything from the mission editor map and paste it onto a new map. Copy across as little empty space as possible because the problem is in that empty space somewhere and if you copy it across, well, you copy it across.
-
Guys thank you for your reply but really: there's no add-on vit in my mission.
And I'm sure because of a simple reason: I've open the mission.sqm and I've used the Serach option and the add-on exist only in addons and addon auto. Absurd... :banghead:
However, I've post this problem even in the Bis forum. An User has suggested me to remove the add-on in the Res\Addon folder. I Can't try now 'cause I'm at work. I'll do this in the afternoon...
Oh by the way...
Thanks For your Welcome Message.
I've really appreciated it!
:clap:
Regards
Nicolas
:wave:
-
I had a same problem in the past, and I solve it like macguba suggesting, only I didn't use copy and paste - it's difficult to paste precisely on the needed spot(s), but merge function. Then save it under a new name of course, then check if is alright. If it is you can then delete a previous file and rename your new file correctly.
-
Did you probably already export your mission to single missions or multiplayer missions?
If so you must take care of another thingy.
When saving a mission in sqm (open source) format, all changes afterwards will be
taken into account. But when exporting a mission to sp/mp you create a pbo file, which
cannot be altered afterwards anymore by exporting it again. It will stay the same old
file like before. You need to delete the file before exporting it again so that your changes
become hot.
If you remove an addon from addons and addonsAuto and it appears again in that list
after saving the mission (or previewing it in multiplayer), there's still an object inside the
mission, refering to it.
Maybe you could attach your mission.sqm here so that we can help you searching if there's
still something refering to it (you know - 4 or 6 or even more eyes can see better than 2).
~S~ CD
-
If you place a JAM soldier and a BAS unit with JAM weapons in the editor, BAS and JAM will be listed under Addons (and JAM will probably pop up under addons auto as well). If you remove the JAM soldier from the editor, then delete JAM from the mission.sqm you will still face the JAM addon upon loadong the mission. Why? Because the BAS unit requires JAM, hence JAM will show up under addons auto. Maybe some other unit requires the addon you are removing?
-
Make sure there isnt another addon wanting that addon. Sometimes this can cause it.
-
However, I've post this problem even in the Bis forum. An User has suggested me to remove the add-on in the Res\Addon folder. I Can't try now 'cause I'm at work. I'll do this in the afternoon...
That's what I think, too. Some addons are so bugged, that they'll be added to every mission.sqm as long as they are loaded at Flashpoint start up.
You've better control about the final mission.sqm status when you use an external tool to create the pbo.
-
I has the same problem with BAS Kiowa, when I was just using the BIS version. To solve the problem, I had to disable my BAS addon folder and save again.