Skip to content

Allow rendering tech models with destroyed subsystems#7218

Open
MjnMixael wants to merge 1 commit intoscp-fs2open:masterfrom
MjnMixael:render_tech_model_subsystems
Open

Allow rendering tech models with destroyed subsystems#7218
MjnMixael wants to merge 1 commit intoscp-fs2open:masterfrom
MjnMixael:render_tech_model_subsystems

Conversation

@MjnMixael
Copy link
Contributor

Pretty much exactly what it says. With this you can pass a table of strings to renderTechModel or renderTechModel2 and if those strings match a subsystem the subsystem will be rendered as destroyed.

This is super useful for models that have variations that go beyond just team colors (already supported) where subsystems/submodels are used to differentiate between versions. Think map UIs. Or even think specialized briefing scenarios where the ship represented by an icon is previously damaged. Now that can be shown during the briefing when the user clicks on that ship in SCPUI.

@wookieejedi wookieejedi added enhancement A new feature or upgrade of an existing feature to add additional functionality. scripting A feature or issue related to LUA scripting ui A feature or issue specific to the menus portion of the user interface labels Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement A new feature or upgrade of an existing feature to add additional functionality. scripting A feature or issue related to LUA scripting ui A feature or issue specific to the menus portion of the user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants