Chaosforge Forum

  • April 19, 2024, 14:42
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: [0.9.9.2] Armor shard on the stairs  (Read 2082 times)

Matandun

  • Lance Corporal
  • *
  • Offline Offline
  • Posts: 28
  • Angel of Pacifism
    • View Profile
[0.9.9.2] Armor shard on the stairs
« on: April 13, 2011, 14:31 »

Hello again.
I've encountered this situation:

BB Screenshot created.                                                         
 There is an armor shard lying here. There are stairs leading downward here.   
                               ####################   #########################
                               ....................=====.%==.................^#
                  ..          .....................=========............^...@.#
                 .            .....................========.===...............#
                             .....%................===.=.=====.......=|.......#
                             .....................===.=.=====.......=====..0..#
                             ......##..%##.......==..=..====.==.....========..#
                             ......#.....#........0......=..==.....=========..#
                             .........%................^............===.====..#
                             .....=.........%........................=...==...#
                             ...%==.....0....%..%%................>.......=.==#
                              .====#.....#................................====#
                              .=..=##...##........................=........===#
                               ..=  =.............................==.===.=====#
                                   ==............................==.=====.=.=.#
                                   =............^...............==========..=.#
                                  .............................====.=====....=#
                                   ............................===..===.......#
                                     ...  ......................====.=.......>#
                                            ################################## 
 Mat                        Armor : modified red armor [6/6] (56%) (P)         
 Health: 100% Exp:  8/98%   Weapon: high power chaingun (1d9)x4 [20/20]         
 cautious                                                    Phobos Hell  Lev7 


I've never seen this situation before. Not sure even if it's a bug. Are shards floating over the ground?
Logged
0.9.9.1: [19/19/13/4/0]
0.9.9.2: [22/20/11/2/1], assemblies [10/2/0]
0.9.9.3: [25/16/10/1/0], assemblies [13/4/0]
0.9.9.4: [25/18/12/1/1], assemblies [18/7/1]

Shoop da Whoop

  • First Sergeant
  • *
  • Offline Offline
  • Posts: 126
  • Personal Text
    • View Profile
Re: [0.9.9.2] Armor shard on the stairs
« Reply #1 on: April 15, 2011, 08:08 »

Had same with Invulnerability sphere, somewhere is screenshots thread.
Also, reminds me of that little rooms with supllies at the end of the some Doom levels.
Logged
Code: [Select]
He had posted some posts.
He waited enough for new version of DoomRL.
He played classic Doom but not passed. He also played rogulikes. And once he found the intersection of these sets...

Deathwind

  • Colonel
  • *
  • Offline Offline
  • Posts: 505
  • HMP Angel of Patience 0.9.9.4
    • View Profile
Re: [0.9.9.2] Armor shard on the stairs
« Reply #2 on: April 15, 2011, 15:13 »

The issue is that items can be spawned on squares they shouldn't be.
Logged
v.997 [16/5/2/0/0]

ParaSait

  • Baffen :P
  • Elder
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1229
  • Happy Little Boozer
    • View Profile
    • MPSF
Re: [0.9.9.2] Armor shard on the stairs
« Reply #3 on: April 15, 2011, 16:14 »

I have this odd feeling that this problem can only occur in arena levels... because stairs are a pretty unusual thing there.
Specifically there are 4 of them instead of just 1.

Now, I've no idea about the source code of DoomRL, but my uneducated guess is that while generating the level, the game has a value in mind of the position of THE stairs, which can be technically just one position, and thus in arena levels the map generator just forgets about the other 3, making em vunerable to items being spawned on top of those. Just a thought, though.
Logged
[18|7|3|0|0|0] [MED:13/43] [SPE:36/67] [ASM:11/40]

Check out my epic youtube channel!
Currently playing The Bard's Tale and System Shock 2 (coop with GrAV1t)!

tehtmi

  • Programmer
  • Local Inquisitor
  • Lieutenant Colonel
  • *
  • *
  • Offline Offline
  • Posts: 458
    • View Profile
Re: [0.9.9.2] Armor shard on the stairs
« Reply #4 on: April 15, 2011, 17:00 »

I have this odd feeling that this problem can only occur in arena levels... because stairs are a pretty unusual thing there.
Specifically there are 4 of them instead of just 1.

Now, I've no idea about the source code of DoomRL, but my uneducated guess is that while generating the level, the game has a value in mind of the position of THE stairs, which can be technically just one position, and thus in arena levels the map generator just forgets about the other 3, making em vunerable to items being spawned on top of those. Just a thought, though.

This is a good guess, but the problem is simpler. Normally stairs are generated by picking a random empty tile. For arena levels, stairs are placed in the corners regardless of emptiness. Since monsters and items are also placed on empty tiles, it should be possible to fix this problem by placing arena stairs before items rather than after.
Logged
Pages: [1]