Rain World

Rain World

Not enough ratings
Configuring sprites for Entities In Den with custom slugcats
By Some Potsyk
I'll be deleting this guide soon, but it's still relevant for developers of custom slugcats
   
Award
Favorite
Favorited
Unfavorite
Notes
A little bit about how entities in den works
As soon as the sleep screen starts, the mod starts searching for the necessary files with the extension ".json" in the mods folder. Then the mod tries to find the same files in the sprite folder of this sleeping slugcat. And if the mod finds them, then it will use new ones.

The mod I used for the demonstration
For example, I will use The Slopeyed (SaltCat) mod made by Saltfornow.
https://cs2bus.com/sharedfiles/filedetails/?id=3497823362

Rain World workshop path
Just in case, I'll point out that the mods from the workshop for rain world are located in the steam folder along the following path : \steamapps\workshop\content\312520


Preparing the necessary folders
Opens the folder with the custom slugcat mod and go to "scenes" and then look for the folder where the sprites for sleepscreen are stored.

Next, we create the "entitiesinden" folder and open it.



Changing the Position of a specific illustration
Now we need to copy the json file we need and paste it into the folder we created.

To do this, follow this path in the steam folder : \steamapps\workshop\content\312520\3496047692\entitiesinden
and copy and paste what we need.
I chose Vulture Mask.



Now we need to go into the json we copied.
We see several properties here, but for the most part, we just need to change the position of the sprite.
First, we need to delete the variables "whi","yel","red", "gou","art","riv","spe", "sai".(They don't affect anything here).
And then find the "pos" variable. It is responsible for the position of the sprite.
Changes the values of x and y in the "pos" variable and saves the changes.


Default

Edited





General adjustment of layers
To do this, we create a text document in the created folder and name it "slugcatIndex".
In it, we sort of indicate the number under which the slugcat sprite was uploaded. If you don't know how the slugcat sprite is loaded, you can simply iterate through the numbers from 0 to the number of sprites in this folder - 1.


0




1




2




3




4




And that's all.