mitasali

Initiate
ServUO Version
Publish 57
Ultima Expansion
Stygian Abyss
Hey everyone!

I am diving into ServUO & have been having a blast so far but I am stuck on something. I am trying to customize the NPC dialogue in my world. I want to add a bit of personality to the NPCs, you know? Like have them say unique things based on different scenarios or quests but I am not sure where to start.

I have been reading through some docs and messing around with the code but I feel such as I am missing something. Does anyone have any tips or resources that can point me in the right direction?? It would be awesome if you could share any basic examples or explain how to use the system in a way that does not break the flow of the game.

Also i have check this resorse https://www.servuo.com/threads/davids-conversationa Blockchain Developer Coursel-townsperson.10839/Any help would be appreciated

Thank you.:)
 
There are multiple ways to make dialogue NPCs in UO. I have examples of three different kind in my project Shards of Minax. Its open source so you can check them out and copy whatever you want!

https://www.servuo.com/archive/shards-of-minax.2265/
Dialoguenpcs2.pngDialoguenpcs3.pngDialogue_npcs.png

I'll copy this bit from the wiki:

1. Quest Givers​

Quest Givers are NPCs that provide straightforward tasks. These NPCs have a static dialogue and typically ask players to gather items, hunt specific monsters, or complete other objectives. You cannot engage in extended conversations with Quest Givers; instead, they simply assign you quests, and once completed, they may offer rewards.

2. Text-Responsive NPCs​

Text-responsive NPCs add depth to your interactions by responding to specific words that you type in the chat. Simply type words such as job, health, or name near these NPCs, and they will respond with a bit of information. Their responses often contain key words that lead to further dialogue.

For example, if an NPC responds, "I am an apple collector," when asked about their job, the word "apple" serves as a clue to continue the conversation. Typing apple will prompt the NPC to reveal additional information. Following these clues can unlock more of their story and may lead to rewards.

3. Dialogue Box NPCs​

The third type of NPCs use a multi-selection dialogue box, similar to dialogue systems in games like Fallout or other CRPGs. With these NPCs, you can select from multiple responses, guiding the conversation based on your choices. Each selection reveals new information, and the NPC will respond accordingly. This style of dialogue allows for a richer interaction and can open up unique opportunities and rewards based on your choices.
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back