Jump to content

[HELP!] My Custom Character mod won't work


Recommended Posts

Hello everybody~

 

    I've been working pretty much all day on my own mod but I can't seem to get the coding right. I've tried just about everything and watched 3 different tutorials but alas I think I'll need help to be able to finish it.

 

   I wasn't able to upload all the files but i do have .xml and .tex folders that have my character name instead of the placeholder and I haven't done anything to crazy to the prefab so I'm unsure what it is.

 

   I am able to load the mod into the game when I go to host a server (my saveslot portrait doesn't show up) then I start the game and I get the DST-ERROR screen posted below, and I don't quite understand what its telling me. (I'm not really a mod creator this is my first one)

 

  I'm relying no your help guys I'm kind of clueless! :c

 

 

  ~Thank you in advance,

         Legs Valentine

post-775797-0-53171500-1452743823_thumb.

modinfo.lua

modmain.lua

dora.lua

Link to comment
Share on other sites

8 minutes ago, Legsvalentine said:

updated log.txt

[00:00:47]: [string "../mods/Dora/scripts/prefabs/dora.lua"]:67: variable 'GLOBAL' is not declared

You don't use GLOBAL in files outside modmain.lua

You can reference the global table STRINGS as it is.

STRINGS.NAMES.DORA = "Dora"

Link to comment
Share on other sites

6 minutes ago, DarkXero said:

[00:00:47]: [string "../mods/Dora/scripts/prefabs/dora.lua"]:67: variable 'GLOBAL' is not declared

You don't use GLOBAL in files outside modmain.lua

You can reference the global table STRINGS as it is.

STRINGS.NAMES.DORA = "Dora"

So in the dora.lua is should put in?

"   STRINGS.NAMES.DORA = "Dora"  " 

 

I don't have any gloabal strings in the dora.lua only in the modmain.lua

--these are the strings i have in the dora.lua

STRINGS.CHARACTER_TITLES.dora = "The Explorer"
STRINGS.CHARACTER_NAMES.dora = "Dora"
STRINGS.CHARACTER_DESCRIPTIONS.dora = "* Anything is possible when we work together!"
STRINGS.CHARACTER_QUOTES.dor = "\"Come on, vámonos. Everybody let's go!\""

Link to comment
Share on other sites

Just now, Legsvalentine said:

So in the dora.lua is should put in?

"   STRINGS.NAMES.DORA = "Dora"  " 

 

I don't have any gloabal strings in the dora.lua only in the modmain.lua

--these are the strings i have in the dora.lua

STRINGS.CHARACTER_TITLES.dora = "The Explorer"
STRINGS.CHARACTER_NAMES.dora = "Dora"
STRINGS.CHARACTER_DESCRIPTIONS.dora = "* Anything is possible when we work together!"
STRINGS.CHARACTER_QUOTES.dor = "\"Come on, vámonos. Everybody let's go!\""

i just realized the quotes say .dor instead of .dora  would that cause the whole mod to crash though?

Link to comment
Share on other sites

2 minutes ago, Legsvalentine said:

Its saying it can't find a match dora.anim file

[00:00:22]: [string "scripts/util.lua"]:432: Could not find an asset matching anim/dora.zip in any of the search paths.

 

Well, do you have that or not?

Where is your character art stored? In a Spriter project? Did you use the mod tools to compile it? Maybe it's not named dora.zip?

Link to comment
Share on other sites

1 minute ago, DarkXero said:

[00:00:22]: [string "scripts/util.lua"]:432: Could not find an asset matching anim/dora.zip in any of the search paths.

 

Well, do you have that or not?

Where is your character art stored? In a Spriter project? Did you use the mod tools to compile it? Maybe it's not named dora.zip?

 

 

Just went through and i had the right stuff but it was directly in my anim folder and not in a zip folder in the anim folder. going through and fixing this and seeing what happens...

Link to comment
Share on other sites

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
 Share

×
  • Create New...