Template:Engine Limits: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Attempt to vertically align the table for easier edits. No functional changes.)
(Svengine removed the software renderer)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{todo|make more universal, make switch system for only GoldSrc sections f.e.}}</noinclude><noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}</noinclude>
<onlyinclude><includeonly>{| class="wikitable"
<onlyinclude><includeonly>{| class="wikitable"
|-
|-
| colspan="5" style="background:#949494;color:black;" | <center>Engine</center>
| colspan="5" style="background:#949494;color:black;" | <center>Engine Limits</center>
|-
|-
! Limits                                                                                    !! {{goldsrc|1}} Pre-25th !! {{goldsrc|1}} Post-25th !! {{Xash|4.1}} !! {{svengine|4.1}}
! Limits                                                                                    !! {{goldsrc|1}} Pre-25th !! {{goldsrc|1}} Post-25th !! {{Xash|4.1}}       !! {{svengine|4.1}}
|-
|-
| Maximum number of dynamic sound channels                                                  || 8                      || 32                      || {{N/A}}      || {{N/A}}
| Maximum number of dynamic sound channels                                                  || 8                      || 32                      || 64                  || {{N/A}}
|-
|-
| Default max number of server entities ({{code|MAX_EDICTS}})                              || 900                    || 1200                    || 600 - 4096  || 8192
| Default max number of server entities ({{code|MAX_EDICTS}})                              || 900                    || 1200                    || {{Tooltip|line=dashed|Xash sends MAX_EDICTS from the server in multiplayer|600 - 8192}}          || 8192
|-
|-
| Absolute max number of server entities (via [[liblist.gam]] edits)                        || 2048                  || 2048                    || {{N/A}}      || {{N/A}}
| Absolute max number of server entities (via [[liblist.gam]] edits)                        || 2048                  || 2048                    || 8192                || {{N/A}}
|-
|-
| Maximum number of temporary entities ({{code|MAX_TEMPENTS}})                              || 500                    || {{N/A}}                || 300 - 2048   || {{N/A}}
| Maximum number of temporary entities ({{code|MAX_TEMPENTS}})                              || 500                    || {{N/A}}                || 300 - 2048         || {{N/A}}
|-
|-
| Maximum number of particles ({{code|MAX_PARTICLES}})                                      || 4096                  || {{N/A}}                || 1024 - 8192  || {{N/A}}
| Maximum number of particles ({{code|MAX_PARTICLES}})                                      || 4096                  || {{N/A}}                || 1024 - 131072      || {{N/A}}
|-
|-
| Maximum number of beams ({{code|MAX_BEAMS}})                                              || 64                    || {{N/A}}                || 64 - 512     || 256  
| Maximum number of beams ({{code|MAX_BEAMS}})                                              || 64                    || {{N/A}}                || 64 - 512           || 256  
|-
|-
| Maximum number of visible entities in the package ({{code|MAX_VISIBLE_PACKET}})          || 256                    || 1024                    || 512          || {{N/A}}
| Maximum number of visible entities in the package ({{code|MAX_VISIBLE_PACKET}})          || 256                    || 1024                    || 2048                || {{N/A}}
|-
|-
| Maximum number of pre-cacheable models and sprites ({{code|MAX_MODELS}})                  || 512                    || {{N/A}}                || 2048        || 8192
| Maximum number of pre-cacheable models and sprites ({{code|MAX_MODELS}})                  || 512                    || {{N/A}}                || 1024 (4096 in FWGS) || 8192
|-
|-
| Maximum number of pre-cached sounds ({{code|MAX_SOUNDS}})                                || 512                    || {{N/A}}                || 2048         || 4096
| Maximum number of pre-cached sounds ({{code|MAX_SOUNDS}})                                || 512                    || {{N/A}}                || 2048               || 4096
|-
|-
| Maximum number of entries to read sentences made up of sentences ({{code|MAX_SENTENCES}}) || 1536                  || 2048                    || {{N/A}}      || {{N/A}}
| Maximum number of entries to read sentences made up of sentences ({{code|MAX_SENTENCES}}) || 1536                  || 2048                    || 4096                || {{N/A}}
|-
|-
| Maximum number of user messages ({{code|MAX_USER_MESSAGES}})                              || 128                    || {{N/A}}                || 191         || {{N/A}}
| Maximum number of user messages ({{code|MAX_USER_MESSAGES}})                              || 128                    || {{N/A}}                || 191                 || {{N/A}}
|-
|-
| Max number of loaded textures ({{code|MAX_TEXTURES}})                                    || 2048                  || {{N/A}}                || 4096         || {{N/A}}
| Max number of loaded textures ({{code|MAX_TEXTURES}})                                    || 2048                  || {{N/A}}                || 4096 (8192 in FWGS) || {{N/A}}
|-
|-
| Max number of GL textures ({{code|MAX_GLTEXTURES}})                                      || 4800                  || 10000                  || {{N/A}}      || {{N/A}}
| Max number of GL textures ({{code|MAX_GLTEXTURES}})                                      || 4800                  || 10000                  || 4096 (8192 in FWGS) || {{N/A}}
|-
|-
| Number of messages titles.txt ({{code|MAX_MESSAGES}})                                    || 1024                  || {{N/A}}                || 2048         || {{N/A}}
| Number of messages titles.txt ({{code|MAX_MESSAGES}})                                    || 1024                  || {{N/A}}                || 2048               || {{N/A}}
|-
|-
| Maximum size of indexed textures                                                          || 512х512                || 512x512                || 4096х4096    || {{N/A}}
| Maximum size of indexed textures                                                          || 512х512                || 512x512                || 8192х8192          || {{N/A}}
|-
|-
| Maximum size of full color textures                                                      || 512х512                || 512x512                || 4096х4096    || {{N/A}}
| Maximum size of full color textures                                                      || 512х512                || 512x512                || 8192х8192          || {{N/A}}
|-
|-
| Maximum number of models on the map ({{code|MAX_MAP_MODELS}})                            || 256                    || {{N/A}}                || 1024         || 4096
| Maximum number of models on the map ({{code|MAX_MAP_MODELS}})                            || 256                    || {{N/A}}                || 768 (1024 in FWGS)  || 4096
|-
|-
| Maximum number of map leafs ({{code|MAX_MAP_LEAFS}})                                      || 8192                  || {{N/A}}                || 32767       || 65536
| Maximum number of map leafs ({{code|MAX_MAP_LEAFS}})                                      || 8192                  || {{N/A}}                || 32767               || 65536
|-
|-
| Maximum number of entities per packet ({{code|MAX_PACKET_ENTITIES}})                      || 256                    || 1024                    || {{N/A}}      || 512
| Maximum number of entities per packet ({{code|MAX_PACKET_ENTITIES}})                      || 256                    || 1024                    || 256                || 512
|-
|-
| Maximum number of spans (software renderer geometry limit)                                || 3000                  || 6000                    || {{N/A}}     || {{N/A}}
| Maximum number of spans (software renderer geometry limit)                                || 3000                  || 6000                    || {{N/A}}             || {{no|{{Tooltip|line=dashed|Svengine removed the software renderer|Removed}}}}
|-
|-
| Maximum number of surfaces (software renderer geometry limit)                            || 2000                  || 4000                    || {{N/A}}     || {{N/A}}
| Maximum number of surfaces (software renderer geometry limit)                            || 2000                  || 4000                    || {{N/A}}             || {{no|Removed}}
|-
|-
| Maximum number of edges (software renderer geometry limit)                                || 7200                  || 14400                  || {{N/A}}     || {{N/A}}
| Maximum number of edges (software renderer geometry limit)                                || 7200                  || 14400                  || {{N/A}}             || {{no|Removed}}
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>

Latest revision as of 08:19, 28 March 2025

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Todo: make more universal, make switch system for only GoldSrc sections f.e.
Todo: Quake stuff in the goldsrc section?
Todo: Paranoia HLSDK fork Paranoia HLSDK fork has a custom renderer, does it change anything?

View

Engine Limits
Limits GoldSrc Pre-25th GoldSrc Post-25th Xash3D Xash3D Svengine Svengine
Maximum number of dynamic sound channels 8 32 64 N/A
Default max number of server entities (MAX_EDICTS) 900 1200 600 - 8192 8192
Absolute max number of server entities (via liblist.gam edits) 2048 2048 8192 N/A
Maximum number of temporary entities (MAX_TEMPENTS) 500 N/A 300 - 2048 N/A
Maximum number of particles (MAX_PARTICLES) 4096 N/A 1024 - 131072 N/A
Maximum number of beams (MAX_BEAMS) 64 N/A 64 - 512 256
Maximum number of visible entities in the package (MAX_VISIBLE_PACKET) 256 1024 2048 N/A
Maximum number of pre-cacheable models and sprites (MAX_MODELS) 512 N/A 1024 (4096 in FWGS) 8192
Maximum number of pre-cached sounds (MAX_SOUNDS) 512 N/A 2048 4096
Maximum number of entries to read sentences made up of sentences (MAX_SENTENCES) 1536 2048 4096 N/A
Maximum number of user messages (MAX_USER_MESSAGES) 128 N/A 191 N/A
Max number of loaded textures (MAX_TEXTURES) 2048 N/A 4096 (8192 in FWGS) N/A
Max number of GL textures (MAX_GLTEXTURES) 4800 10000 4096 (8192 in FWGS) N/A
Number of messages titles.txt (MAX_MESSAGES) 1024 N/A 2048 N/A
Maximum size of indexed textures 512х512 512x512 8192х8192 N/A
Maximum size of full color textures 512х512 512x512 8192х8192 N/A
Maximum number of models on the map (MAX_MAP_MODELS) 256 N/A 768 (1024 in FWGS) 4096
Maximum number of map leafs (MAX_MAP_LEAFS) 8192 N/A 32767 65536
Maximum number of entities per packet (MAX_PACKET_ENTITIES) 256 1024 256 512
Maximum number of spans (software renderer geometry limit) 3000 6000 N/A Removed
Maximum number of surfaces (software renderer geometry limit) 2000 4000 N/A Removed
Maximum number of edges (software renderer geometry limit) 7200 14400 N/A Removed

Usage

Type this template on engine page, for example in section specifications