Author Topic: is there a limit to 1 enemy base type? invisible bases? wat  (Read 5872 times)

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
is there a limit to 1 enemy base type? invisible bases? wat
« on: December 11, 2016, 11:16:38 pm »
i have 2 base type missions in my mod, one for the aliens and one for the humans.
Obviously the deployment is different, the former is alien shit, the latter is a human shit.
(i wanted to add a third but at this point i don't know anymore).

It seems that in my game the first base mission executed is the "lucky one" that manages to spawn its base; from then on the base missions (of both types) go on and on but no other base is created... up to the third-fifth month (that is, until the inevitable x-com base invasion happens and i can't test anymore).
Strangely the child missions of the bases often do run, but I can't find on the globe the bases that spawn them, like they're invisible..  or they're not then but their child mission are somehow triggered.
Any idea?

Also, any idea what to check what is going on in the geoscape? Other than setting radars to 100% and as-wide-as-the-planet, I don't know about how to get more info about the stuff happening. Debug mode does not reveal anything new.

Thanks

Offline Hobbes

  • Commander
  • *****
  • Posts: 2102
  • Infiltration subroutine in progress
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #1 on: December 11, 2016, 11:33:45 pm »
It seems that in my game the first base mission executed is the "lucky one" that manages to spawn its base; from then on the base missions (of both types) go on and on but no other base is created... up to the third-fifth month (that is, until the inevitable x-com base invasion happens and i can't test anymore).
Strangely the child missions of the bases often do run, but I can't find on the globe the bases that spawn them, like they're invisible..  or they're not then but their child mission are somehow triggered.
Any idea?

A few ones:
* The bases either weren't created or they've spawned in a location that you missed. To check limit base construction to a single region for testing. Also, check the .sav game to see exactly the regions where the alien base mission took place.
* Unless you can confirm 100% that those missions where generated by the bases (different mission name for instance) assume confirmation bias on your part.

Quote
Also, any idea what to check what is going on in the geoscape? Other than setting radars to 100% and as-wide-as-the-planet, I don't know about how to get more info about the stuff happening. Debug mode does not reveal anything new.

I use a simple mod that replaces the Small Radar on your starting base with a Hyperwave Decoder with range to cover the entire globe

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #2 on: December 12, 2016, 08:56:41 pm »
I use a simple mod that replaces the Small Radar on your starting base with a Hyperwave Decoder with range to cover the entire globe
this is what i do and i'm always seeing only one enemy base.
funny thing is that half of the times i get the alien base to appear by patrolling over it with a craft (despite the all-seeing global radar).

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #3 on: December 12, 2016, 08:58:11 pm »
Only craft radars can detect the presence of a base, base radars are no good for that.

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #4 on: December 12, 2016, 09:00:19 pm »
Only craft radars can detect the presence of a base, base radars are no good for that.
i see, thanks. then (for testing) i'll set a globe-wide radar on all my crafts too.
« Last Edit: December 12, 2016, 09:02:26 pm by robin »

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #5 on: December 12, 2016, 09:05:24 pm »
It might even be a certain distance for craft too, not related to their detection range... you could give each base a supply mission that just sits there for a really long time in your small radar mod, so that the landed UFO is a beacon for the base.

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #6 on: December 12, 2016, 09:16:44 pm »
this is from my savegame in may:


alienBases:
  - lon: 6.1616574846843157
    lat: -0.69431164553033442
    id: 1
    race: STR_ANTHROPOD_OCULANT_2
    deployment: STR_ALIEN_GATE_LANDING
  - lon: 5.1248638343586528
    lat: 0.44739846718852933
    id: 2
    race: STR_FLOATER_SNAKEMAN_1
    deployment: STR_ALIEN_GATE_LANDING
  - lon: 6.1303625941555966
    lat: -0.10697202765156594
    id: 1
    race: STR_CULT
    deployment: STR_CULT_BASE_ASSAULT
  - lon: 1.4250808629985208
    lat: -0.61714778648768076
    id: 3
    race: STR_ANTHROPOD_OCULANT_2
    deployment: STR_ALIEN_GATE_LANDING
  - lon: 4.3182107190227859
    lat: -0.46941609288302127
    id: 4
    race: STR_ANTHROPOD_OCULANT_1
    deployment: STR_ALIEN_GATE_LANDING
  - lon: 0.36920480151824259
    lat: -0.44178969126422674
    id: 5
    race: STR_ANTHROPOD_OCULANT_2
    deployment: STR_ALIEN_GATE_LANDING
  - lon: 2.4893005427235009
    lat: -0.87811200405348799
    id: 6
    race: STR_FLOATER_SNAKEMAN_1
    deployment: STR_ALIEN_GATE_LANDING
  - lon: 5.3142126860410688
    lat: 0.094988581443981895
    id: 2
    race: STR_CULT
    deployment: STR_CULT_BASE_ASSAULT
  - lon: 4.6493129199311749
    lat: -0.70964545523115041
    id: 7
    race: STR_ANTHROPOD_OCULANT_2
    deployment: STR_ALIEN_GATE_LANDING
  - lon: 2.1459307552112059
    lat: -0.14013466925093884
    id: 8
    race: STR_FLOATER_SNAKEMAN_1
    deployment: STR_ALIEN_GATE_LANDING


none of them appear on the geoscape....
(so it was actually invisible bases! damn aliens and their advanced tech!)

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #7 on: December 12, 2016, 09:19:16 pm »
Yeah... bases aren't visible by default.  You have to fly over them, or wait until the end of the month to find them.  That would be a useful feature to add to the engine in your case - whether a specific type of base is visible by default.

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #8 on: December 12, 2016, 09:24:05 pm »
yeah but how come 8 bases and none visible/revealed after 4 months (and i'm flying around crafts with planet-wide radars).
doesn't seem normal honestly...

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9101
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #9 on: December 12, 2016, 09:33:21 pm »
yeah but how come 8 bases and none visible/revealed after 4 months (and i'm flying around crafts with planet-wide radars).
doesn't seem normal honestly...

It's a long shot, but are you actually patrolling at least for some time?
Craft only detect bases when patrolling: https://github.com/SupSuper/OpenXcom/blob/master/src/Geoscape/GeoscapeState.cpp#L1082

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #10 on: December 12, 2016, 09:37:37 pm »
Huh, I didn't know that it required patrolling, and that the chances increased when you got closer.  Makes sense though.

Edit:  I was also searching the code for this too, but under the 30-minute increment where the comment about base detection is... would have been nice for them to move the comment with the code.
« Last Edit: December 12, 2016, 09:40:22 pm by ohartenstein23 »

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: is there a limit to 1 enemy base type? invisible bases? wat
« Reply #11 on: December 12, 2016, 09:47:49 pm »
It's a long shot, but are you actually patrolling at least for some time?
Craft only detect bases when patrolling: https://github.com/SupSuper/OpenXcom/blob/master/src/Geoscape/GeoscapeState.cpp#L1082
It's as you say. By patrolling I'm able to reveal them, but only the one (or ones) near the craft, the range of the craft's radar seems irrelevant.

Thanks a lot for the help, all of you.