OpenXcom Forum

OpenXcom => Suggestions => Topic started by: Solarius Scorch on June 25, 2014, 02:40:38 pm

Title: Random map size
Post by: Solarius Scorch 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.
Title: Re: Random map size
Post by: Falko 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
Title: Re: Random map size
Post by: davide 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
Title: Re: Random map size
Post by: Solarius Scorch 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.
Title: Re: Random map size
Post by: Falko 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 :)
Title: Re: Random map size
Post by: Solarius Scorch 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
Title: Re: Random map size
Post by: niculinux 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.