• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS MCX Batch Convert to add prefix to object names

Messages
48
Country
us-florida
Does the Batch convert wizard have the ability to add a prefix to model names on export? It could be very handy when searching for a specfic model set in the MSFS object list during scenery building.

Stiletto2
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

I know this has been discussed before, but I can't remember if I implemented it. I'll have to check in the source code.

You want to prefix all models with the same name?
 
Messages
48
Country
us-florida
Hi,

I know this has been discussed before, but I can't remember if I implemented it. I'll have to check in the source code.

You want to prefix all models with the same name?
I want to prefix all model names with the same prefix. So for example, "buoy" becomes "xyz_buoy" and "raft" becomes "xyz_raft" etc. You already have the ability in MCX to name all the models the same name with sequential suffix but that is not what I need. The advantage of the same prefix is that I can identify my models in the MSFS objects list since they would all have the same prefix. Some of the commerical developers already have this for their models.

Stiletto2
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

I have modified the existing Rename operator in the batch wizard now. In the next development release you can choose if you want to prefix or rename the object with the provided name.

So let's assume you have a library with the following names:
  • ObjectA
  • ObjectB
  • ObjectC
When you use rename with a name of "NewName" the names become:
  • NewName000
  • NewName001
  • NewName002
If you use prefix with a name of NewName the names become:
  • NewNameObjectA
  • NewNameObjectB
  • NewNameObjectC
 
Messages
48
Country
us-florida
Hi Arno,

That sounds great! Also, did you get a chance to see if you could add a batch convert option to set the Day/Night option to True for any textures that have a _lm texture to match? I just went through 133 objects updating the Day/Night switch so it would really be helpful if you could do it.

Thanks.

Stiletto2
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
No, I didn't set the day/night by default yet. Of course you can always make a material template to update that property in batch mode.
 
Messages
48
Country
us-florida
HI Arno,

Hmmm......assigning material template would set all of the texture materials to day/night = True....even the ones that don't have night textures. However,
I don't think that hurts anything when displaying in MSFS. I will try it.

Stiletto2
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
I'll try to implement the day/night option is evening.
 
Messages
48
Country
us-florida
Just tested the new release and it works like a charm for me. As a byproduct of converting to glTF, the Day/Night switch is automatically set to True.
Thanks, Arno!

Stiletto2
 
Top