Page MenuHomeFeedback Tracker

Modding SCR_HealthTooltipDetail breaks it from displaying
Closed, ResolvedPublic

Description

Normal:

Modded:

Looks like modding the class causes it to malfunction.

Details

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

modded class SCR_HealthTooltipDetail {};

Event Timeline

NiiRoZz added a subscriber: NiiRoZz.EditedJun 7 2023, 1:46 PM

Hello, did you have added exactly the same attribute as the default class, like this :

[BaseContainerProps(), BaseContainerCustomTitleField("m_sDisplayName")]
modded class SCR_HealthTooltipDetail {};

Currently, you need to match the attributes of the parent class. Attributes are not forwarded to the modded class.

Ohh, I did not, that may explain what's going on here


WORKS now!
Thanks

NiiRoZz added a subscriber: Geez.Jun 7 2023, 2:17 PM

@Geez Can be closed then as resolved :)

Geez closed this task as Resolved.Jun 7 2023, 2:21 PM
Geez claimed this task.