OpenXcom Forum

Modding => Help => Topic started by: krautbernd on November 30, 2018, 01:54:48 am

Title: [Solved] Inventory spawning tiles
Post by: krautbernd on November 30, 2018, 01:54:48 am
I'm trying to define an area where inventory items are to be spawned during base defence. Looking at the map editor i can see no deifference between the ground tiles in the upper and lower levels of the general stores, but items are only spawned on the upper levels. How/where is this area defined?
Title: Re: Inventory spawning tiles
Post by: Hobbes on November 30, 2018, 05:18:23 am
I'm trying to define an area where inventory items are to be spawned during base defence. Looking at the map editor i can see no deifference between the ground tiles in the upper and lower levels of the general stores, but items are only spawned on the upper levels. How/where is this area defined?

It is defined on the rulesets as x/y/z locations:

Code: [Select]
facilities:
  - type: STR_STORAGE
    storage: 250
    storageTiles:
      - [11, 2, 4]
      - [14, 1, 4]
      - [16, 2, 4]
      - [17, 4, 4]
      - [10, 7, 4]
      - [14, 6, 4]
      - [15, 4, 4]
      - [17, 8, 4]
      - [17, 5, 4]
      - [13, 4, 4]
Title: Re: Inventory spawning tiles
Post by: krautbernd on November 30, 2018, 12:02:53 pm
Yeah, now i feel dumb because i remember seeing those entries entries before. Thanks for clearing that one up!
BTW the ruleset reference doesn't mention storageTiles anywhere. Is there any further documention tht i can look up?
Title: Re: Inventory spawning tiles
Post by: Hobbes on November 30, 2018, 05:53:15 pm
Yeah, now i feel dumb because i remember seeing those entries entries before. Thanks for clearing that one up!
BTW the ruleset reference doesn't mention storageTiles anywhere. Is there any further documention tht i can look up?

If it exists, I can't find it. I'm not even sure if it storageTiles belongs to vanilla OXC or OXCE
Title: Re: [Solved] Inventory spawning tiles
Post by: ohartenstein23 on November 30, 2018, 06:04:57 pm
It's OXCE - if there's documentation I would've put it in the OXCE subforum somewhere with the tag [Documentation] in the thread subject.