Santa & Christmas Edition36 maps, limited runlimited runShop the drop
Chapter 09 of 10The Weapon Skins Handbook for FiveM

Models, LODs and weapon pack performance

In short

New weapon models reach the game from Blender through Sollumz. Match the stock weapon’s scale and bones, keep the polycount sane and build LODs: a weapon costs download size once and memory whenever it is near the camera.

  1. Import a stock weapon .ydr with Sollumz and keep it as the reference.
  2. Match its scale (1 unit = 1 metre), its orientation and its origin.
  3. Keep the attachment bones the weapon uses: WAPClip, WAPSupp, WAPFlshLasr, WAPScop, WAPGrip.
  4. Assign Sollumz weapon shaders, with the textures named correctly.
  5. Export. If your Sollumz version writes XML, convert it to binary in CodeWalker.
LODTarget
HighLow tens of thousands of triangles for a primary weapon; fewer for pistols
MediumRoughly half of high
Low / Very lowRoughly half again each step
Draw callsIdeally one to three materials per weapon

Once the geometry is reasonable, almost all of what a weapon costs in memory is textures, so that is where a pack is tuned.

  • Main textures at 1K–2K in BC1 or BC7 with mipmaps; 512 or smaller for small parts.
  • Check the +hi dictionary and the _hi model, which are often the heaviest files in a pack.
  • Give every model LODs and a sensible polycount.
  • Remove variants nobody uses. One well-made pistol is worth more than five similar ones.
  • To audit a pack, list each weapon’s texture sizes and fix the heaviest first.

Start order matters as well: the inventory and the framework have to start before any weapon resource that registers items, as resource load order explains. Server-wide streaming limits, increase_pool_size and oversized assets are covered in the streaming and performance chapters of the Server Handbook.

The Weapon Skins Handbook for FiveM

This chapter is one of 10. The handbook also carries the native, control and data-file cheat sheets, a glossary and the official references behind every chapter.

Open the handbook