Jump to content

Adding a Brawl option to a custom NPC?


Recommended Posts

Posted

Basically what the title says.

 

I want to add a dialogue option to start a brawl with a custom NPC, very much like the ones available in vanilla for characters like Uthgerd, Cosnach, or the Orc chiefs. Nothing too complicated, just the dialogue prompt to start the brawl, and an increase in relationship with said NPC if the player wins the brawl. The problem is, I am unable to make the dialogue appear.

 

Since the NPC I want to add the brawl to uses the FemaleCommander voice, I edited the conditions in Uthgerd's vanilla lines to be available for all NPCs with that voice that are in the Favor017 faction (the one used by all the vanilla NPCs with the brawl dialogue), and added my NPC to said faction, but the option would not appear. The dialogue requires the NPC to be in an alias of the Favour017 quest, which they should be if they are in the faction according to the quest script.

 

I tried editing the dialogue conditions and adding an "OR" operator with a HasKeyword check after the alias check, and managed to get the dialogue line to appear for my new NPC (by adding that keyword to them), which would lead me to believe the problem is indeed in the quest alias somehow. The problem is, while using this workaround the dialogue proceeds as intended and the brawl triggers with all the proper mechanics (i.e. the player not being killed if they lose, onlookers coming to watch, the NPC entering bleedout instead of death, and the player getting the bet gold back if they win), but the relationship increase doesn't trigger. Not sure if this is caused by the NPC not being in the alias, or by something else.

 

So, anyone has any ideas on how to properly set up the Brawl option for a non-vanilla NPC? I can create new NPC-specific dialogues if need be, I simply repurposed Uthgerd's lines to save time and test if it worked.

 

And, if it's not possible to do it the right way and I need to use the dirty keyword workaround, how would I go about getting the relationship increase to trigger, or triggering it manually myself once the brawl is won?

Posted

Take a look at the stable owner in Riften, can't think of his name. I believe he works similar in having a dialogue condition after the fight that can influence the relationship instead of from the fight, but I could be completely off since it was a long time ago that I was digging around in there.

Posted

Take a look at the stable owner in Riften, can't think of his name. I believe he works similar in having a dialogue condition after the fight that can influence the relationship instead of from the fight, but I could be completely off since it was a long time ago that I was digging around in there.

Thanks for the suggestion. I took a look at it and he seems to have a specific quest for himself, with even an option to do a rematch of the brawl afterwards. If I copy the setup there, I will probably be able to get what I want, though it will take more work than I expected.

 

I won't mark this as solved yet just in case someone does know how to get the vanilla radiant brawl quest to work, but this will do if there isn't any other way. Thank you  :shy:.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...