MrManGo Posted October 30, 2013 Share Posted October 30, 2013 I have error in My Character for Don't starveI launch my mod and I see error : /common/dont_starve/mods/MrManGo/modmain.lua:13:'<name>' expected near '<eof>' !In the Modmain:PrefabFiles = {"MrManGo",}Assets = {Asset( "IMAGE", "images/saveslot_portraits/MrManGo.tex" ),Asset( "IMAGE", "images/selectscreen_portraits/MrManGo.tex" ),Asset( "IMAGE", "images/selectscreen_portraits/MrManGo_silho.tex" ),Asset( "IMAGE", "bigportraits/MrManGo.tex" ).AddModCharacter("MrManGo")Help! Link to comment https://forums.kleientertainment.com/forums/topic/29216-i-have-error-in-my-character-for-dont-starve/ Share on other sites More sharing options...
Malacath Posted October 30, 2013 Share Posted October 30, 2013 This is either really easy or you copied something wrong (or I'm a big dummy). You didn't close your ASSETS table with a } and you put a dot after the last element of that list.Those kind of errors are really basic and you should be able to fix that yourself in the future. Link to comment https://forums.kleientertainment.com/forums/topic/29216-i-have-error-in-my-character-for-dont-starve/#findComment-356340 Share on other sites More sharing options...
MrManGo Posted October 30, 2013 Author Share Posted October 30, 2013 This is either really easy or you copied something wrong (or I'm a big dummy). You didn't close your ASSETS table with a } and you put a dot after the last element of that list.Those kind of errors are really basic and you should be able to fix that yourself in the future.Now I have PrefabFiles = { "MrManGo", }Assets = { Asset( "IMAGE", "images/saveslot_portraits/MrManGo.tex" ), Asset( "IMAGE", "images/selectscreen_portraits/MrManGo.tex" ), Asset( "IMAGE", "images/selectscreen_portraits/MrManGo_silho.tex" ), Asset( "IMAGE", "bigportraits/MrManGo.tex" ).} AddModCharacter("MrManGo"). But I still get the error Link to comment https://forums.kleientertainment.com/forums/topic/29216-i-have-error-in-my-character-for-dont-starve/#findComment-356356 Share on other sites More sharing options...
simplex Posted October 30, 2013 Share Posted October 30, 2013 You were supposed to remove the dot, not add yet another one! Link to comment https://forums.kleientertainment.com/forums/topic/29216-i-have-error-in-my-character-for-dont-starve/#findComment-356389 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