View Issue Details

IDProjectCategoryView StatusLast Update
0000315Medieval EngineersBugpublic2022-10-03 10:17
Reportershad Assigned Tocpttwinkie  
PrioritynormalSeveritytweakReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version0.7.3.33D4BB 
Target Version0.7.4 (unreleased)Fixed in Version0.7.4 (unreleased) 
Summary0000315: Allow limiting wardrobes and respawn to specific character lists

Currently MyMedievalPlanetRespawnComponent, MyGuiScreenWardrobe, and MyCharacterModelDataSource all generate a list of character models by going through all CharacterListDefinitions.
All of these should have a new HashSet<MyDefinitionId> added to their definitions that allows mods to limit respawn and wardrobe blocks to only allow switching to a subset of character definitions.

TagsCharacter, Mod API


related to 0000316 new [Modding] Add research quest option for playable characters  



2022-05-03 17:42

administrator   #~0000236

@shad's original request:

Right now, when you join/load a world for the first time, you spawn with a randomly selected character from

    <Id Type="CharacterListDefinition" Subtype="Default" />

This can either be one of the vanilla characters (male/female engineer) or any modded character that is appended to that list.
As far as I understand, this lis is hardcoded to the wardrobe, respectively, the wardrobe cannot be configured to draw from additional lists.
I have two mods in the pipeline that I won't work with how the system works now. I need to exclude specific playable character models from the initial spawn, but still be able to be pickable from the wardrobe.

My suggestion:
Add bool check (i.e. InitialSpawn) to CharacterListDefinition so you can decide if a character should be available for the first spawn or not. If "false", the character will still be selectable from the wardrobe.
Restricting initial spawn to vanilla characters only is too limiting in my opinion, as there are legitimate, modded characters that are intended to be available for initial spawn.

Issue History

Date Modified Username Field Change
2022-05-03 04:47 shad New Issue
2022-05-03 04:47 shad Tag Attached: Character
2022-05-03 04:47 shad Tag Attached: Mod API
2022-05-03 17:34 equinox Target Version => 0.7.4 (unreleased)
2022-05-03 17:34 equinox Description Updated
2022-05-03 17:42 equinox Summary Add definition to set playable characters for initial spawn => Allow limiting wardrobes and respawn to specific character lists
2022-05-03 17:42 equinox Description Updated
2022-05-03 17:42 equinox Additional Information Updated
2022-05-03 17:42 equinox Additional Information Updated
2022-05-03 17:42 equinox Note Added: 0000236
2022-05-03 17:46 equinox Relationship added related to 0000316
2022-08-11 12:34 cpttwinkie Assigned To => cpttwinkie
2022-08-11 12:34 cpttwinkie Status new => assigned
2022-08-11 12:38 cpttwinkie Status assigned => in progress
2022-09-04 05:56 cpttwinkie Status in progress => resolved
2022-09-04 05:56 cpttwinkie Resolution open => fixed
2022-09-04 05:56 cpttwinkie Fixed in Version => 0.7.4.x (unreleased)
2022-10-03 10:17 equinox Fixed in Version 0.7.4.x (unreleased) => 0.7.4 (unreleased)