Engine:Limits

From AddOn Studio
Jump to navigation Jump to search
Engine development

This is a reference for Engine general limits.

Notes[edit]

Key[edit]

Reference[edit]

Data limits[edit]

  • 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.