Page MenuHomeFeedback Tracker

Wrong model in weapon inspection menu
Assigned, NormalPublic

Description

Weapon inspector uses mesh from "Preview model", instead of mesh from meshobject


Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Add a "PreviewRenderAttributes" Custom attribute in InventoryItemComponent to any existing weapon attachment (pso1 for example)
  2. Add a custom preview model (armchair in this case)
  3. Attach pso1 to svd and open weapon inspection menu.
  4. Armchair visible in inventory and weapon inspection menu, everything is fine in game.

Event Timeline

Tactical_Toxic edited Steps To Reproduce. (Show Details)
Geez changed the task status from New to Assigned.Jul 24 2023, 10:54 AM

I would propose to consider adding possibility for non-cloth prefabs to have a "ground" item model. I understand that in most cases this might be useless but there are nontheless weapon attachments for example that might look weird on the ground using the same MeshObject model as they do when attached to the weapon.

Having the possibility to define which xob should be used for inventory slot preview and on-the-soldier preview in the center of the inventory would solve the bug described above.