BlueJelly Posted December 1, 2018 Share Posted December 1, 2018 Greetings, is their a smooth way to define a voice line for greeting a special mod character? Instead of using GLOBAL.STRINGS.CHARACTERS.GENERIC.DESCRIBE.PLAYER.GENERIC maybe something like GLOBAL.STRINGS.CHARACTERS.GENERIC.DESCRIBE.PLAYER.MODNAME ? Link to comment Share on other sites More sharing options...
BlueJelly Posted December 1, 2018 Author Share Posted December 1, 2018 I found out that it´s really just GLOBAL.STRINGS.CHARACTERS.GENERIC.DESCRIBE.PLAYER.MODNAME but Modname must be the name found in the modmain.lua of the chosen character --close-- Link to comment Share on other sites More sharing options...
icantevenname Posted December 2, 2018 Share Posted December 2, 2018 It can be as simple as the speech lines in the speech LUA. Just have the character's file name in all caps like the official characters. Like this is from my PvZ Cactus mod... WHIMSY = { GENERIC = "Not the sunflower I'm lookin' for, but you'll do.", ATTACKER = "%s! What are you doing!?", MURDERER = "You won't do at all!", REVIVER = "You might not be Sunny, but you're as helpful as she is!", GHOST = "I'll revive you in a snap!", FIRESTARTER = "That's not the least bit whimsical.", }, 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