Skip to Content
PerformanceAssets

Assets

Optimize assets to reduce download times and improve performance.

Streaming Sizes

Keep streaming folder organized:

stream/ maps/ vehicles/ peds/ props/

Size Limits

  • Individual files: <50MB recommended
  • Total streaming: <2GB recommended
  • Use compression where possible

LODs (Level of Detail)

Use LODs for better performance:

  • LOD0: High detail (close)
  • LOD1: Medium detail (medium distance)
  • LOD2: Low detail (far)

ytyp Files

Define entity types in .ytyp files:

<Item type="CEntityDef"> <lodDist value="500" /> <streamingExtentsMax value="1000" /> </Item>

Optimization Tips

  1. Reduce file sizes: Compress textures
  2. Use LODs: Multiple detail levels
  3. Optimize models: Reduce polygons
  4. Stream efficiently: Organize files

Best Practices

  • Test asset loading
  • Monitor download times
  • Use appropriate LODs
  • Compress where possible
Last updated on