Author Topic: map arrangement  (Read 232 times)

Offline Galdred

  • Sergeant
  • **
  • Posts: 10
    • View Profile
map arrangement
« 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.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 6803
  • OXCE developer
    • View Profile
    • My Wiki
Re: map arrangement
« Reply #1 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
« Last Edit: February 07, 2021, 11:18:14 pm by Meridian »

Offline Galdred

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: map arrangement
« Reply #2 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?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 6803
  • OXCE developer
    • View Profile
    • My Wiki
Re: map arrangement
« Reply #3 on: February 08, 2021, 09:32:28 pm »
Yes, like for example terror mission maps.