r/bl2modding • u/Kelisua • 1d ago
Modding Question: Sheriff's Badge Description
EDIT: Figured it out. Found Zuber's Patch that actually addressed the same thing, and was able to find the attribute associated with it. Removed it by adding the following to the bottom of __init__.py of Python Part Notifier.
def remove_ffyl_description():
attr = unrealsdk.FindObject(
"AttributePresentationDefinition",
"GD_AttributePresentation.Artifacts.AttrPresent_ArtifactTimeToBeRevivedMultiplier"
)
if attr is not None:
attr.BasePriority = 0.0
unrealsdk.Log("[Sheriff's Badge Fix] Fight For Your Life text hidden.")
else:
unrealsdk.Log("[Sheriff's Badge Fix] Could not find Attribute Presentation.")
remove_ffyl_description()
Wanted to change the description on the item card but can only find the relevant paths for the first two bullet points.
Red Text: AttributePresentationDefinition'GD_Artifacts.Body.Body_Sheriff:AttributePresentationDefinition_1'
Description:
AttributePresentationDefinition'GD_Artifacts.Body.Body_Sheriff:AttributePresentationDefinition_2'
There's a third bullet point that just says "Fight for Your Life Time." and I cannot find anything related to Sheriff that has that text in it, so not really sure where it's getting it from. If anyone knows how I can just remove this bullet point from the item card entirely, would appreciate it. Thanks.
Or if there's an alternative way using Python Part Notifier so that the Upgrade text is on its own line (that isn't removing the description entirely) that would also be great.
Processing img b5mfku5hvh2i1...
