Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Are you trying to make a workshop mod or trying to replace the texture directly in your game files?
I disliked having such a bulky backpack on my character so i wanted to pretty much edit the backpack to be half the width. I managed to do that, i changed the backpack sprite within the .png file and i changed some of its properties inside the code, namely the 'sourcerect' and the 'Body width' properties.
The problem is, because the 'tools.png' file includes different sprites, like the welding tool, the plasma cutter, etc, it appears to override any other mod that might change any sprite present within the same '.png' file.
So my question is:
Is it possible to use a single '.png' file containing only the backpack sprite and somehow apply that to the game using code, to avoid overriding any other sprite?
Thanks
You could probably make a copy of tools.png and rename it to tools2.png, put your edits there then replace InventoryIcon and Sprite within the xml to tools2.png.
The game can basically search for and load up any file path defined in the xml for as long as it is inside Content.
If there is a mod that modifies how the backpack behaves, it'll probably be reverted to it's original texture so it might be better to make it a localmod for yourself then put it up the load order.