Jump to content

Photo
- - - - -

Accidently placed arma2 unit in OA only mission, how to clean up the sqm?


  • Please log in to reply
3 replies to this topic
Thread Starter
alleycat
alleycat

    First Sergeant

  • Members
  • 900 posts

Posted 02 May 2012 - 17:37 #1

I accdidently placed a unit from arma2 while making missions which are supposed to load for OA only clients. What entry here in the sqm do I have to remove to clean it?


addOns[]=
	{
		"cacharacters_e",
		"takistan",
		"caweapons_e",
		"caweapons_e_ammoboxes",
		"camisc_e",
		"camisc3",
		"cawheeled_e_hmmwv",
		"CAWheeled_E",
		"ca_missions_alternativeinjurysimulation",
		"ca_missions_battlefieldclearance"
	};
	addOnsAuto[]=
	{
		"cacharacters_e",
		"ca_missions_alternativeinjurysimulation",
		"ca_missions_battlefieldclearance",
		"caweapons_e_ammoboxes",
		"camisc_e",
		"caweapons_e",
		"camisc3",
		"cawheeled_e_hmmwv",
		"CAWheeled_E",
		"takistan"
	};


maturin
maturin

    First Lieutenant

  • Members
  • 5727 posts

Posted 02 May 2012 - 17:43 #2

ca is the code for ArmA 2, so it's probably cacharacters_e.

But this is the dodgy way to do it. Just look up the classnamed for the unit you added, and search for it in the sqm. You can delete him from there. Just make a backup in case it screws up your sqm formatting.

Edit: And I'm not sure, but it may be that if you delete everything in addons, the missions itself will remained untouched and regenerate the list of required materials next time you save it.
My Chernarussian Civil War SP missions:
Enfilade Ambush
Autumn Siege

celery
celery

    First Lieutenant

  • Members
  • 5084 posts

Posted 02 May 2012 - 17:48 #3

Just clear the addon lists, load the mission and save it again. After deleting the Arma 2 unit of course.

Thread Starter
alleycat
alleycat

    First Sergeant

  • Members
  • 900 posts

Posted 02 May 2012 - 18:08 #4

I actually deleted the mission sqm while the mission was loaded in the editor and it generated a new one after pressing save. Thanks for the tip!