Jump to content

Recommended Posts

My mod lore is needing Wilson to have different quotes than a modded character. He's like a Gentleman Scientist but he specializes in medicine. This was to give him a support role in DST since his only perk was to grow a beard.

I tried

STRINGS.CHARACTERS.WILSON = require "speech_doc" --Doc is a handle to distinguish this speech from normal, unmodded Wilson.

However, he still uses the in-game, normal speech file. 

I'm wondering if Wilson is chalked up as a "special character" in the stringutil.lua file. Even though I've scanned over that file a few times. Is there something else I need to override or write to make him get custom lines? (Because I doubt every other modded character is a doctor as well.)

Link to comment
https://forums.kleientertainment.com/forums/topic/67819-overriding-wilsons-speech/
Share on other sites

5 minutes ago, DextersComicLaboratory said:

My mod lore is needing Wilson to have different quotes than a modded character. He's like a Gentleman Scientist but he specializes in medicine. This was to give him a support role in DST since his only perk was to grow a beard.

I tried


STRINGS.CHARACTERS.WILSON = require "speech_doc" --Doc is a handle to distinguish this speech from normal, unmodded Wilson.

However, he still uses the in-game, normal speech file. 

I'm wondering if Wilson is chalked up as a "special character" in the stringutil.lua file. Even though I've scanned over that file a few times. Is there something else I need to override or write to make him get custom lines? (Because I doubt every other modded character is a doctor as well.)

i think wilson uses the "generic" character strings

STRINGS.CHARACTERS.GENERIC

 

Edited by Aquaterion

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