Jump to content

Character Mod Error


DeviiL

Recommended Posts

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

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

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)

post-622269-0-84883500-1427144377_thumb.

Link to comment
Share on other sites

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

@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

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.

×
  • Create New...