Page MenuHomeFeedback Tracker

Damagesystem Wheels
Acknowledged, NormalPublic

Description

Vehicle Wheels have no Damagesystem with their respective damage-states rvmat assigned in config.
All Vanilla Wheels inherit the DamageSystem from class CarWheel, which is working, but doesn't change the visuals therefore.

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

Open config.cpp of DZ\vehicles\wheeled ^^

Event Timeline

Tyson created this task.Mar 7 2024, 9:12 AM
Geez changed the task status from New to Assigned.Mar 7 2024, 11:30 AM
Urs0815 added a subscriber: Urs0815.Mar 7 2024, 6:36 PM
Geez added a subscriber: Geez.Apr 3 2024, 2:23 PM

Hello Tyson.
Can you please give us in game repro as to how to produce the issue in game?

Tyson added a comment.Apr 3 2024, 3:52 PM

Hello Tyson.
Can you please give us in game repro as to how to produce the issue in game?

Hello Geez,

simply shoot at any Vanilla Wheel. As there are no damage rvmat versions defined, they will not update their visuals when being damaged/badly damaged or ruined.

Tyson added a comment.Apr 3 2024, 3:54 PM

Here is a example i made as an override:

	class HatchbackWheel: CarWheel
	{
		class DamageSystem
		{
			class GlobalHealth
			{
				class Health
				{
					hitpoints=200;
					healthLevels[]=
					{						
						{
							1.00,							
							{
								"DZ\vehicles\wheeled\offroadhatchback\data\niva_wheel.rvmat"
							}
						},						
						{
							0.69999999,
							{
								"DZ\vehicles\wheeled\offroadhatchback\data\niva_wheel.rvmat"
							}
						},						
						{
							0.50,							
							{
								"DZ\vehicles\wheeled\offroadhatchback\data\niva_wheel_damage.rvmat"
							}
						},						
						{
							0.30000001,
							{
								"DZ\vehicles\wheeled\offroadhatchback\data\niva_wheel_damage.rvmat"
							}
						},						
						{
							0.00,
							{
								"DZ\vehicles\wheeled\offroadhatchback\data\niva_wheel_destruct.rvmat"
							}
						}
					};
				};
			};
		};
	};
Geez changed the task status from Assigned to Acknowledged.Apr 3 2024, 4:11 PM