aliens

Author Topic: Random map size  (Read 3983 times)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11464
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Random map size
« on: June 25, 2014, 02:40:38 pm »
Right now, each mission has a fixed map size. For X-Com veterans, this tends to make missions a bit more predictable.

Therefore perhaps we could have the map size somewhat randomized, just like the number of aliens is randomized? This would require some changes to the ruleset, for example:

Code: [Select]
alienDeployments:
  - type: STR_MEDIUM_SCOUT
    minWidth: 40
    maxWidth: 50
    minLength: 40
    maxLength: 50
    height: 4

If the old format is used (just width and length), the map still has fixed dimensions.

It is also possible to correlate bigger maps with more aliens, but I think it's too tricky to balance, and just unnecessary.

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: Random map size
« Reply #1 on: June 25, 2014, 03:17:42 pm »
why 4 new rules if  two are enough and compatible with old ruleset
Code: [Select]
alienDeployments:
  - type: STR_SMALL_SCOUT
    data: ..
    width: 40
    length: 40
    height: 4
    addrandomwidth: 10 #default=0
    addrandomlength: 10 #default=0

Offline davide

  • Commander
  • *****
  • Posts: 565
    • View Profile
Re: Random map size
« Reply #2 on: June 25, 2014, 03:23:01 pm »
I wish the randomized alien numbers too

It could be an incremental percentuage.

Default = 0, if you disagree that. :)

but other people could raise it ::)

I think that for a coder
randomize one parameter of a rule section
costs about the same that randomize all section parameters

I agree with Falko

Code: [Select]
alienDeployments:
  - type: STR_SMALL_SCOUT
    data: ..
    width: 40
    length: 40
    height: 4
    addrandomwidth: 10 #default=0
    addrandomlength: 10 #default=0
    addrandomaliens: 30 #% default=0
« Last Edit: June 25, 2014, 03:38:59 pm by davide »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11464
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Random map size
« Reply #3 on: June 25, 2014, 04:17:40 pm »
why 4 new rules if  two are enough and compatible with old ruleset
Code: [Select]
alienDeployments:
  - type: STR_SMALL_SCOUT
    data: ..
    width: 40
    length: 40
    height: 4
    addrandomwidth: 10 #default=0
    addrandomlength: 10 #default=0

Yes, but with this solution you can only increase the map size. While it's the same thing for the exmaple I gave, it could be different for larger maps. For example you may want to change a 60 x 60 map into 50-70 x 50-70.

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: Random map size
« Reply #4 on: June 25, 2014, 04:26:54 pm »
Code: [Select]
alienDeployments:
  - type: STR_SMALL_SCOUT
    width: 50
    length: 50
    addrandomwidth: 20
    addrandomlength: 20
50-70 as ordered
i never said the width has to stay the same :)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11464
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Random map size
« Reply #5 on: June 25, 2014, 04:49:52 pm »
Code: [Select]
alienDeployments:
  - type: STR_SMALL_SCOUT
    width: 50
    length: 50
    addrandomwidth: 20
    addrandomlength: 20
50-70 as ordered
i never said the width has to stay the same :)

I thought we wanted to preserve old width/length value, though I can't honestly say why. :D

niculinux

  • Guest
Re: Random map size
« Reply #6 on: July 07, 2014, 01:37:32 pm »
maybe the maos size have to vary along the size of the ufo the player shoots down. That would grant more proportionated match (medium ufo--->medium map small ufo--->small mao) and so on.