Zurex Posted January 18, 2016 Share Posted January 18, 2016 Hello! I am creating my first mod and I have an issue with the Start Inventory item. I want the starting item to be a Straw Hat. When ever I pick my mod, create the world and pick MY CHARACTER (simon) The game shows me this error: (screen shot below)... From what I know, the game doesn't recognize the { "hat_straw" }. I tried it with straw_hat, hat, straw and none of them worked. Also I tried it with other hats and different combinations with the hat_ ... I tried to do it with different items like "meat" , "hammer" and it worked. The character started with meat, hammer... I am not sure but I think that the problem is with the hat_straw name. It seems like it doesn't exist although I found the name in the anim folder (screen shot below)... Does any one know what the real name is??? I cant find it any where, even in the hats.lua it says "straw" (as the name of the hat and local fname = "hat_"..name (the name is straw) I will really appreciate if someone helped I am on this issue for 2 h now and I cant find a solution. Link to comment Share on other sites More sharing options...
Zurex Posted January 18, 2016 Author Share Posted January 18, 2016 OK, I got it... Sorry for posting this (as I just got it) But it may help in the future. (as I don't know how to delete it, it will stay here) The answer to this is: "strawhat" For any other hats should be similar: "flowerhat" ect... "namehat" Link to comment Share on other sites More sharing options...
DarkXero Posted January 18, 2016 Share Posted January 18, 2016 "strawhat" is the straw hat's prefab name. That's the zip that contains the build. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now