Author Topic: mapDataSets: - BLANKS ...?  (Read 3504 times)

Offline robin

  • Commander
  • *****
  • Posts: 1203
  • ULTIMATE ROOKIE
    • View Profile
mapDataSets: - BLANKS ...?
« on: August 17, 2018, 03:02:55 pm »
All terrains have "BLANKS" as the first dataset (followed by all the MCDs libraries used by the terrain itself).
They're not listed in MapView terrain definition, for example:

   files:City Terror Site
      ${dep}:ROADS urbits URBAN FRNITURE
      URBAN00:${dep}
      URBAN01:${dep}

yet in the ruleset:

  - name: URBAN
    mapDataSets:
      - BLANKS
      - ROADS
      - URBITS
      - URBAN
      - FRNITURE

Instead of blanks there is two MCDs: an empty one an a brown floor.
I guess they're used "internally" when any mcd present on that specific tile has been obliterated?
Do I have to manually define that a floor mcd, once destroyed, is to be turned into the one present inside BLANKS? Or is it done automatically?
Thanks

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: mapDataSets: - BLANKS ...?
« Reply #1 on: August 17, 2018, 03:14:59 pm »
It's turned automatically into the dirt floor in BLANKS if the tile is on the floor and on level 0.  MapVIEW has a different location for the BLANKS MCD that it just applies to all maps.

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
Re: mapDataSets: - BLANKS ...?
« Reply #2 on: August 17, 2018, 05:25:05 pm »
BLANKS has 2 entries: one of them is the 'empty' tile that is used on all maps to represent 'air', the other is a 'destroyed' tile that is used whenever the original ground tile is destroyed so that the battlescape doesn't contain empty ground squares.

Offline robin

  • Commander
  • *****
  • Posts: 1203
  • ULTIMATE ROOKIE
    • View Profile
Re: mapDataSets: - BLANKS ...?
« Reply #3 on: August 17, 2018, 06:39:06 pm »
Thanks for the answer

Offline robin

  • Commander
  • *****
  • Posts: 1203
  • ULTIMATE ROOKIE
    • View Profile
Re: mapDataSets: - BLANKS ...?
« Reply #4 on: August 17, 2018, 06:53:27 pm »
are you using original MV or you just using MapView II?

I always use MVII instead of other MVs for good reasons.
The original. I'm too lazy to switch.

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: mapDataSets: - BLANKS ...?
« Reply #5 on: August 17, 2018, 07:20:46 pm »
defaults, man

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: mapDataSets: - BLANKS ...?
« Reply #6 on: August 18, 2018, 11:41:59 am »
I also use the original.
I have dozens of custom terrains and easily hundreds of maps... There is no way I'm going to work on moving it over to the new version, even if it's better.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1510
    • View Profile
Re: mapDataSets: - BLANKS ...?
« Reply #7 on: August 20, 2018, 03:40:17 am »
You don't have to set a tile to turn into blanks, that is done automatically. Instead, if you don't want it to turn into a blank, you must set its tile destruction value to link to a different tile. You can do this with MCDEdit.