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

Offline krautbernd

  • Commander
  • *****
  • Posts: 1071
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3720 on: June 01, 2023, 05:42:42 pm »
I can't recall a single case where some part of this map would be unavailable, and that would be a major problem, so excuse me for being a bit sceptical. I simply need an example to examine.

Under certain circumstances DARKSTORMMOUNTAIN_ALPHA  can generate inaccessbile areas:





The reason this usually doesn't happen is because two blocks (or rather a 2x2 block and a 1x1 block and any map block with a junction and alien spawn point) need to be generated in very specific positions (e.g. at the map edge, the 2x2 block in to the south of it). Forcing the game to spawn said blocks (the "lab" and the "t-shaped junction") makes this reproducible. Given my limited knowledge regarding map generation the blocks in question are (probably) STORMMOUNTAIN03 and STORMMOUNTAIN09 or whatever map file "blocks [03]" and "blocks [09]" equate to.
« Last Edit: June 01, 2023, 05:46:47 pm by krautbernd »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11098
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
    • Email
Re: Bugs, crashes, typos & bad taste
« Reply #3721 on: June 01, 2023, 05:47:44 pm »
Thanks. Indeed it may be a problem. I'm not sure how to solve it elegantly yet, though.

Offline krautbernd

  • Commander
  • *****
  • Posts: 1071
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3722 on: June 01, 2023, 06:18:08 pm »
Managed to generate something similiar, but it did take quite a few tries:



As far as I can tell the problem is that the "air vent/duct" from the lab tile is not in line up (and does not connect) with those of the other tiles. This combined with the "air shaft" location of the T-Tile leads to the junction with the spawn point being cut off. Either align the shaft of the lab tile "correctly" or add/move the air shaft on the T-Tile so it connects to the rest of the vent/shaft network.

Misaligned shafts from lab:


Move/place additional air shaft on T-Tile:



« Last Edit: June 01, 2023, 06:36:55 pm by krautbernd »

Offline psavola

  • Colonel
  • ****
  • Posts: 219
    • View Profile
    • Email
Re: Bugs, crashes, typos & bad taste
« Reply #3723 on: June 01, 2023, 09:42:32 pm »
What various holes? Hatches?

I can't recall a single case where some part of this map would be unavailable, and that would be a major problem, so excuse me for being a bit sceptical. I simply need an example to examine.

Here's a screenshot of visibility that IMO should not exist from an agent to an alien that is at the tile of the mouse cursor but one level up. There was also at least one similar case when the alien was somewhere in the direction where the mudranger is facing.