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
- Reduce file sizes: Compress textures
- Use LODs: Multiple detail levels
- Optimize models: Reduce polygons
- Stream efficiently: Organize files
Best Practices
- Test asset loading
- Monitor download times
- Use appropriate LODs
- Compress where possible
Last updated on