Engine:Limits: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:


* Names in general are limited to 63 characters maximum.
* Names in general are limited to 63 characters maximum.
** Applies to names of CVar, CCmd, Alias, and context.
** Applies to names of CVar, CCmd, Alias, and context. <kua>set name value  // CVar name is 'name'</kua>
** Applies to data relative asset names, which is the full relative asset path and name.
** Applies to data virtual 'asset names', which are the full relative name including relative path and name. <kua>set font textures/font1.png  // asset name is 'textures/font1.png'</kua>
* Paths not that are not data relative asset paths are limited to 511 characters maximum.
** Applies to archive file names, which are a relative or fully qualified OS filesystem path. <kua>set data_path ./data/  // full effective archive name is './data/pak0.zip'</kua>
* General paths, that are not archive or asset paths are limited to 511 characters maximum.
** Applies to the full path and name folders and files in the engine install location.
** Applies to the full path and name folders and files in the engine install location.
** Applies to the full path and name folders and files in any data location.
** Applies to the full path and name folders and files in any data location.

Latest revision as of 19:45, 23 October 2023

Engine development

This is a reference for Engine general limits.

Notes

Key

Reference

Data limits

  • Names in general are limited to 63 characters maximum.
    • Applies to names of CVar, CCmd, Alias, and context.
      set name value   // CVar name is 'name'
    • Applies to data virtual 'asset names', which are the full relative name including relative path and name.
      set font textures/font1.png   // asset name is 'textures/font1.png'
    • Applies to archive file names, which are a relative or fully qualified OS filesystem path.
      set data_path ./data/   // full effective archive name is './data/pak0.zip'
  • General paths, that are not archive or asset paths are limited to 511 characters maximum.
    • Applies to the full path and name folders and files in the engine install location.
    • Applies to the full path and name folders and files in any data location.