Jump to content

Recommended Posts

Hi, I'm new to modding on don't starve, I recently made a character mod using the extended character template from this http://forums.kleientertainment.com/topic/46849-tutorial-using-extended-sample-character-template/ and followed every step. I'm planning to make the same mod compatible with DST but when I try to enable the mod and apply here's what i notice:

1. The modicon.tex isn't showing like it should even though I DID add one in the folder

2. I obviously find this error when applying the mod I enabled: http://gyazo.com/ef68dd485a4457fc210edbb4b480291a

 

I have absolutely no idea what this is referring to but its really upsetting to me that I cannot make a mod working and I feel like i wasted those 3 days of making the mod. I really hope someone can help me out with this, i'd be gladly appreciated.

Link to comment
https://forums.kleientertainment.com/forums/topic/55255-error-with-mods-anim-file/
Share on other sites

@Speedist

can u just attach the screenshot or just post the error from your logfile(Documents\Klei\DoNotStarve\log.txt)?

does your modinfo.lua have something like this?

 

icon_atlas = "modicon.xml"icon = "modicon.tex"
does your mod also have the modicon.xml? Edited by Seiai

@Seiai

 

Good News : I chose the wrong mod. i have an exsisting workshop of the mod previously before i applyed the icon. the bad news... well that came up AGAIN. I saw this error when i got done making alternate voicelines for my friend's character, so i limited to one voice line per instance. and now not only will it reconginze the anim file it now won't accept one of the lines in the speech_winged.lua. what is this freaking airport secruity?. anyway yes i did find modicon.xml and modicon.tex in there. i was selecting the wrong mod. but anyway. i sitll have trouble with it working. uuughh. why do i feel that dont starve doesnt like me ;-;

post-529428-0-88560000-1434315811_thumb.

@Speedist,

 

You didn't post any source files so I can't tell you exactly the problem, but that error pretty much tells you exactly what you need to know.

 

Brackets ( { and } ) define tables in Lua.  If you choose to define the table with some values included, you enter all of them, separating each with a comma, ex:  { value1, value2, value3 }

 

There is an opening bracket ( { ) on line 91 of your speech_winged.lua, but on line 93 the Lua interpreter is encountering a statement (which it can't execute because you are still defining a table within the brackets.)

 

There are generally two reasons you'll encounter this error:

 

You're missing a closing bracket:

table = { key = somevalue, key2 = somevalue, valuewithnokey      <-- missing a closing                                                                     brackettable2 = { value... }

Or, more likely in your case, there is a missing comma between values:

table = {     key = somevalue,     key2 = somevalue,     key3 = somevalue     <-- missing comma here    key4 = somevalue,    <-- comma is not needed on the LAST element in the list, but}                            it doesn't hurt to have one
Edited by Corrosive
There is an opening bracket ( { ) on line 91 of your speech_winged.lua, but on line 93 the Lua interpreter is encountering a statement (which it can't execute because you are still defining a table within the brackets.)
  Yeah I know that part. But if you checked the file which ill have in as an attachment speech_winged.lua

@Speedist,

 

That file doesn't have a problem with it-- there is no way for it to produce the error you screenshotted.  I only just realized that this thread is for the same mod as this one: http://forums.kleientertainment.com/topic/55295-game-crashes-on-startup-with-self-made-mod/ ... so I'm going to assume that that one has the most recent development state.

@Corrosive Yeah I made the mod's textures and followed the extended character template which SHould be updated so this doesnt happen to other players who use it. and i will say again i am the friend of cris6441 who posted i had trouble. because I DID. if it wasnt the fact that the tutorial i looked at wasnt outdated then i wouldnt have a problem with making the mod. but it ofc didnt have everything up-to-date.

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...