OpenXcom Forum

Modding => Help => Topic started by: Galdred on February 07, 2021, 10:41:53 pm

Title: map arrangement
Post by: Galdred on February 07, 2021, 10:41:53 pm
How are map "blocks" arranged for a given mission?
Are there higher level maps that indicates which blocks are available at each position? Are there connectors between blocks, or connection rules?
I looked in the map editor, but I could only see the block themselves, no higher level logic to arrange them.
Title: Re: map arrangement
Post by: Meridian on February 07, 2021, 11:16:40 pm
Yes, blocks are put together into a map using a map script.

You can find examples of map scripts in vanilla ruleset file called map mapScripts.rul

see also: https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)#Map_Scripts
Title: Re: map arrangement
Post by: Galdred on February 08, 2021, 09:08:18 pm
Thanks!
The script file is simpler than I thought.
So roads can be placed between blocks on some maps?
Title: Re: map arrangement
Post by: Meridian on February 08, 2021, 09:32:28 pm
Yes, like for example terror mission maps.