FiveM Industrial and Infrastructure Props: How to Stream Modular Assets
Industrial and infrastructure props (pipes, racks, electrical gear, fences) are popular on FiveM because they fill out interiors and yards. They also expose the most common streaming mistakes.
The two files per prop
Each prop streams as a .ydr drawable (the model) with a matching .ytyp archetype definition (its name, bounds and distance settings). A resource also needs an fxmanifest.lua. Name the model exactly as you will spawn it.
Collision
Embed simple collision in the drawable. Avoid using the render mesh for collision: it is heavy and can cause strange player and vehicle behaviour. Boxes, capsules and convex shapes are enough for most industrial parts.
Textures
Keep textures at 512 to 1024 px for small parts and avoid duplicating the same steel texture on every prop. Every streamed megabyte is downloaded by players joining the server.
Test in the game, not only in the exporter
Spawn each model, walk around it and look from several distances and angles. Check for black or wrong-coloured textures, missing collision and objects that disappear at the wrong distance. We load-test every model in a FiveM client before release.
About our FiveM edition
Our kits get a separate FiveM edition (never mixed into the Unity package), sold through Tebex and the Cfx.re Marketplace. See the FiveM page.
Portgrid Studio is not affiliated with, endorsed by or sponsored by Rockstar Games, Take-Two Interactive or Cfx.re.
Get launch news and free samples
One email per release. No spam. Unsubscribe any time.