Need More Info General Cannot load sprite sheet category from 2 files

Users who are viewing this thread

Version number
1.1.5
Branch
Main
Modded/unmodded
Modded
The following sprite sheet defines an image for a cRPG map. When it is loaded, in SpriteData.LoadFromDepot, it will completely override the ui_mploading category with my single sprite, so all native maps lose their image.
XML:
<?xml version="1.0" encoding="UTF-8"?>
<SpriteData>
  <SpriteCategories>
    <SpriteCategory>
      <Name>ui_mploading</Name>
      <SpriteSheetCount>1</SpriteSheetCount>
      <SpriteSheetSize ID="1" Width="1920" Height="1080" />
      <AlwaysLoad />
    </SpriteCategory>
  </SpriteCategories>
  <SpriteParts>
    <SpritePart>
      <SheetID>1</SheetID>
      <Name>crpg_battle_whatever</Name>
      <Width>1920</Width>
      <Height>1080</Height>
      <SheetX>0</SheetX>
      <SheetY>0</SheetY>
      <CategoryName>ui_mploading</CategoryName>
    </SpritePart>
  </SpriteParts>
</SpriteData>
 
Could you try this? This is what i got back from the developers.
We can't load spritesheets for the same category from multiple sources. You can increase the SpriteSheetCount and mark spritesheet id as ID="2" in order to add additional spritesheets for a category.
 
Back
Top Bottom