Page MenuHomeFeedback Tracker

rvmat - hiddenSelectionsMaterials and healthLevels not working properly after 1.22 patch
Assigned, UrgentPublic

Description

Hello there,
today i spotted that my custom items doesnt change visuals when they gets damage. Before 1.22 patch it was working, for example: custom backpack made from DryBag, custom textures / rvmat (normal, damage, destruct) / nohq / smdi, hiddenSelectionsMaterials are applied, when item gets damage, its health level changed, for example from worn to damaged, but the visuals are same as worn / pristine. Was there any change in scripts code? Is this intentional so we can no more create custom items with textures from base DZ items?

Sorry for my bad english :P

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  • create custom item via config.cpp and CfgVehicles which inherits from some item - for example DryBag_ColorBase
  • set hiddenSelections, hiddenSelectionsTextures, hiddenSelectionsMaterials
  • create custom rvmat (normal / damage / destruct) with new nohq and smdi texture + some damage overlays, etc
  • set DamageSystem -> GlobalHealth -> healthLevels {1, 0.69999999, 0.5, 0.30000001, 0} and their rvmat's
  • in game place item on ground and shoot it, health status change, but visuals not
  • remove hiddenSelectionsMaterials and DamageSystem so items inherits those data from parent - this is working
Additional Information

Im 100% this was working before 1.22 patch, last weekend (26-27.8.2023) i made golden DryBag, i made custom rvmats and damaging item was changing its visuals, now it doesnt.

Event Timeline

Chimere created this task.Sep 3 2023, 12:07 AM
Geez changed the task status from New to Assigned.Sep 4 2023, 10:57 AM

Find the same problem in DayZ 1.25.158396, getting the same problem with the rvmat for Pressvest, I can assign and load each "damage" state as the first state, but it do not change if it take damage.