Custom Skeleton Support - #3653
Open
Tiny-DM wants to merge 8 commits into
Open
Conversation
jaj22
reviewed
Sep 23, 2025
jaj22
reviewed
Sep 26, 2025
jaj22
requested changes
Jun 9, 2026
jaj22
left a comment
Collaborator
There was a problem hiding this comment.
Mostly good, needs a couple of tweaks.
jaj22
reviewed
Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this.
What have you changed and why?
Information:
Modder resource to allow for the creation of templates with custom skeletons (or more accurately, custom base units the game tries to spawn)
Please verify the following and ensure all checks are completed.
Is further testing or are further changes required?
How can the changes be tested?
Steps: Load the attached template with OPTRE installed and get some SF to spawn, they will be Spartans with custom base units / skeletons.
Vanilla_AI_CSAT_Arid.txt
Notes:
Skeletons are defined per unit class, so you can make sure the SF Autorifleman has a custom skeleton and the SF Medic doesnt if you want, but it cannot be randomized. The input to the faction load for each unit class entry looks like
_unitLine params ["_name", "_template", ["_traits", []], ["_count", 5], ["_baseClass", ""]];So the existing standard of [name, loadouts] needs to have extra nils added to add a custom base class. See example below:
Loadouts are still applied as normal. So certain loadouts may need to be empty or have custom gear to support the skeleton.