Jump to content

Recommended Posts

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 ?

 

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.",
        },

 

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
×
  • Create New...