DeviiL Posted March 23, 2015 Share Posted March 23, 2015 When i try to enable my character from mods it says: The following mod(s) have caused a failure: Don Luciano .../Steam/steamapps/common/dont_starve/data/../mods/Don Luciano/modmain.lua:25: expected near 'luciano'What i've to do? i'll attach my file.modmain.lua Link to comment Share on other sites More sharing options...
CarlZalph Posted March 23, 2015 Share Posted March 23, 2015 Variable names do not contain spaces in them, use underscores. E.G.GLOBAL.STRINGS.CHARACTER_TITLES.don_luciano = "Il Boss" I would also go back and replace any space with an underscore for your stuff that isn't a user-front thing like a GUI display name. Link to comment Share on other sites More sharing options...
DeviiL Posted March 23, 2015 Author Share Posted March 23, 2015 Variable names do not contain spaces in them, use underscores. E.G.GLOBAL.STRINGS.CHARACTER_TITLES.don_luciano = "Il Boss"I would also go back and replace any space with an underscore for your stuff that isn't a user-front thing like a GUI display name. now i get this error (sorry for all these requests of help, it's my first mod) Link to comment Share on other sites More sharing options...
CarlZalph Posted March 23, 2015 Share Posted March 23, 2015 File does not exist. Go to your folder for your mod, then in there should be a folder 'bigportraits'.Rename the file 'don luciano.xml' to 'don_luciano.xml'. Do this for all of your other assets, too.Generally spaces in names for files/folders is not going to be good. You'd reserve using spaces only for strings that the client, or person playing the game, seeing the content will see.Like menus and character selection or in-game chat stuff. Link to comment Share on other sites More sharing options...
DeviiL Posted March 26, 2015 Author Share Posted March 26, 2015 i think i've edited all the things, but i've the same error. If i upload the entire mod folder can you help me? Link to comment Share on other sites More sharing options...
Mobbstar Posted March 26, 2015 Share Posted March 26, 2015 i think i've edited all the things, but i've the same error. If i upload the entire mod folder can you help me?yes ... ... ...compress it to a zip or rar file though. Link to comment Share on other sites More sharing options...
DeviiL Posted March 26, 2015 Author Share Posted March 26, 2015 i can't upload the file from here so i uploaded it to mega. https://mega.co.nz/#!VFcnwYYb!wbqOxoh8OocB-Z4IKB3TflUnAiIz6lckcbvLNDKFROU Link to comment Share on other sites More sharing options...
DeviiL Posted March 27, 2015 Author Share Posted March 27, 2015 yes ... ... ...compress it to a zip or rar file though. So? What i've did wrong? Link to comment Share on other sites More sharing options...
Corrosive Posted March 27, 2015 Share Posted March 27, 2015 @DeviiL, Exactly what the error says. It can't find a file named "anim/don_luciano.zip" because there is no "anim/don_luciano.zip". Your zip is located at "anim/Don Luciano.zip". You need to rename it to match what's in code. Link to comment Share on other sites More sharing options...
DeviiL Posted March 28, 2015 Author Share Posted March 28, 2015 @DeviiL, Exactly what the error says. It can't find a file named "anim/don_luciano.zip" because there is no "anim/don_luciano.zip". Your zip is located at "anim/Don Luciano.zip". You need to rename it to match what's in code. /EDIT: i solved, thanks to everyone. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.