DarkVexon Posted July 31, 2014 Share Posted July 31, 2014 I'd like to change two words of Webber's text. How? Link to comment Share on other sites More sharing options...
Mobbstar Posted July 31, 2014 Share Posted July 31, 2014 I'd like to change two words of Webber's text. How? 1. Make a mod (duh): folder, modinfo, maybe modmain2. Make a scripts folder3. Copy speech_webber from data\scripts and paste it here4. Edit the words you want to change5. Watch as your game crashes without error log or anything because you messed up somewhere6. Fix it7. Playtest Be aware that this method is incompatible with mods which also change webbers speech like that. I thin you can change the individual lines in modmain.lua though... EDIT: Yes we can: GLOBAL.STRINGS.CHARACTERS.WEBBER.DESCRIBE.PREFAB= "PREFAB is the thing you describe, capitalised." This way, you do not need to override Webbers speech file. Make sure to implement a way the mod autodisables itself or the line of code when RoG is not enabled. EDITEDIT: Yeah, what plaidman said. I made it more obvious.To autodisable you can usedont_starve_compatible = false in modinfo.luaorif IsDLCEnabled(REIGN_OF_GIANTS) then[strings here]end in modmain.lua Link to comment Share on other sites More sharing options...
plaidman Posted July 31, 2014 Share Posted July 31, 2014 If it wasn't clear, don't do it his first way. Do it his second way. Link to comment Share on other sites More sharing options...
Recommended Posts
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.