In doombuilder2 i was making a sector that was a length of more then 35000.
now if i go futher then 32673 the textures dissapear and go's to black and you can walk trough the sector.
the problem i think is the value set, because texture offset must be between -32767 and 32767 and there is the limitation. also when more sectors are build, then the system tells the different secotr length together that becomes 32767 and then you can't walk futher, it blocking everything.
now i want that increased because in doombuilder2 you can build a sector whatever size it is. and doesn't matter how big.
then i replace the sector somewhere else and doesn't fix the problem so the length of the linedef keeps the same.
but there is no red line in doombuilder2 that tells you cant pass over there. so you can start you first sector wherever you want on any coordinate (place)
only attached sectors that become together a length of 32767 or one sector of 32767 is the limitation.
So is it possible to change it to 500.000 or something
sector length can't futher then 32673
Moderator: Graf Zahl
- Gez
- Developer
- Posts: 1399
- Joined: Mon Oct 22, 2007 16:47
Re: sector length can't futher then 32673
I don't think this limit can be pushed back more than that. You're basically breaking the game here.
http://forum.zdoom.org/viewtopic.php?f= ... 70#p415370
As you can guess I suppose, if a sector's length is getting near to the limit of 32767 units, then its diagonal is getting even nearer to it. And the game will screw up as a result because its maths routines aren't designed for that.
So I'm quite confident Graf would agree this is a "won't fix".
http://forum.zdoom.org/viewtopic.php?f= ... 70#p415370
As you can guess I suppose, if a sector's length is getting near to the limit of 32767 units, then its diagonal is getting even nearer to it. And the game will screw up as a result because its maths routines aren't designed for that.
So I'm quite confident Graf would agree this is a "won't fix".
- NeuralStunner
- Posts: 253
- Joined: Tue Dec 29, 2009 3:46
- Location: IN SPACE
- Contact:
Re: sector length can't futher then 32673
You should really consider splitting that into smaller sectors... I can see no sane reason to have a single continuous sector that long. 

Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
-
- Posts: 103
- Joined: Tue May 04, 2010 7:57
Re: sector length can't futher then 32673
doesn't matter if you split it into sectors, matters is the size because i was making a glide path with scroll floor(223) and slopes(181) and so that the floor gave you a set, to let you fly into the depth to land somewhere on a rock. and slopes to approached the floor slowly. xd but i dont know about the old doombuilder 1, maybe there is the limit higher i think.
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: sector length can't futher then 32673
You can use vertex slopes for this, divide the sector into triangles and give them all the same properties. In this fashion, you can give the illusion of a long continuous slope.
If that absolutely is not doable, then just make a smaller sector - there's not much more anyone can say.
C++ math is C++ math, and increasing the size of the variables required to accomplish what you're trying to do here would require at the very least some minor, if not major rewrites and also some very tedious testing to ensure nothing breaks - and in the end, with the alternatives being available anyhow, it's just not worth the effort.
The general consensus is for sectors that big is "DON'T DO THAT!" and this even goes beyond the reasons mentioned in this thread - there are a whole lot of other things that will break as well... so I don't see what your big deal is here. Vanilla had even worse limits. Just make smaller sectors.
If that absolutely is not doable, then just make a smaller sector - there's not much more anyone can say.
C++ math is C++ math, and increasing the size of the variables required to accomplish what you're trying to do here would require at the very least some minor, if not major rewrites and also some very tedious testing to ensure nothing breaks - and in the end, with the alternatives being available anyhow, it's just not worth the effort.
The general consensus is for sectors that big is "DON'T DO THAT!" and this even goes beyond the reasons mentioned in this thread - there are a whole lot of other things that will break as well... so I don't see what your big deal is here. Vanilla had even worse limits. Just make smaller sectors.
- Gez
- Developer
- Posts: 1399
- Joined: Mon Oct 22, 2007 16:47
Re: sector length can't futher then 32673
There's basically only two ways to increase these limits:
1. Switch to floating point. You need to rewrite the entire engine. All functions everywhere are written for fixed-point. This approach has been tried, and abandoned, in ZDoom's past.
2. Switch from 16.16 fixed point to 48.16 fixed point. Less work, but you get a 64-bit application instead of a 32-bit one.
And by the way, changing editors or map format is not going to do anything about the issue. It's a limit in the game itself. It's like thinking you can increase the font size on your screen by using a larger keyboard. That's just not how things work!
1. Switch to floating point. You need to rewrite the entire engine. All functions everywhere are written for fixed-point. This approach has been tried, and abandoned, in ZDoom's past.
2. Switch from 16.16 fixed point to 48.16 fixed point. Less work, but you get a 64-bit application instead of a 32-bit one.
And by the way, changing editors or map format is not going to do anything about the issue. It's a limit in the game itself. It's like thinking you can increase the font size on your screen by using a larger keyboard. That's just not how things work!
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: sector length can't futher then 32673
Gez wrote: So I'm quite confident Graf would agree this is a "won't fix".
I would fix it if I could but it's just impossible. This is one of the hard limits of the Doom engine.