Marmalade Posted July 5, 2020 Share Posted July 5, 2020 I've been working on my modded character for awhile, using some character template with a smile so vile. After renaming stuff here and there, when the game crashed I almost started to swear. Upon being birthed the character doesn't show, "Man" I thought, "what a h__! It may be a thing I forgot to rename, or my IQ to be the blame. Please help me, as you can see as I am (virtually) on my knees! this took way too long, but using a character template for my modded character and after renaming a few files and changing codes, the player is completely invisible when they spawn in. (alternate title: Custom character drinked minecraft invisible potion) Link to comment Share on other sites More sharing options...
-LukaS- Posted July 5, 2020 Share Posted July 5, 2020 Show me your characters prefab file. I might be able to catch the error but I need to review your code. 1 Link to comment Share on other sites More sharing options...
Marmalade Posted July 6, 2020 Author Share Posted July 6, 2020 wylda.lua Link to comment Share on other sites More sharing options...
-LukaS- Posted July 6, 2020 Share Posted July 6, 2020 (edited) In order to make your character have animation you have to set it. player_common.lua that you're using sets it for you but you have to "tell it" what animations to use. So to do that you have to import your animations to your characters prefab file with: local assets = { Asset("ANIM", "anim/your_character.zip") } That .zip file should have the same name as your characters prefab file. player.common.lua sets characters bank and build like this: inst.AnimState:SetBank("wilson") -- "wilson" is the default bank used for every character inst.AnimState:SetBuild(name) -- "name" is the name of the prefab and characters anim file, they need to be the same inst.AnimState:PlayAnimation("idle") Edited July 6, 2020 by IThatGuyI 1 Link to comment Share on other sites More sharing options...
Marmalade Posted July 6, 2020 Author Share Posted July 6, 2020 Whenever I put those bad boys in the file and replaced the name with wylda, it still was invisible Link to comment Share on other sites More sharing options...
-LukaS- Posted July 6, 2020 Share Posted July 6, 2020 Weird. Everything looks fine. That means there must be a minor error in coding or some errors in anim files. 1 Link to comment Share on other sites More sharing options...
Marmalade Posted July 6, 2020 Author Share Posted July 6, 2020 could sending the entire project over possibly help? Link to comment Share on other sites More sharing options...
-LukaS- Posted July 6, 2020 Share Posted July 6, 2020 Yeah, if you can, send it and I'll check it. 1 Link to comment Share on other sites More sharing options...
Marmalade Posted July 6, 2020 Author Share Posted July 6, 2020 (edited) - (this is basically the only way i know how to) Edited July 8, 2020 by eeerasdxdasfdds Link to comment Share on other sites More sharing options...
-LukaS- Posted July 7, 2020 Share Posted July 7, 2020 (edited) Can't you just upload the folder here? On mediafire you need a premium account to bulk download. Edited July 7, 2020 by IThatGuyI 1 Link to comment Share on other sites More sharing options...
Marmalade Posted July 8, 2020 Author Share Posted July 8, 2020 whenever I try to drag in the folder, it says upload failed Link to comment Share on other sites More sharing options...
-LukaS- Posted July 8, 2020 Share Posted July 8, 2020 Oh, you need to archive it first. 1 Link to comment Share on other sites More sharing options...
Marmalade Posted July 8, 2020 Author Share Posted July 8, 2020 (edited) sorry for the not-so-speedy reply, I possibly forgot that I even posted here lol Edited July 9, 2020 by eeerasdxdasfdds removed zip file for stealers Link to comment Share on other sites More sharing options...
-LukaS- Posted July 8, 2020 Share Posted July 8, 2020 So, I just tested out your mod and it seems like it works. 1 Link to comment Share on other sites More sharing options...
Marmalade Posted July 8, 2020 Author Share Posted July 8, 2020 that folder is published as a workshop mod and whenever I update the mod with that exact file, open up dst, update the mod inside dst, the player is still invisible Link to comment Share on other sites More sharing options...
Marmalade Posted July 10, 2020 Author Share Posted July 10, 2020 alright, after fixing a few things and updating the workshop mod, the character now exists, but her custom voice instrument is gone Link to comment Share on other sites More sharing options...
Raywave Posted September 23, 2021 Share Posted September 23, 2021 Sorry to necro an old post, but I believe this one is onto something and really relevant to the issue I'm having. I'm trying to make a mod as well, but I'm also running into this issue. I need to know exactly where the animstate lines go. Anywhere in bill_cipher_none.lua? or... I've run the game putting it where I thought it'd go and it gave me this error. And here's my lua too. bill_cipher.lua bill_cipher_none.lua 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