Soldak Entertainment Forums

Soldak Entertainment Forums (http://www.soldak.com/forums/index.php)
-   Zombasite modding (http://www.soldak.com/forums/forumdisplay.php?f=39)
-   -   talkey (http://www.soldak.com/forums/showthread.php?t=37428)

DarthNihilus 01-18-2018 03:00 PM

talkey
 
Please dev, I have a funny idea about some sound mods, can you add the ability for the player clan npc members to say something when starting "talk" with them, which can be modded in a sound.trn or something. player class dependent random phrases.



pleasepleasepleasepleaseplease!!!!

Shadow 01-18-2018 04:09 PM

You can associate a sound file with a dialog line already.

For example, for this line (in Loc/English/npcChat.trn)
GenericTalk1 "How can I help you, ##1##?"

if you wanted a sound file to player when that is displayed you could add a line like the following to the DialogSoundSystem entry in systems.gdb:
GenericTalk1 Sounds/Dialog/genericTalk1.ogg

DarthNihilus 01-19-2018 03:32 AM

wow srlsy man, i love you.


but it won't be class dependant , though.

but it's ok for now.

Shadow 01-19-2018 12:47 PM

It's not class or gender specific unless you can make that/class gender the only one that says that particular dialog line.

DarthNihilus 01-19-2018 01:08 PM

well. **scratching my head** ummmm...
npcarchetypes.gdb ?

Shadow 01-19-2018 03:49 PM

Yeah, in entries in npcArchetypes.gdb you can specify NpcChat lines. The NpcChats are set up in NpcGenericChat.gdb and those actually point to the dialog lines defined in Loc/English/npcChat.trn

DarthNihilus 01-22-2018 04:49 PM

i guess there is no summonMeARecruitOfChosenType console command...

seems like all is ok but for testing i need to start over and over and over and over to find the desired class type npc


All times are GMT -4. The time now is 10:56 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2007 - 2019 Soldak Entertainment, Inc.