Page 1 of 1

Custom layers change cordonate

Posted: Fri Nov 05, 2021 4:46 pm
by Norm49
Hi I am working on a scenario using a fictive country (now New Zealand) I want to import custom layer but form military base. I will use base form other country but when I import them it all ways goes to the position of the real base. Is it possible to moue the Custom layers to new coordinate inside my fictive country. I can I do that?

Thanks for your answer.

RE: Custom layers change cordonate

Posted: Fri Nov 05, 2021 6:39 pm
by Kushan04
You can but you need to edit the position in the associated world file. Open it as a text file.

I believe the location there is the top left or top right corner of the image. Will take some trail and error.

RE: Custom layers change cordonate

Posted: Fri Nov 05, 2021 9:35 pm
by kevinkins
It really depends on what you are trying to do with the scenario. You can add a single airbase to any part of the world and claim it as friendly. The import is nice, but dated. You can place an airbase on the exact location you want. Don't worry about all the facilities that can be imported. Most of the time they are irelevant within the border scope of the scenario. Single unit airfields are a gem.

RE: Custom layers change cordonate

Posted: Fri Nov 05, 2021 10:14 pm
by thewood1
I might be wrong, but I think he's talking about the map layer image of an airbase from one part of the world and using it in another. Not necessarily the actual game unit facility.

RE: Custom layers change cordonate

Posted: Sat Nov 06, 2021 9:43 am
by 1nutworld
ORIGINAL: thewood1

I might be wrong, but I think he's talking about the map layer image of an airbase from one part of the world and using it in another. Not necessarily the actual game unit facility.


That's what I understood the question to be. For what it's worth.

RE: Custom layers change cordonate

Posted: Sat Nov 06, 2021 6:10 pm
by Norm49
ORIGINAL: thewood1

I might be wrong, but I think he's talking about the map layer image of an airbase from one part of the world and using it in another. Not necessarily the actual game unit facility.

Yes that was the question. My new problem is after I close the editor all the custom layer I import were remove. Do I have to re import them every time?
ORIGINAL: kevinkins

It really depends on what you are trying to do with the scenario. You can add a single airbase to any part of the world and claim it as friendly. The import is nice, but dated. You can place an airbase on the exact location you want. Don't worry about all the facilities that can be imported. Most of the time they are irelevant within the border scope of the scenario. Single unit airfields are a gem.

Single unit airfield is not good for me since in the scenario the base will be attack. For most of the facility I wanted to add them but that may had been a mistake. I realize now that military base have WAYS MORE building that a thought. I did think abut importing a base for a other country and just move them but I wanted the add level of detail. On thing that i also wanted is army base and industrial complex and near by civilian area to force player to be very careful with the how that attack is perform and what weapon is use.

RE: Custom layers change cordonate

Posted: Sat Nov 06, 2021 6:53 pm
by stww2
Do I have to re import them every time?


Yes, I believe custom layers have to be manually loaded every time you load the scenario or a save of the scenario.

One thing you might consider if you want to cut down on the number of objects in the scenario (if that is a problem) is to only include the airfield buildings that the player is excepted to attack. Although obviously if you are planning for aircraft to be launched from it you will also need the requisite buildings for the airfield to be operational. But things like fuel tanks, barracks, and administrative buildings, unless targets for the player's or CPU's strikes (depending on which side the airfield is on), are purely window dressing for gameplay purposes, making them prime candidates for removal if scenario performance is becoming an issue.

Re: RE: Custom layers change cordonate

Posted: Wed Feb 08, 2023 3:12 pm
by ProMitreCorp
stww2 wrote: Sat Nov 06, 2021 6:53 pm
Do I have to re import them every time?


Yes, I believe custom layers have to be manually loaded every time you load the scenario or a save of the scenario.
Ugh. There's no Lua script that can be used to load custom layer images?
Having to be manually loaded each time a scenario is opened makes them pretty useless from a scenario crafting angle.

Re: Custom layers change cordonate

Posted: Wed Feb 08, 2023 3:39 pm
by Dimitris
Pretty sure map overlays can be auto-loaded through the use of attachments? : https://command.matrixgames.com/?p=3710