Jump to content

Recommended Posts

Hello there! I have recently started trying to make a mod for DST. I have followed so many different guides, and they all seem to do the same. But for some reason it doesn't work for me. I am sure this might be because the guides are outdated. Anyways. When I make my character he shows up on the Character Selection screen, just how I want him to. BUT. When I enter the game (start loading into the world) the game crashes. I have checked all the files and names and replaced all of the template names, with my characters name, just how everyone does it in the guides. I have eventually after a loooong while, figured out a problem:
 
The file that is wrong is the "thebrohman_none.lua" file.

17. return CreatePrefabSkin("thebrohman_none",18. {19.     base_prefab = base_prefab,20.     skins = skins,21.     assets = assets,22.     tags = tags,23.     24.     skip_item_gen = true,25.     skip_giftable_gen = true,26. })

The error is:

http://images.akamai.steamusercontent.com/ugc/398931014500434352/EE401199EE01E57CEA9DC5943E2C841273C68EF0/

 

Please help me! I am not able to figure this out.

Is that your whole "thebrohman_none.lua" code? If yes, then you're missing some things. 

Of course it's not, I'm dumb.

Check wilson_none.lua or any other "none" file of the original characters and try to replicate what's done there. Or post the whole "thebrohman_none" here.

Edited by PanAzej

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
×
  • Create New...