Skip to content

Fix Tektite texture body break parts for custom skeletons#5214

Merged
aMannus merged 2 commits intoHarbourMasters:developfrom
Archez:fix-custom-skel-tektite-breakpart
Mar 26, 2025
Merged

Fix Tektite texture body break parts for custom skeletons#5214
aMannus merged 2 commits intoHarbourMasters:developfrom
Archez:fix-custom-skel-tektite-breakpart

Conversation

@Archez
Copy link
Contributor

@Archez Archez commented Mar 25, 2025

For Tektites, the body breakpart system looks for a specific tektite DL by name to decide if the blue or red body textures should be loaded into segment positions. We've already changed this in the past to do a string comparison because of how our resources work, but this check fails whenever a custom skeleton is used for Tektites that does not use the exact same DL names.

To help with mod support, I've added a fallback to just check that the parent actor has the Tektite ID. Also add region comments to clarify the port change.

I believe this should be safe as even I don't think any other breakpart should trigger this (considering the param and parent relationship), and even if it did, all that would happen is the segment values would be unused.

Build Artifacts

@Archez Archez changed the title Fix Tektite body break parts for custom skeletons Fix Tektite texture body break parts for custom skeletons Mar 25, 2025
@Archez Archez added this to the 9.0.0 milestone Mar 26, 2025
@aMannus aMannus merged commit f1a45cf into HarbourMasters:develop Mar 26, 2025
5 checks passed
@Archez Archez deleted the fix-custom-skel-tektite-breakpart branch March 26, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants