Jump to content

Having Issues Getting Past Character Select...


Recommended Posts

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:

5ac6bde6ac14f_error2.thumb.PNG.858a27a2d7a4012f2060628fb234b62b.PNG

Can someone give me some tips?

 

EDIT: It only crashes when I hover over the select screen icon for my character.

Edited by Timtams98
Found more information
Link to comment
Share on other sites

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

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
 Share

×
×
  • Create New...