Jump to content

How to search / select in Mission Editor for "Model Definitions" of static planes, vehicles?


Recommended Posts

Posted

Hi All,

I want to delete from a huge template mission file all static planes, vehicles from airfields for usage of the airfields for different nations.

All elements have no specific name, all called "Block".

I want to search in the ME for the "Model" e.g:

Model = "graphics\blocks\static_il2.mgm";

or

Model = "graphics\blocks\static_opel.mgm";

Is it possible to search / select these "Model" definitions with the /Search and Select/Find Mission Objects function or with a similar search?

Thanks in Advance!

 

Posted

Why not use the default templates from 1C? Go to your data/templates folder to find these templates.

  • Thanks 1
Posted
53 minutes ago, Sketch said:

Why not use the default templates from 1C? Go to your data/templates folder to find these templates.

Thanks I will check, but apart from this solution do you know how to search select these objects (if possible)?

Posted

I know a solution.

But its NOT possible with the mission editor only..

 

You said that they are all named as 'Block'

 

Open the '.mission File' with a text editor (notepad, ..., I do NOT recommend word!)

Search for the wanted mgm_model and move to the 'found' line.

Scroll a little bit up and you'll see the 'Name  = "Block"' line

Simply change the name to 'REMOVE' and afterwards save the file

 

After reloading that file with the editor (will take a while!)

you can (hopefully) search for and select all 'Blocks' named as 'REMOVE'  and delete them...

 

Deci

 

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...