Jump to content

Recommended Posts

I am not too experienced at coding mods at all and I have mostly been stumbling my way through making this mod ("Niko -revised") but I have finally ran into a error that I can not figure out a fix for. I am trying to make custom skins for an item which is applied the same way you would apply skins to crafted items in the normal game but when I open the involved crafting tab I keep getting this error on a crash:

[string "../mods/Niko - Edit V2.1.0 WIP/modmain.lua"]:164: variable 'SKIN_STRINGS' is not declared

After comparing the code with a mod that successfully does it ("Soldier (TF2)") I still can not tell what is causing the problem.

I cant even figure out where or how 'SKIN STRINGS' is supposed to be declared, but it must be somewhere on the other mod that I am just not noticing.

modmain.lua client_log.txt

Sadly ive posted like 10 posts in here altogether and only gotten help twice. But I can help you with this. Take a look at this mod, which has cusom skins for the cat and lanterns (you can even make it work offline if you know what you do, however he has made it online only):

https://steamcommunity.com/sharedfiles/filedetails/?id=392470602

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...