Jump to content

Recommended Posts

Yes, you can reskin textures in the game using the following methods:

 

  1. Copy the animation zip and decompile the tex file inside. Try not to make the textures bigger, it can result in cut off corners.
  2. Decompile the entire animation using krane, change the individual png textures (and maybe the animation if you dare) and recompile.

 

That's as far as the textures go. How to give that to the game?

 

  1. Put the copied and edited animation back together, and in your mod in the same folder as it was in "data" (no code required)
  2. Call the animation differently and put it in the same place, now edit modmain.lua and AddPrefabPostInit to control when which skin is used.

 

If you are doing a skin/texture pack of sorts, I recommend to use the second texturing and then the first integration method. If you need some kind of character perk, use the latter integration. If you cannot use simplex' krane for some reason, you'll have to try the first texture method.

'Halloween textures' mod on the Steam workshop might be worth checking out if you'd like to see how a texture replacing code works (this mod also has replacement strings), that what I found when I was wondering about the same thing.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...