Jump to content

Recommended Posts

STRINGS.CHARACTERS.FIRSTCHARACTER.ACTIONFAIL.DESCRIBE.SECONDCHARACTER =
        {
            GENERIC = "Hello, %s!",
            ATTACKER = "Grrr... don't trust %s.",
            MURDERER = "G...glorp... %s a killer!!",
            REVIVER = "Didn't need help! ...But thanks, florp.",
            GHOST = "You look spooky, %s.",
            FIRESTARTER = "You gonna burn everything up, %s!!",
        }

I think it's this, but I haven't tested it.

 

(btw the example is from Wurt's speech file)

  • Like 1

@Ghost_starved

Here's a working example straight from one of my own mod characters (K_K)' speech lua file. That is where it typically should go.

        PLAYER =
        {
            GENERIC = "Hey, %s!",
            ATTACKER = "What are you doing, %s?!",
            MURDERER = "Wh-Why are you doing this...?",
            REVIVER = "%s! You just saved my life! Thank you!",
            GHOST = "Don't worry, %s! I'll save you!",
            FIRESTARTER = "You shouldn't play with fire, %s! Even I know that!",
		},
		KK = 
		{
            GENERIC = "*Gasp* It's me! Hello, me!",
            ATTACKER = "M-Maybe I'm still following Sweet's direction...?",
            MURDERER = "I've gone way too far!! Stop it, %s!!",
            REVIVER = "Thank you, me! ...Um, thank me?",
            GHOST = "Oh gosh, what'd I get myself into to end up like that?",
            FIRESTARTER = "I don't think that was a very \"me\" thing to do.",
		},

"PLAYER" is the generic set of responses that your character will have for ANY character not specified in your speech file. Place the code for any custom character responses here, immediately below the "PLAYER" responses like I have. As you can see, K_K has generic responses, and he also is examining a player playing as himself right below that. If you like, copy this code (at least down from the "KK" portion) and replace all that with your own stuff. "KK" being the prefab name of who you're inspecting (so basically the character's name in the actual files). Hope that helps and good luck!

...Just realized after writing this all up that this is an old post from last year. I hope OP sees this, lol.

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...