OpenXcom Forum

Modding => Help => Topic started by: robin on August 17, 2018, 03:02:55 pm

Title: mapDataSets: - BLANKS ...?
Post by: robin 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
Title: Re: mapDataSets: - BLANKS ...?
Post by: ohartenstein23 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.
Title: Re: mapDataSets: - BLANKS ...?
Post by: Hobbes 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.
Title: Re: mapDataSets: - BLANKS ...?
Post by: robin on August 17, 2018, 06:39:06 pm
Thanks for the answer
Title: Re: mapDataSets: - BLANKS ...?
Post by: robin 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.
Title: Re: mapDataSets: - BLANKS ...?
Post by: Warboy1982 on August 17, 2018, 07:20:46 pm
defaults, man
Title: Re: mapDataSets: - BLANKS ...?
Post by: Solarius Scorch 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.
Title: Re: mapDataSets: - BLANKS ...?
Post by: The Reaver of Darkness 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.