Elin
287 ratings
Texture Expand
9
2
2
3
   
Award
Favorite
Favorited
Unfavorite
Graphic: Item/NPC Sprite
System: Utility
File Size
Posted
Updated
309.140 KB
Nov 30, 2024 @ 6:51pm
Dec 21, 2024 @ 1:37am
17 Change Notes ( view )

Subscribe to download
Texture Expand

Description
(Translated by ChatGPT)
(12/21 update)Added condition “during a pleasant thing”, fixed a bug that caused the display of unrelated characters to collapse when loading the game without restarting, fixed some buffs were not able to determine conditions, updated the display when characters spawn.
(12/13 update) Layer function added, bugs fixed.
(12/5 update) Fixed the behavior when specifying multiple conditions with the same name. Added new conditions: Fur, Faith, Weight, Height, and Age.

The character's texture changes based on specified conditions.
Modified textures for verification purposes are included but can be removed if not needed.
All texture changes by this MOD are non-intrusive and won't affect save data. It can be applied to existing save data, disabled later, or have textures added/removed without issues.

New Feature: Layers
This feature allows you to display an image combined with another image.
For more details, please refer to the included documentation and the sample MODs provided below.
https://steamcommunity.com/sharedfiles/filedetails/?id=3383463780


Texture Naming Rules
Textures in the "Texture" folder are considered replacement targets based on their naming convention.
The MOD searches other active MOD folders for matching textures.

Textures must begin with objC_.
Specify either the character ID or the original texture tile ID.
For example:

objC_golden_knight#m.png: Targets the "golden_knight" character ID (Golden Knight).
objC_1212#noeq-torso.png: Targets all characters using tile ID=1212.
If multiple conditions are specified, all conditions must be met to trigger the replacement.

Gender
Textures change based on gender.

Add #m to target male textures.

Example: objC_golden_knight#m.png targets "Golden Knight (male)."

Add #f to target female textures.

Example: objC_1213#f.png targets "Guardian (female)."
Equipment
Textures change based on equipped items.

Add #eq-{part}-{equipment ID} to target specific equipment.

Example: objC_1212#eq-head-hat_wizard.png targets "Golden Knight wearing a wizard hat."

Add #noeq-{part} to target characters with nothing equipped on the specified part.

Example: objC_1212#noeq-torso.png targets "Golden Knight with no torso equipment."
Conditions
Textures change based on character states or conditions.

Add #con-{state} to specify states (e.g., poison, sleep).
Example: objC_1212#con-drunk.png targets "Golden Knight in a drunk state."

Combining Conditions
Multiple conditions can be combined.

All conditions must be met for the texture to apply.
Example: objC_1212#noeq-torso#con-drunk#floor-97.png targets "Golden Knight with no torso equipment, drunk state, on sandy terrain."
Portraits
Textures change based on portrait matches.

Add #portrait-{keyword} to target specific portraits.
Example: objC_1003#portrait-_D targets characters with tile ID 1003 and a portrait containing "_D."
External Configuration Files
Use .textureexpand files (CSV format) for advanced setups.

Format: {image file path}, {keywords}
Useful for referencing other MOD images or assigning multiple conditions to a single texture.
Other conditions
.Other determinations such as maps and weather can also be made.
Please check the included documentation for details.

Note
.Please put the characters with two tiles, such as giants, together in one image.
If they are split, they will not be recognized correctly.
71 Comments
月下冬萤 Apr 1 @ 4:05am 
请问,这个mod可以和随便加载器搭配使用吗?
拉普拉斯 Feb 26 @ 8:47am 
感谢大佬做了这个mod,神mod确信
Tonic Feb 25 @ 8:32pm 
Nevermind i figured it out. Heads up to anyone who changes their load order with this mod installed, go to the mod folder and clear the cashe
Tonic Feb 24 @ 12:37pm 
Im not sure why but this seems to ignore load order. I have mods that have some texture overlap but for some reason it seems to favor some textures over other
月下冬萤 Feb 14 @ 6:21am 
无法添加地毯的纹理替换效果,是bug吗?
月下冬萤 Feb 13 @ 6:40pm 
解决了,好像是串流了,把另一个农民的替换纹理去掉就好了
月下冬萤 Feb 13 @ 6:08pm 
为什么我的小人消失了,只有地上的影子?给魔女使用了一个“手指--戒指”的婚纱纹理替换,戴上戒指后,整个人物消失了QAQ
Inari Feb 13 @ 3:39am 
有bug呢
'JJ Feb 8 @ 8:17am 
has some problems at least for me or if adding more mods of that category
Puddles Feb 5 @ 8:58pm 
@sobagaki:

9:54 PM]Odious Ooze『Puddles』: @FreshCloth Running into something weird. It's...some conflict between Texture Expand and CWL. When I try to re-import Golden Knight's Chara entry to add golden_knight as the TextID, it works...but then her sprite gets turned into the top half of a giant's sprite. I looked at the texture cache for Texture Expand, but the giant's texture isn't listed there. If I delete the entry from the import, the sprite works fine. There's nothing in the player.log about an error, unfortunately.

[9:56 PM]FreshCloth: cwl doesn't do any texture swapping, this is mostly a bug with TE interacting with duplicate rows

Is there a way to fix this?