aliens

Author Topic: [DONE] [Suggestion] Changing alien base deployment by time passed  (Read 13232 times)

Offline Nord

  • Commander
  • *****
  • Posts: 1744
  • The Gate is open.
    • View Profile
I have a request for my new mod idea:
Changing alien base deployment by time passed.
E.g. by the end of month.
So if you leave base untouched, it can develop and grow.

I can now create new bases with new deployments based on current month, but what i want - is to allow old bases to grow.
« Last Edit: October 04, 2018, 03:10:38 pm by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: Suggestion/request: Changing alien base deployment by time passed
« Reply #1 on: July 17, 2018, 10:31:09 am »
Seems nice.
Todolisted.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11702
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [Suggestion] Changing alien base deployment by time passed
« Reply #2 on: July 17, 2018, 02:00:40 pm »
Very nice indeed. But what exactly would grow? I understand the base size and the number of enemies, but anything else? (Defensive UFOs maybe, if they are coded? I don't really have any ideas.)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: [Suggestion] Changing alien base deployment by time passed
« Reply #3 on: July 17, 2018, 02:22:05 pm »
Anything deployment related.

PS: Defensive UFOs are already able to change over time.

Offline Hobbes

  • Commander
  • *****
  • Posts: 2102
  • Infiltration subroutine in progress
    • View Profile
Re: [Suggestion] Changing alien base deployment by time passed
« Reply #4 on: July 18, 2018, 12:44:22 am »
Me likes this!

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: [Suggestion] Changing alien base deployment by time passed
« Reply #5 on: July 18, 2018, 12:58:40 am »
I'd be interested in this too. Can I add to this the option to tie map generation RNG to a seed based on mission latitude and longitude, like I did for base defense missions? That way, if you go to a base multiple times, it could look the same instead of complete remodeling every time.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #6 on: October 04, 2018, 03:23:15 pm »
Done.
Alien bases can now upgrade their deployment, after the first game month... and based on their current age in months.

Ruleset example:

Code: [Select]
alienDeployments:
  - type: STR_ALIEN_BASE_ASSAULT
    alienBaseUpgrades:
      0:
        STR_ALIEN_BASE_ASSAULT: 100
      3:
        STR_ALIEN_BASE_ASSAULT_OLDBASE_1: 50
        STR_ALIEN_BASE_ASSAULT_OLDBASE_2: 50
      6:
        STR_ALIEN_BASE_ASSAULT_VERYOLDBASE: 100

Change happens once every month, for each alien base separately.

Affected:
 - alien battlescape deployment
 - starting conditions
 - base detection range
 - base hunt missions type and frequency
 - base supply mission type and frequency
 - geoscape scoring
 - base's saving/loading ID (depends on markerName, see disclaimer)

Not affected:
 - counter of generated supply missions
 - alien race
 - corresponding infiltrated country

DISCLAIMER:
All upgrades (deployments) must use the same "markerName" as the original deployment!
Otherwise weird shit will happpen... you've been warned.
« Last Edit: October 04, 2018, 07:15:52 pm by Meridian »

Offline Nord

  • Commander
  • *****
  • Posts: 1744
  • The Gate is open.
    • View Profile
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #7 on: October 04, 2018, 03:28:00 pm »
Wonderful.
But what is used: current base age in months or global months?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #8 on: October 04, 2018, 03:31:05 pm »
Wonderful.
But what is used: current base age in months or global months?

Global number of game months... is that OK?
« Last Edit: October 04, 2018, 03:33:50 pm by Meridian »

Offline Nord

  • Commander
  • *****
  • Posts: 1744
  • The Gate is open.
    • View Profile
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #9 on: October 04, 2018, 04:00:51 pm »
Global number of game months... is that OK?
Well, i think that count age of each base is far more complicate to do, so global months should be just fine.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11702
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #10 on: October 04, 2018, 04:08:53 pm »
Global number of game months... is that OK?

But if the idea is to make the base grow over time, then it should be based on the base age, not campaign age, no?
If I am mistaken and it's actually not about base age, then sorry in advance.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #11 on: October 04, 2018, 04:26:08 pm »
I don't care, both are doable... let me know.

Offline Nord

  • Commander
  • *****
  • Posts: 1744
  • The Gate is open.
    • View Profile
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #12 on: October 04, 2018, 04:59:47 pm »
I don't care, both are doable... let me know.
If it is not too hard, base age will be better.
Thanks.  :)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #13 on: October 04, 2018, 07:13:17 pm »
If it is not too hard, base age will be better.
Thanks.  :)

Done.

Base age (in months) is calculated as current game month minus month when the base spawned.

So if the base spawned on 31.1.2000 and it is now 2.2.2000, the base is 1 month old.

PS: month when the base was discovered is irrelevant
« Last Edit: October 04, 2018, 07:17:16 pm by Meridian »

Offline Nord

  • Commander
  • *****
  • Posts: 1744
  • The Gate is open.
    • View Profile
Re: [DONE] [Suggestion] Changing alien base deployment by time passed
« Reply #14 on: October 04, 2018, 08:11:21 pm »
Done.

Base age (in months) is calculated as current game month minus month when the base spawned.

Great!
The syntaxis has been not changed?