Models, LODs and weapon pack performance
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.
- Import a stock weapon
.ydrwith Sollumz and keep it as the reference. - Match its scale (1 unit = 1 metre), its orientation and its origin.
- Keep the attachment bones the weapon uses:
WAPClip,WAPSupp,WAPFlshLasr,WAPScop,WAPGrip. - Assign Sollumz weapon shaders, with the textures named correctly.
- Export. If your Sollumz version writes XML, convert it to binary in CodeWalker.
| LOD | Target |
|---|---|
| High | Low tens of thousands of triangles for a primary weapon; fewer for pistols |
| Medium | Roughly half of high |
| Low / Very low | Roughly half again each step |
| Draw calls | Ideally 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
+hidictionary and the_himodel, 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.