ghbfdwsfgdfmjf Posted October 9, 2023 Share Posted October 9, 2023 Half the time, my character will not show in the selection menu. Half the rest of the time, i have gotten this error. I'm new at modding and would appreciate any help. dst mod.lnk Link to comment Share on other sites More sharing options...
ViridianCrown Posted October 10, 2023 Share Posted October 10, 2023 Try checking your anim files in your character's anim folder to check that your character's anim file is correctly named, and also check your prefab to make sure the asset is being called under the correct name. The code you're looking for should be at the top. Example: local MakePlayerCharacter = require "prefabs/player_common" local assets = { Asset("SCRIPT", "scripts/prefabs/player_common.lua"), Asset("ANIM", "anim/junebug.zip"), } For some reason the forum's code viewer automatically places the second asset slightly to the right of the top one, you don't need to do that. They should be uniform beneath one another. Hope this helps! Link to comment Share on other sites More sharing options...
ghbfdwsfgdfmjf Posted October 12, 2023 Author Share Posted October 12, 2023 I am no longer getting the crash, but the character is not showing up in the character selection menu! Link to comment Share on other sites More sharing options...
ViridianCrown Posted October 12, 2023 Share Posted October 12, 2023 There are two possible problems that you could check out. First one could be broken code in the character's prefab file. If you modified any of the character's data in that file, it could cause problems. The fix for this would be to just remove/edit the problem code and test it then. Another problem could be missing or otherwise incorrectly called assets. Perhaps check the modmain.lua file and check if your PrefabFiles and Assets are listed. It should look something like this: PrefabFiles = { "junebug", "junebug_none", } Assets = { Asset( "IMAGE", "images/saveslot_portraits/junebug.tex" ), Asset( "ATLAS", "images/saveslot_portraits/junebug.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/junebug.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/junebug.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/junebug_silho.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/junebug_silho.xml" ), Asset( "IMAGE", "bigportraits/junebug.tex" ), Asset( "ATLAS", "bigportraits/junebug.xml" ), Asset( "IMAGE", "images/map_icons/junebug.tex" ), Asset( "ATLAS", "images/map_icons/junebug.xml" ), Asset( "IMAGE", "images/avatars/avatar_junebug.tex" ), Asset( "ATLAS", "images/avatars/avatar_junebug.xml" ), Asset( "IMAGE", "images/avatars/avatar_ghost_junebug.tex" ), Asset( "ATLAS", "images/avatars/avatar_ghost_junebug.xml" ), Asset( "IMAGE", "images/avatars/self_inspect_junebug.tex" ), Asset( "ATLAS", "images/avatars/self_inspect_junebug.xml" ), Asset( "IMAGE", "images/names_junebug.tex" ), Asset( "ATLAS", "images/names_junebug.xml" ), Asset( "IMAGE", "images/names_gold_junebug.tex" ), Asset( "ATLAS", "images/names_gold_junebug.xml" ), } AddMinimapAtlas("images/map_icons/junebug.xml") AddModCharacter("junebug", "MALE", skin_modes) --If the gender is incorrect, you can just change "MALE" to "FEMALE". Link to comment Share on other sites More sharing options...
ghbfdwsfgdfmjf Posted October 15, 2023 Author Share Posted October 15, 2023 still not working after making said changes, will reattach mod in case that makes looking at the files easier. if its easier to change it than explain it to me, go ahead, haha! thank you. dst mod.lnk Link to comment Share on other sites More sharing options...
ViridianCrown Posted October 15, 2023 Share Posted October 15, 2023 The character download seems to not work, it's sending as a .lnk.download file instead of a .zip if you could compress it to a .zip file and then send it that'd be much appreciated! I'll take a look and try to fix it for ya. Link to comment Share on other sites More sharing options...
ghbfdwsfgdfmjf Posted October 30, 2023 Author Share Posted October 30, 2023 sorry for the slow response, here you go! Lmk if its wrong again! junebug.zip Link to comment Share on other sites More sharing options...
ViridianCrown Posted October 31, 2023 Share Posted October 31, 2023 Okay, I was able to fix the problem. For some reason the auto compiler wasn't creating anim files for your character. I decided it would be easier to manually copy the data over to a newer prefab character than to try fiddling with something the compiler didn't want to work with. After doing so, (and also fixing the gold names) I got the character to run in-game. I saw that you also had some perks in mind with the character. If you need any help with coding the character itself, I'd be happy to lend a hand wherever I can. Good luck with the rest of the mod!junebug.zip 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