Silentdarkness1 Posted November 29, 2013 Share Posted November 29, 2013 I've been trying to restore the speech mod template back to full form, but it doesn't seem to be working. It remains the exact same. Here's what the modmain reads:STRINGS = GLOBAL.STRINGS-- CHANGE THIS TO REFER TO YOUR MOD'S SPEECH FILE (must be in the same folder as this file)modimport( "english_master.lua" )And the english_master.lua:STRINGS.CHARACTERS.WAXWELL.DESCRIBE.CUTGRASS = "Nope."Ingame, Maxwell just says the default "The mundane stuff of the earth." quote for cut grass. Has there been some change to the code that handles quotes since the last time the speech mod template was updated? Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/ Share on other sites More sharing options...
Silentdarkness1 Posted December 3, 2013 Author Share Posted December 3, 2013 Bump. C'mon guys, anything? At all? Here's the zip, for what it's worth. Misc Speech.zip Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-382653 Share on other sites More sharing options...
Heavenfall Posted December 3, 2013 Share Posted December 3, 2013 Just putSTRINGS.CHARACTERS.WAXWELL.DESCRIBE.CUTGRASS = "Nope."in your modmain.lua? Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-382838 Share on other sites More sharing options...
Silentdarkness1 Posted December 3, 2013 Author Share Posted December 3, 2013 (edited) Just putSTRINGS.CHARACTERS.WAXWELL.DESCRIBE.CUTGRASS = "Nope."in your modmain.lua? I had tried that. No luck. I'll give it another go, though, just to be 100% sure. EDIT: Confirmed, that doesn't work. Edited December 3, 2013 by Silentdarkness1 Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-382848 Share on other sites More sharing options...
Heavenfall Posted December 3, 2013 Share Posted December 3, 2013 It does work, you're doing it wrong. Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-382946 Share on other sites More sharing options...
Silentdarkness1 Posted December 3, 2013 Author Share Posted December 3, 2013 It does work, you're doing it wrong.Then you (or someone else will)have to explain to me what it is i'm doing wrong. I'm lost. Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-382983 Share on other sites More sharing options...
Rosten Posted December 4, 2013 Share Posted December 4, 2013 (edited) Nevermind. Edited December 4, 2013 by Blazingice26 Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-383040 Share on other sites More sharing options...
Silentdarkness1 Posted December 4, 2013 Author Share Posted December 4, 2013 I'm pretty sure you cannot do that to change existing characters lines, that only works with custom items, and defining strings for a new item, to find the existing ones i believe you have to go into that characters speech fileUh, no. @WrathOf had a speech mod template that would let you change existing characters lines without changing the speech.lua files. I ran into this problem while trying to update it. So, I repeat: Has a code change been made regarding the handling of quotes? Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-383048 Share on other sites More sharing options...
Heavenfall Posted December 4, 2013 Share Posted December 4, 2013 (edited) This should be all that you need STRINGS = GLOBAL.STRINGSSTRINGS.CHARACTERS.WAXWELL.DESCRIBE.CUTGRASS = "Nope." in your modmain.lua. You can change what existing characters say when loading a mod, @Blazingice26 is wrong there. Remember to load the mod from the mods menu and make sure you don't have any mods with identical mod names in modinfo.lua. Start up the game, harvest a piece of grass and examine it. Maxwell will say Nope. There haven't been any large changes to how speech is handled, but you keep asking about @WrathOf's speech templates and I don't know what those are. Edited December 4, 2013 by Heavenfall Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-383247 Share on other sites More sharing options...
Rosten Posted December 4, 2013 Share Posted December 4, 2013 I got it working, in my modmain.lua it hasSTRINGS = GLOBAL.STRINGSSTRINGS.CHARACTERS.WX78.DESCRIBE.CUTGRASS = "Hello" Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-383307 Share on other sites More sharing options...
Silentdarkness1 Posted December 4, 2013 Author Share Posted December 4, 2013 (edited) Okay, um.....new problem. It seems that the mod is auto-disabling itself for some reason. If I activate it in the mod menu, then go back to the mod menu after hitting ok, it's STILL disabled. And if done on a fresh launch, it says that the mod crashed. All i've done is rename the mod name to XYXXY. Still stuck. http://pastebin.com/hnT6XjxJ Log file. Edited December 4, 2013 by Silentdarkness1 Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-383348 Share on other sites More sharing options...
Rosten Posted December 4, 2013 Share Posted December 4, 2013 Okay, um.....new problem. It seems that the mod is auto-disabling itself for some reason. If I activate it in the mod menu, then go back to the mod menu after hitting ok, it's STILL disabled. And if done on a fresh launch, it says that the mod crashed. All i've done is rename the mod name to XYXXY. Still stuck. http://pastebin.com/hnT6XjxJ Log file.Yea that was happening for me to, maybe its the lack of content in the mod? anyways, force-enabling it makes it work :/ Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-383760 Share on other sites More sharing options...
Silentdarkness1 Posted December 4, 2013 Author Share Posted December 4, 2013 (edited) Yea that was happening for me to, maybe its the lack of content in the mod? anyways, force-enabling it makes it work :/That's no good. What do I do now? EDIT: To clarify, force-enabling it would work, but that's not gonna be any good at all if I decide I want to release a mod based off of this. How do I make it not auto-disable without force-enabling? EDIT 2: It could be a modinfo problem. Here's what it reads: name = 'XYXXY'description = 'Various speech file tweaks for no particular reason.'author = 'Silent Darkness'Version = '1.0'forumthread = '19505-Modders-Your-new-friend-at-Klei!' -- This lets other players know if your mod is out of date, update it to match the current version in the gameapi_version = 4 Edited December 6, 2013 by Silentdarkness1 Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-383763 Share on other sites More sharing options...
Silentdarkness1 Posted December 6, 2013 Author Share Posted December 6, 2013 I think I got it. "Version = "1.0" V damn you, syntax. Link to comment https://forums.kleientertainment.com/forums/topic/30077-speech-file-mod-problem/#findComment-385101 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