Hardcoded limits list?
Moderator: InsideQC Admins
7 posts
• Page 1 of 1
Hardcoded limits list?
I'd like to know where can I find a list of hardcoded engine limits of Quake? Like the ~500 polys limit for models...
________
buy scale
________
buy scale
Last edited by asdqwe on Tue Feb 01, 2011 9:43 pm, edited 1 time in total.
- asdqwe
- Posts: 24
- Joined: Sun Apr 05, 2009 1:38 pm
Check the bottom of http://user.tninet.se/~xir870k/readmegl.txt
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
Be aware though that some of the hard limits are absolute, and are derived from data types used in Quake. Example: nodes and leafs have a limit of 32k each, but you can't increase this without changing the BSP format as a signed short data type (which has a max value of 32k) is used to index them.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
mh wrote:Be aware though that some of the hard limits are absolute, and are derived from data types used in Quake. Example: nodes and leafs have a limit of 32k each, but you can't increase this without changing the BSP format as a signed short data type (which has a max value of 32k) is used to index them.
Actually, I know at least one map (warpc) that has passed this specific 32k limit for max nodes without using a new BSP format (they are stored as unsigned shorts). This, and the abusive use of doors (more than 300) prevents this maps to run in any engine that not breaks compatibility with vanilla GlQuake.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
frag.machine wrote:Actually, I know at least one map (warpc) that has passed this specific 32k limit for max nodes without using a new BSP format (they are stored as unsigned shorts). This, and the abusive use of doors (more than 300) prevents this maps to run in any engine that not breaks compatibility with vanilla GlQuake.
As far as i can tell, warpc does not exceed the nodes limit (which requires an engine hack to load such a map.)
It does exceed eight other limits, though!
- metlslime
- Posts: 316
- Joined: Tue Feb 05, 2008 11:03 pm
metlslime wrote:frag.machine wrote:Actually, I know at least one map (warpc) that has passed this specific 32k limit for max nodes without using a new BSP format (they are stored as unsigned shorts). This, and the abusive use of doors (more than 300) prevents this maps to run in any engine that not breaks compatibility with vanilla GlQuake.
As far as i can tell, warpc does not exceed the nodes limit (which requires an engine hack to load such a map.)
It does exceed eight other limits, though!
Definitely exceeds 64k clipnodes for starters. Took me about 4 months to figure out what the hell was going on there.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
mh wrote:metlslime wrote:frag.machine wrote:Actually, I know at least one map (warpc) that has passed this specific 32k limit for max nodes without using a new BSP format (they are stored as unsigned shorts). This, and the abusive use of doors (more than 300) prevents this maps to run in any engine that not breaks compatibility with vanilla GlQuake.
As far as i can tell, warpc does not exceed the nodes limit (which requires an engine hack to load such a map.)
It does exceed eight other limits, though!
Definitely exceeds 64k clipnodes for starters. Took me about 4 months to figure out what the hell was going on there.
Yeah, as usual my memory fails me and you're right about the clip nodes limit thing that required an unsigned short cast in order to load the map. Luckily, took me a bit less time and a lot of fprintf() calls to figure out that.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest