Jump to content
  • Announcements

    • AndalayBay

      Orphan Attachments   07/31/2018

      I have been doing some housekeeping lately and I've noticed that I had a lot of orphaned attachments. Attachments get orphaned when the PM or post is deleted without removing the attachment first. Deleting a PM or post does not delete the attachment and the file or image remain on the server. I'd like to ask all members to go through their attachments and delete any attachments you don't need anymore or those that have been orphaned. Where can I get a list of my attachments? Click on your display name in the upper right corner of the forums and pick "My Attachments" from the drop-down list. How can I tell an attachment is orphaned? If the PM has been deleted, you'll see a message like this in your attachment list: Unfortunately there is no message if the post has been deleted, so please check your old posts. We do purge old birthday threads every once in a while. Also some hosted projects have been shut down, so you may have orphaned attachments on one of those locations. Thanks!
Sign in to follow this  
Daggerfall Dev

How to Add Dialogue Specifically for Guards

Recommended Posts

How do I go about Adding Dialogue to Custom Guards, So they arrest you whenever a crime is committed...

I tried the Filtered Dialogue but that doesn't seem to work at all, I already have all the Guards Setup with AI Packages.

Share this post


Link to post
Share on other sites

Always use the quest window to add dialogue. The dialogue window from the NPC window doesn’t work because the dialogue has to be linked to a quest.

You can have a look at DBC to see how it’s done. Basically you create a quest that’s start game enabled and runs all the time. See DBCAwakeningGenDialog. We don’t have guards, but all the NPC’s have greetings, rumours, etc. I’m not sure if the “production” version of DBC has all the dialogue. One of the fixes in the new release was adding the rest of the dialogue, but hopefully there’s enough to get you going.

In terms of the arrest stuff, have a look at the crime quest in vanilla. Have a look at a guard and see which quest the dialogue is connected to.

Share this post


Link to post
Share on other sites
2 hours ago, AndalayBay said:

Always use the quest window to add dialogue. The dialogue window from the NPC window doesn’t work because the dialogue has to be linked to a quest.

You can have a look at DBC to see how it’s done. Basically you create a quest that’s start game enabled and runs all the time. See DBCAwakeningGenDialog. We don’t have guards, but all the NPC’s have greetings, rumours, etc. I’m not sure if the “production” version of DBC has all the dialogue. One of the fixes in the new release was adding the rest of the dialogue, but hopefully there’s enough to get you going.

In terms of the arrest stuff, have a look at the crime quest in vanilla. Have a look at a guard and see which quest the dialogue is connected to.

i tried finding the Guards Quest and it seems like it's not even there. I'll have a look at DBC hopefully I'll figure it out :P

Share this post


Link to post
Share on other sites

A guard NPC must be male (unless dependent on another mod which overrides some of the game's hardcoding using magic and OBSE), and must be Imperial (unless dependent on another mod or unless your mod edits the vanilla guard dialogue to remove the race condition check). Set their Class as Guard and the game will automatically assign the default guard dialogue to them.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×