Author Topic: Terrain / Maps  (Read 2993 times)

Offline TheCurse

  • Colonel
  • ****
  • Posts: 334
    • View Profile
Terrain / Maps
« on: August 30, 2019, 08:16:32 pm »
Making maps is probably not that easy, but are any more types/variants planned?
There are already quite a few and the variety is nice, but e.g. raiding the 15th Osiron ship i could do it probably blind, since its always exactly the same...
(or i could just try to script it... sadly no API on openXcom yet for user controlled AI  :P )

Maybe XCF could borrow some from robins apoc mod (if he doesn't mind), he´s so insanely good with the details...
I´ve seen some apoc-y stuff in XCF already... >_>

EDIT: I´ve just seen some certain lairs... awesome :D
« Last Edit: September 01, 2019, 10:17:45 pm by TheCurse »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Terrain / Maps
« Reply #1 on: September 03, 2019, 11:14:08 am »
Well... I always accept good maps from the community. :)

Offline Ninja

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Terrain / Maps
« Reply #2 on: January 27, 2020, 07:42:21 pm »
Well randommaps are realy random and 20x20 tiles block a lot of space

as Example a 100x100 random map can contain only 7 maptiles 20x20 with a battleship 30x30 and a X-com Landingcraft 20x30 like i use

if the random Generator places the tiles that biggger than 10x10 realy unfortunatly you have such a result see below

green Alien battleship 30x30
blue X-Comaircraft 20x30
yellow map blocks with 20x20
red only 10x10 mapblocks can placed here becouse blocked from bigger mapblocks

(Maybe some 10x20 or 20x10 still can be places not tryed that yet)

works like this as example
  - type: FARM
    commands:
    - type: addUFO
    - type: addCraft
    - type: addBlock
      blocks: [5, 6, 13, 16, 17, 18, 19]
      maxuses: [1, 1, 1, 1, 1, 1, 1]
      executions: 7
    - type: fillArea
      blocks: [0, 1, 2, 3, 4, 7, 8, 9, 10, 11, 12, 14]
      freqs: [5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]

 



Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Terrain / Maps
« Reply #3 on: January 28, 2020, 01:11:09 am »
I don't like overtweaking the script, I prefer Chaos. If the results are unsatisfactory, I'd rather make more maps of the desired kind.