toasterbathbomb Posted May 31, 2019 Share Posted May 31, 2019 lemme elaborate i have two mods: one for me and one for my boyfriend. i was wondering if there was a way to make it so when he uses his character, if i inspect his character while using my own, could there be custom dialogue? for example: when i inspect his character, my character says "i love you" or something like that im terrible at explaining so if you need elaboration just tell me lol Link to comment Share on other sites More sharing options...
K1NGT1GER609 Posted June 1, 2019 Share Posted June 1, 2019 Its pretty easy just put lines of code in the speech_character.lua in the scripts folder: WOLFGANG = { GENERIC = "It's good to see you, %s!", ATTACKER = "Let's not start a fight with the strongman...", MURDERER = "Murderer! I can take you!", REVIVER = "%s is just a big teddy bear.", GHOST = "I told you you couldn't deadlift that boulder. The numbers were all wrong.", FIRESTARTER = "You can't actually \"fight\" fire, %s!", }, RAKKY = { GENERIC = "Your the closest thing to a mechanic, come join our faction.", ATTACKER = "Your not welcomed on our territory now get out before we get angry.", MURDERER = "Eliminate him before he takes all down!", REVIVER = "A mechanic and medic, your welcomed on duty territory.", GHOST = "If we revive you can you make us some boomerangs?", FIRESTARTER = %s is burning everything down!", }, this is code from my mods identifying dragon wolf leo's character rakky. So all you have to do is just put the character's name in all caps and write your describes on certain reputations and states of the character. Link to comment Share on other sites More sharing options...
toasterbathbomb Posted June 1, 2019 Author Share Posted June 1, 2019 (edited) 15 hours ago, K1NGT1GER609 said: RAKKY = { GENERIC = "Your the closest thing to a mechanic, come join our faction.", ATTACKER = "Your not welcomed on our territory now get out before we get angry.", MURDERER = "Eliminate him before he takes all down!", REVIVER = "A mechanic and medic, your welcomed on duty territory.", GHOST = "If we revive you can you make us some boomerangs?", FIRESTARTER = %s is burning everything down!", }, this is code from my mods identifying dragon wolf leo's character rakky. So all you have to do is just put the character's name in all caps and write your describes on certain reputations and states of the character. how does this work? how do i get it to identify the mod? im kinda confused.. does the name alone identify the mod or something? edit: ooh nevermind i got it. the code works perfectly, thank you! i didnt know itd be that easy Edited June 1, 2019 by toasterbathbomb 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