Jump to content
  • 0

Player in unknown sector type


Sokoro

Question

I use action 37 - W1 floor lower to lowest floor (change texture),

it lowers the tagged sector, but the texture does not change and when player lands on the lowered sector, then the chocolate doom crashes with error:

"P_PlayerInSpecialSector: unknown special 28270"

 

What is this, some bug? how to fix it?

Edited by Sokoro

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 1

What engine/map configuration are you using?

This is a stretch, but can you also post a screenshot of the sector properties window of the sector that causes this crash?

 

Also, type 37 uses the numeric model for figuring out which sector to change the properties of (from the Doom Wiki):

Quote

Numeric model algorithm:

  1. Find all floors adjacent to the tagged floor at destination height
  2. Find the lowest numbered linedef separating those floors from that tagged
  3. The sector on the other side of that linedef is the model

 

Edited by EarthQuake

Share this post


Link to post
  • 0

I don't use Chocolate Doom, GZDoom has no problem.

 

2y51xNN.png

 

When the player crosses the line it triggers sector with tag 100 to lower.

When the sector reaches the lowest floor height it changes the sector flat to the surrounding flat.

 

Addendum:

Just to see what happens I tested it with Chocolate Doom 2.3.0 (2016-12-29), also no problem.

Edited by Kappes Buur

Share this post


Link to post
  • 0

I use Doom: Doom 2 (doom format)

track1.jpg

Edited by Sokoro
bug in text spacing

Share this post


Link to post
  • 0

This is odd, since P_PlayerInSpecialSector() doesn't do anything other than handle the various behaviors of sector specials. The linedef type 37 must be changing the tagged sector's type to some garbage value, so that's probably where the crash is coming from.

 

I don't really have much experience with the change-type linedef types, but it really sounds to me like the algorithm is not finding a valid model sector. I'll keep poking through the source code and see if I can learn more. Hopefully someone comes along with more knowledge about this sort of thing.

 

Edit: I would recommend trying a similar setup in a fresh map to see it working on your end. It could be caused by a mapping error (e.g. an unclosed sector or something). Uploading the map for us to look also wouldn't be a bad idea.

Edited by EarthQuake

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...