Author Topic: OXC/OXCE+ map "groups" confusion  (Read 4033 times)

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
OXC/OXCE+ map "groups" confusion
« on: March 19, 2018, 10:42:23 pm »
from Ruleset Reference Nightly:

Code: [Select]
List (or single number) of groups this mapblock belongs to (used in mapscripts)

default usage:

    0 - Default
    1 - Landing Zone (for placing X-COM / alien craft) (used in addcraft/ufo command)
    2 - E-W Road (for city maps) (used in addline command)
    3 - N-S Road (for city maps) (used in addline command)
    4 - Road Crossing (for city maps) (used in addline command)

But... isn't "2" for XCom entry-exit maps?
Example, from the default ruleset:

Code: [Select]
      - name: UBASE_04
        width: 10
        length: 10
        groups: 2
        revealedFloors: 1

which is the alien base map with the green glowing floor, where xcom units are spawned.

I've always been using "2" in my custom terrains too, for entry-exit maps (and it seems to work).
But reading the Ruleset Reference Nighlty it says that "2" is for E-W roads.
What should I use then?


Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: OXC/OXCE+ map "groups" confusion
« Reply #1 on: March 19, 2018, 10:53:54 pm »
You can use whatever numbers you want, it all depends on what groups are set on the map blocks themselves.  This is just the default convention set for most terrains to let mapscripts be as consistent as possible.  Just make sure you don't combine the addLine horizontal command with default groups and setting entry/exit as group 2.

Offline Nord

  • Commander
  • *****
  • Posts: 1747
  • The Gate is open.
    • View Profile
Re: OXC/OXCE+ map "groups" confusion
« Reply #2 on: March 23, 2018, 03:52:35 am »
Only rule: mapblocks from group 1 is used to place under your craft, when you use
 
Code: [Select]
    - type: addCraftcommand.

Offline maymac789

  • Squaddie
  • *
  • Posts: 1
    • View Profile
    • le phuc tot nghiep
Re: OXC/OXCE+ map "groups" confusion
« Reply #3 on: March 24, 2018, 08:06:46 am »
hello, i'm new, i want to learn, but i don't know about it, i'm sorry when i posted my post on here, i don't want to create new topic, it is spam, please share me document to learn. thanks

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: OXC/OXCE+ map "groups" confusion
« Reply #4 on: March 26, 2018, 11:31:10 am »
hello, i'm new, i want to learn, but i don't know about it, i'm sorry when i posted my post on here, i don't want to create new topic, it is spam, please share me document to learn. thanks

Everything is here:
https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)