Shiara Posted August 24, 2015 Share Posted August 24, 2015 A mod of mine that's been on the workshop working perfectly for over a month crashed. Could someone more experienced than me read from this and direct me to what is wrong with it. Link to comment Share on other sites More sharing options...
DarkXero Posted August 24, 2015 Share Posted August 24, 2015 @Shiara,Post the modmain. Link to comment Share on other sites More sharing options...
Shiara Posted August 24, 2015 Author Share Posted August 24, 2015 Hello, thank you for being so quick. Here. Sorry I can't find the post it in a separate box like I've seen others do: PrefabFiles = {"taro","blade",} Assets = { Asset( "IMAGE", "images/saveslot_portraits/taro.tex" ), Asset( "ATLAS", "images/saveslot_portraits/taro.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/taro.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/taro.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/taro_silho.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/taro_silho.xml" ), Asset( "IMAGE", "bigportraits/taro.tex" ), Asset( "ATLAS", "bigportraits/taro.xml" ), Asset( "IMAGE", "images/map_icons/taro.tex" ),Asset( "ATLAS", "images/map_icons/taro.xml" ), Asset( "IMAGE", "images/avatars/avatar_taro.tex" ), Asset( "ATLAS", "images/avatars/avatar_taro.xml" ), Asset( "IMAGE", "images/avatars/avatar_ghost_taro.tex" ), Asset( "ATLAS", "images/avatars/avatar_ghost_taro.xml" ), }local function NightVision(inst) inst.Light:Enable(GetModConfigData("NightVision"))end AddPrefabPostInit("taro", NightVision) local require = GLOBAL.requirelocal STRINGS = GLOBAL.STRINGS GLOBAL.STRINGS.NAMES.BLADE = "Sword"GLOBAL.STRINGS.CHARACTERS.GENERIC.DESCRIBE.BLADE = "Sharp old companion." -- The character select screen linesSTRINGS.CHARACTER_TITLES.taro = "The Cougher"STRINGS.CHARACTER_NAMES.taro = "Taro"STRINGS.CHARACTER_DESCRIPTIONS.taro = "*Talented swordsman with health problems\n*Sees in the dark\n*Beware of winter and rain"STRINGS.CHARACTER_QUOTES.taro = "\"... *cough*\"" -- Custom speech stringsSTRINGS.CHARACTERS.TARO = require "speech_taro" -- The character's name as appears in-game STRINGS.NAMES.TARO = "Taro" -- The default responses of examining the characterSTRINGS.CHARACTERS.GENERIC.DESCRIBE.TARO = {GENERIC = "Hey Taro!",ATTACKER = "That elf looks shifty...",MURDERER = "Murderer!",REVIVER = "Taro, friend of ghosts.",GHOST = "Taro could use a heart... and new lungs while we're at it.",} AddMinimapAtlas("images/map_icons/taro.xml") -- Add mod character to mod character list. Also specify a gender. Possible genders are MALE, FEMALE, ROBOT, NEUTRAL, and PLURAL.AddModCharacter("taro", "MALE") Link to comment Share on other sites More sharing options...
Shiara Posted August 24, 2015 Author Share Posted August 24, 2015 @DarkXero Hmm! I think I found the problem. But here, there is the modmain and you can take a look at that if you find something in it. Link to comment Share on other sites More sharing options...
DarkXero Posted August 24, 2015 Share Posted August 24, 2015 @Shiara, the problem isn't there, it's in the Taro prefab file. Link to comment Share on other sites More sharing options...
Shiara Posted August 24, 2015 Author Share Posted August 24, 2015 @Shiara, the problem isn't there, it's in the Taro prefab file. Thank you so much for your help, I did find a string of code there that I erased and now it works again. Link to comment 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