aliens

Author Topic: Bugs, crashes, typos & bad taste  (Read 1073037 times)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #1545 on: December 01, 2018, 05:32:01 pm »
If I were to guess, something is wrong with zones... Probably some zone definitions missing from this region? I'll try to investigate... Aaaargh...
At times like this I've honestly had enough of all this modding crap. :P

Offline Draykoth

  • Sergeant
  • **
  • Posts: 16
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1546 on: December 01, 2018, 05:41:31 pm »
Well, I'm really impressed you managed to fix the lottery win of random crash bugs, and thanks a lot for even trying ;P

The scaling thing is interesting, but doesn't bother me at all. I've never been one to flinch over minor graphical downgrades.

Solarius, never give up, this mod is still awesome.


Anything on the Coelacanth ammo front?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #1547 on: December 01, 2018, 05:49:12 pm »
Solarius, never give up, this mod is still awesome.

Thank you, though at this time I feel more like dumb and useless... :P


Anything on the Coelacanth ammo front?

TBH I don't get the question. If you can produce the Coelacanth Gauss Cannon, then you should be able to produce the Coelacanth as well, since they have the same prerequisites.

EDIT: While I still don't understand anything (I have no ideas what zones are in this region, it's not like we have a world atlas of zones.), I noticed that this region doesn't have any vanilla missions with trajectory P0, used by this mission (as well as alien flyby). So I suppose this trajectory relies upon zones which aren't defined for this region. So I'll just remove these two missions from this region.
(This system is fucking dumb, or at least having no documentation for it is fucking dumb. I wonder how Hobbes deals with this shit.)

EDIT 2: But it looks like this region has all 6 zones defined (0-5):

Code: [Select]
  - type: STR_SOUTH_EAST_ASIA
    missionZones:
      -
        - [90.125, 108.25, -36.625, -22.625]
        - [93.125, 124.75, -16.375, 6.75]
        - [113.75, 143, -40, -20.75]
        - [115.125, 148, -54.5, -39.625]
      -
        - [92.875, 102.5, -36.5, -31.125]
        - [100.625, 106.375, -16.75, -13.625]
        - [113.75, 129.375, -46.625, -41.375]
        - [91.625, 104.75, -49.5, -46.875]
      -
        - [111.125, 117.5, -1, -0.375]
        - [141, 143.75, -44.125, -42.625]
        - [127, 137, -48.5, -45]
        - [101.25, 111.875, -43.875, -37.875]
      -
        - [139.75, 139.75, -35.625, -35.625, -1, STR_TOKYO]
        - [116.375, 116.375, -39.875, -39.875, -1, STR_BEIJING]
        - [100.625, 100.625, -13.625, -13.625, -1, STR_BANGKOK]
        - [121, 121, -14.625, -14.625, -1, STR_MANILA]
        - [127, 127, -37.5, -37.5, -1, STR_SEOUL]
        - [103.875, 103.875, -1.375, -1.375, -1, STR_SINGAPORE]
        - [106.75, 106.75, 6.25, 6.25, -1, STR_JAKARTA]
        - [121.5, 121.5, -31.25, -31.25, -1, STR_SHANGHAI]
        - [114.125, 114.125, -22.25, -22.25, -1, STR_HONG_KONG]
        - [133.01, 133.01, -42.86, -42.86, -1, STR_VLADIVOSTOK]
        - [121.71, 121.71, -24.99, -24.99, -1, STR_TAIPEI]
        - [131.87, 131.87, -33.88, -33.88, -1, STR_HIROSHIMA]
        - [105.74, 105.74, -20.87, -20.87, -1, STR_HANOI]
        - [108.1, 108.1, -11.17, -11.17, -1, STR_SAIGON]
        - [125.712, 125.712, -6.71, -6.71, -1, STR_DAVAO]
        - [112.95, 112.95, -30.95, -30.95, -1, STR_WUHAN]
        - [102.67, 102.67, -32.74, -32.74, -1, STR_CHENGDU]
        - [135.5, 135.5, -34.5, -34.5, -1, STR_OSAKA]
        - [119.20, 119.20, -33.89, -33.89, -1, STR_TIANJIN]
        - [126.49, 126.49, -45.47, -45.47, -1, STR_HARBIN]
        - [141.46, 141.46, -43.69, -43.69, -1, STR_SAPPORO]
        - [105.81, 105.81, -47, -47, -1, STR_ULANBATOR]
        - [89.93, 89.93, -29, -29, -1, STR_LASSA]
        - [117.77, 117.77, 1.34, 1.34, -1, STR_SAMARINDA]
        - [109, 109, -34.63, -34.63, -1, STR_XIAN]
        - [86.1, 86.1, -44.14, -44.14, -1, STR_URUMQI]
        - [96.33, 96.33, -16.56, -16.56, -1, STR_RANGOON]
        - [134.59, 134.59, -48.28, -48.28, -1, STR_KHABAROVSK]
      -
        - [100.625, 103.125, -0.375, 0.75]
        - [96.125, 104.75, -42.625, -39]
        - [142.125, 143.875, -51.25, -49.125]
        - [122.875, 123.625, -8.375, -7.875]
      -
        - [0, 359.875, -90, -80]
        - [0, 359.875, 80, 90]
        - [180, 200, 0, 10]
        - [282.25, 322.875, 9.375, 38.375]
        - [53.125, 89.125, 4.5, 41.25]
        - [354.5, 393.375, -56.625, -46.375]
        - [238.625, 258.625, -53.375, -33.375]
        - [7.5, 38.625, 4.125, 18.625]
        - [50.5, 82.875, -64.5, -51.25]
        - [115, 132.5, 21, 25.5]

Anyone capisco this piece of shit?
« Last Edit: December 01, 2018, 05:58:21 pm by Solarius Scorch »

Offline Draykoth

  • Sergeant
  • **
  • Posts: 16
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1548 on: December 01, 2018, 05:59:45 pm »
In the save I uploaded I researched and made a Coelacanth with a Gas Cannon on by default, and that unlocked the Coelacanth gas cannon ammo, which I crafted aswell. But apparently I haven't researched the gas cannon on the thing, nor the ammo, so I have a coelacanth tank with an empty gun and a bunch of useless ammo for the thing that won't fit

Offline krautbernd

  • Commander
  • *****
  • Posts: 1116
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1549 on: December 01, 2018, 06:09:40 pm »
Quote from: alienMissions_XCOMFILES.rul
  - type: STR_ALIEN_DOMINATION
    points: 100
    raceWeights:
      30:
          STR_SECTOID: 10
          STR_ETHEREAL_CYBERDISC: 10
          STR_ETHEREAL: 10
          STR_MUTON: 10
          STR_FLOATER: 10

Preliminary testing (semi-random number between 0-40) leads me to believe that setting raceWeights higher than 25 causes a crash for this particular missions, on that save. Still no idea why. AFAIK the number inidcates the time in months after game start when these can be spawned. Changing the year from 1998 to anything higher has no effect.
« Last Edit: December 01, 2018, 06:13:10 pm by krautbernd »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #1550 on: December 01, 2018, 06:23:32 pm »
In the save I uploaded I researched and made a Coelacanth with a Gas Cannon on by default, and that unlocked the Coelacanth gas cannon ammo, which I crafted aswell. But apparently I haven't researched the gas cannon on the thing, nor the ammo, so I have a coelacanth tank with an empty gun and a bunch of useless ammo for the thing that won't fit

The cannon is built into the Coelacanth:
Code: [Select]
armors:
  - type: STR_COELACANTH_ARMOR_UC
(...)
    builtInWeapons:
      - STR_COELACANTH_GAS_CANNON
(...)

Preliminary testing (semi-random number between 0-40) leads me to believe that setting raceWeights higher than 25 causes a crash for this particular missions, on that save. Still no idea why. AFAIK the number inidcates the time in months after game start when these can be spawned. Changing the year from 1998 to anything higher has no effect.

Weight can take any natural value. I really don't think it's the problem.

EDIT: SupSuper helped me... turns out you can't start raceWeights later than month 0. What do you know.
« Last Edit: December 01, 2018, 06:56:22 pm by Solarius Scorch »

Offline Draykoth

  • Sergeant
  • **
  • Posts: 16
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1551 on: December 01, 2018, 07:00:32 pm »
Yeah, it has a gun, but middle clicking on it won't show the stats (because it's not researched for whatever reason) and the same with the ammo, it won't even show up on the floor when the mission is begun

Offline krautbernd

  • Commander
  • *****
  • Posts: 1116
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1552 on: December 01, 2018, 07:31:35 pm »
EDIT: SupSuper helped me... turns out you can't start raceWeights later than month 0. What do you know.

Meh, i just noticed the "monthsPassed" entry in the save file. Changing it to 30+ also prevents the crash. No wonder the lookup for that missions fails if it is called earlier.

It's just strange that nobody else seems to have run into this, and that that exact seed causes the mission to spawn. How are those missions spawned/added anyway? How high are the odds that you get that missions during the first or second year? AFAIK it's in the initial possibleMissions list - shouldn't this have crashed the mod on a regular basis?
« Last Edit: December 01, 2018, 07:41:26 pm by krautbernd »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #1553 on: December 01, 2018, 08:29:08 pm »
Yeah, it has a gun, but middle clicking on it won't show the stats (because it's not researched for whatever reason) and the same with the ammo, it won't even show up on the floor when the mission is begun

OK, I'll add a Pedia entry for this.

It's just strange that nobody else seems to have run into this, and that that exact seed causes the mission to spawn. How are those missions spawned/added anyway? How high are the odds that you get that missions during the first or second year? AFAIK it's in the initial possibleMissions list - shouldn't this have crashed the mod on a regular basis?

Well, it's pretty complicated, and since I've decided to throw this vanilla model out of the window, there's no point explaining it. :P

Offline krautbernd

  • Commander
  • *****
  • Posts: 1116
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1554 on: December 01, 2018, 09:10:47 pm »
Well, it's pretty complicated[...]
Yeah, no shit.

Offline Alex_D

  • Colonel
  • ****
  • Posts: 482
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1555 on: December 02, 2018, 04:29:29 am »
Another question.

I researched the "Red Dawn HQ", assaulted, retrieved the data card, and researched it. But I haven't researched the "terminate the Red Dawn".
I keep getting the same HQ mission every month. I assume the mission will continue spawning until the cult termination research is completed, not when the data card is researched, right ?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #1556 on: December 02, 2018, 12:58:11 pm »
Another question.

I researched the "Red Dawn HQ", assaulted, retrieved the data card, and researched it. But I haven't researched the "terminate the Red Dawn".
I keep getting the same HQ mission every month. I assume the mission will continue spawning until the cult termination research is completed, not when the data card is researched, right ?

Yes, indeed - otherwise if you lost the card, you wouldn't be able to finish the arc.
And well, it's not like overrunning one major base would make the entire Red Dawn around the world go "nyoron~" and go home. :)

Offline Alex_D

  • Colonel
  • ****
  • Posts: 482
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1557 on: December 03, 2018, 01:07:34 am »
Thanks for the confirmation.
I liked the Red Dawn HQ battles. They were so epic!. See screenshot for largest surrender (for me) ever!
Finally I gave up and terminate them. I'll move to the next one in difficulty. Maybe the Black Lotus and their lovely Assassins  ?  :P

Now to install the new mod update to 0.97b (Many Thanks!).

Offline krautbernd

  • Commander
  • *****
  • Posts: 1116
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1558 on: December 03, 2018, 01:12:56 am »
Are alien electronics supposed to be unresearchable on their own? Also, what's the point of including them in the getonefree list of the decrypted aleine data slate, seeing how you need to research them before you can decrypt the slate?

Offline Toothless Shark

  • Sergeant
  • **
  • Posts: 35
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #1559 on: December 03, 2018, 05:03:40 pm »
Are alien electronics supposed to be unresearchable on their own? Also, what's the point of including them in the getonefree list of the decrypted aleine data slate, seeing how you need to research them before you can decrypt the slate?

You need to get the tech from alien engineers or leaders to unlock it, and of course to find actual alien electronics item. I guess alien electronics listed in a data slate is an oversight.