Author Topic: [Solved] How do "builtInWeaponSets"work?  (Read 2474 times)

Offline Nord

  • Commander
  • *****
  • Posts: 1749
  • The Gate is open.
    • View Profile
[Solved] How do "builtInWeaponSets"work?
« on: April 29, 2020, 08:04:10 am »
How the game choose which set to use? Because i am gaining the last set from list  almost every time(in quick battle).
Thanks.
« Last Edit: February 12, 2023, 09:23:24 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9116
    • View Profile
Re: How "builtInWeaponSets"work?
« Reply #1 on: April 29, 2020, 11:22:57 am »
In normal game it depends on number of months passed since the beginning (and alienItemLevel definition).

In New Battle, you choose it with the "Tech Level" slider.

Offline Nord

  • Commander
  • *****
  • Posts: 1749
  • The Gate is open.
    • View Profile
Re: How "builtInWeaponSets"work?
« Reply #2 on: April 29, 2020, 12:25:10 pm »
Quote
Game will pick one set "at random" (randomness comes from the current alien tech level definition)
So, no random in reality?

And if i have:
Code: [Select]
alienItemLevels:
  - [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
then what? Game will choose one of ten at random?
Ok. I think i got the point:
If i have written only two sets, then game will choose [first, second, second, second, second, second, second, second, second, second] ?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9116
    • View Profile
Re: How "builtInWeaponSets"work?
« Reply #3 on: April 29, 2020, 03:35:26 pm »
So, no random in reality?

There is random.

And if i have:
Code: [Select]
alienItemLevels:
  - [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
then what? Game will choose one of ten at random?
Ok. I think i got the point:
If i have written only two sets, then game will choose [first, second, second, second, second, second, second, second, second, second] ?

Yes, if you have defined only 0,1,2 then 3,4,5,6,7,8,9=2.

Offline Nord

  • Commander
  • *****
  • Posts: 1749
  • The Gate is open.
    • View Profile
Re: How "builtInWeaponSets"work?
« Reply #4 on: April 29, 2020, 05:18:22 pm »
Thank you, i got it.