Timtams98 Posted April 6, 2018 Share Posted April 6, 2018 (edited) So, I'm working on my own mod, but I'm having issues. I keep getting to the character select, but then it crashes. This is the error screen I was getting: Can someone give me some tips? EDIT: It only crashes when I hover over the select screen icon for my character. Edited April 6, 2018 by Timtams98 Found more information Link to comment Share on other sites More sharing options...
K1NGT1GER609 Posted April 10, 2018 Share Posted April 10, 2018 Tracing back the error its having trouble loading the timothy_none lua file and the function inside it should looks like this: return CreatePrefabSkin("timothy_none", { base_prefab = base_prefab, skins = skins, assets = assets, tags = tags, skip_item_gen = true, skip_giftable_gen = true, }) if not then chances are the file was deleted the modmain still contains it and is trying to call it and finds nothing (crashes). For this one you can either get the file back or delete the following if you have no use for the none portrait. PrefabFiles = { "timothy_none", --delete this } Assets = { Asset( "IMAGE", "bigportraits/esctemplate_none.tex" ), --delete these Asset( "ATLAS", "bigportraits/esctemplate_none.xml" ),---delete these } 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