Jump to content

New Mod - Diverse NPC Comments HELP!!


Recommended Posts

Posted (edited)

Hey, I'm currently attempting to figure out a method of incorporating comments from the mod Babo Dialogue. My goal is to make these comments work with all female NPC as I find it unrealistic that NPC don't coment on there apperance, bodyshape, outfit or lack there of. Specifically, I want to modify the alias in order for the conditions to activate when a female NPC possesses the correct faction or keywords. I tried using a quest alias to trigger some dialogue but it doesn't appear to work on this dilaogue for example. Therefore, I'm curious if anyone has any suggestions regarding why the dialogue fails to trigger and how to prevent creatures from speaking the dialogue. I've also uploaded the mod for anyone that's interested in making this work. 

 

I would greatly appreciate it if someone could explain to me how to include keywords for NPCs. For instance, I was trying to add comments to the mod Buxom Wench Yuriana  which I use the keyword ArmorCuirass or Clothing Body, but Yuriana comments on herself and I'm trying to exlude her from doing that or any female npc that is naked. I only want other npc to comment on her if they are dressed for example but for some reason if I add the keyword armorclothing to the subject it prevents them from speaking the line.

 

Thank you.

 

Screenshots for YurianaWenchEdit

 

Screenshot(1598).png.01c4b92c1dfa91b8aafbf90e17858b90.pngScreenshot(1597).png.df378e2f16ba0cf72a556971c38f6c5e.png

 

BaboInteractiveDia.rar


Screenshots for Babo Dialogue

 

Screenshot(1593).png.5e13f09bdc8476e571c6c1d37d521939.pngScreenshot(1594).png.1d47ed70ab9f041e8e3fdf502e4b8112.pngScreenshot(1591).png.596a1aba1f362715dd0f3c2df3a425a9.png

 

BaboInteractiveDia.rar

Screenshot (1596).png

Edited by Jenova23
  • Jenova23 changed the title to New Mod - Diverse NPC Comments HELP!!
Posted (edited)

Not an expert on dialogue by any stretch of the imagination, however that quest alias looks odd. As far as I know, if you do not tick the "In Loaded Area" and "Closest" boxes you can get an actor from anywhere in Skyrim. Probably not what you had in mind here?

 

Edit: And if you omit the Closest box, it could still pick up an NPC from very far away. The way "actor scanners" (as I call them) typically work is that you cast a cloak spell on the actor in whose vincinity you want to "scan", then have that cloak spell cast a spell that adds a keyword *THEN* look for that keyword while populating the quest alias. The cloak spell range determines the "scan range".

Edited by traison
Posted (edited)
49 minutes ago, traison said:

Not an expert on dialogue by any stretch of the imagination, however that quest alias looks odd. As far as I know, if you do not tick the "In Loaded Area" and "Closest" boxes you can get an actor from anywhere in Skyrim. Probably not what you had in mind here?

 

Edit: And if you omit the Closest box, it could still pick up an NPC from very far away. The way "actor scanners" (as I call them) typically work is that you cast a cloak spell on the actor in whose vincinity you want to "scan", then have that cloak spell cast a spell that adds a keyword *THEN* look for that keyword while populating the quest alias. The cloak spell range determines the "scan range".

I have experimented with both checked and unchecked options, although I am uncertain. I'm thinking it lies with the keyword armorcuirass not working with NPC. When I delete the keyword, the line will play but I need it to preventing npc from commenting on themselves.

Edited by Jenova23
Posted

The conditions in the 2nd image are probably not correct:

 

Alias HasKeyword: ArmorClothing == 1 AND

Alias HasKeyword: ArmorClothing == 0

 

Also the conditions in the 5th image will not check if the actor is naked, if that's the goal:

 

Alias HasKeyword: ArmorCuirass == 0 OR

Alias HasKeyword: ClothingBody == 0

 

As far as I can remember, practically all armor items have one of the above keywords, i.e. one of those will be always true.

Posted (edited)
On 10/31/2023 at 11:25 AM, traison said:

The conditions in the 2nd image are probably not correct:

 

Alias HasKeyword: ArmorClothing == 1 AND

Alias HasKeyword: ArmorClothing == 0

 

Also the conditions in the 5th image will not check if the actor is naked, if that's the goal:

 

Alias HasKeyword: ArmorCuirass == 0 OR

Alias HasKeyword: ClothingBody == 0

 

As far as I can remember, practically all armor items have one of the above keywords, i.e. one of those will be always true.

Well, I managed to get it to work, but when I try adding either Clothing body == 0.00 OR ArmorCuirass == 0.00 OR my follower or naked npc will still comment on themselves. I'm not sure if it has to do with my alias? Is it necassary to add both clothing body and armor cuirass? I'm not sure if maybe it's checking for both and that's why my follower is still speaking the line since she's still showing up as positive for one or the other. I'm simply just using a quest alias and targeting yuriana as the reference alias to test it out.

Edited by Jenova23
Posted (edited)
7 hours ago, traison said:

https://www.creationkit.com/index.php?title=Operator_Reference#Logical_Operators

 

ArmorCuirass == 0 AND ClothingBody == 0

 

You may have to restructure the entire condition list because of operator precedence though.

I'm not entirely sure why why you don't include "AND" or "OR" when typing ClothingBody == 0. Can you please clarify as this confuses me? My main issue is excluding NPCs from speaking that dialogue. I've tried adjusting the order, but I honestly don't understand why it dosen't work. Based on my understanding, it's best to use "AND" first because once "OR" triggers, it stops searching for anything else.
 

I have attempted this multiple times but I am unsure how to exclude NPC females. Additionally, I also need help preventing dialogues for creatures. For instance, the chicken will also utter the same line that is intended for male human NPC. However, it seems to not work for females when I add a condition to exclude them if they are not wearing any clothing or amror on their torso. I'm assuming males will do the same thing once I try to prevent them from speaking if they are not wearing anything on there torso.

 

Here's what I have currently tried.

Screenshot(1606).png.4d90d2cf0b391e71d6bf487fc00ebd70.png

 

Screenshot(1605).png.0890911dd6cf12079edfe19879d820be.png

Edited by Jenova23
Posted
4 hours ago, Jenova23 said:

I'm not entirely sure why why you don't include "AND" or "OR" when typing ClothingBody == 0.

 

Because I do not remember how the logical operators are evaluated in the CK. My point is ArmorCuirass == 0 OR ClothingBody == 0 will not equal true when the actor is naked. ArmorCuirass == 0 AND ClothingBody == 0 will equal true when the actor is naked (unless you factor in additional complexity added by SLA). Changing the OR to an AND however changes the order in which the operators are evaluated, this is why I dropped you that link to the logical operators documentation.

 

This may be a better link for explaining the problem.

 

The example on that page states that what would typically be written as (a and b) or (c and d) becomes this mess in the CK: a or c and b or c and a or d and b or d. This is because we can't control operator precedence with parenthesis. So changing the OR to an AND would do this in your condition list:

 

(EroticArmor == 1 OR ArmorCuirass == 0) AND (ClothingBody == 0 OR SLA_ArmorHalfNaked == 1 OR ...)

 

What you'd need is:

 

EroticArmor == 1 OR (ArmorCuirass == 0 AND ClothingBody == 0) OR SLA_ArmorHalfNaked == 1 OR ...

 

Posted (edited)
On 11/1/2023 at 11:37 PM, traison said:

 

Because I do not remember how the logical operators are evaluated in the CK. My point is ArmorCuirass == 0 OR ClothingBody == 0 will not equal true when the actor is naked. ArmorCuirass == 0 AND ClothingBody == 0 will equal true when the actor is naked (unless you factor in additional complexity added by SLA). Changing the OR to an AND however changes the order in which the operators are evaluated, this is why I dropped you that link to the logical operators documentation.

 

This may be a better link for explaining the problem.

 

The example on that page states that what would typically be written as (a and b) or (c and d) becomes this mess in the CK: a or c and b or c and a or d and b or d. This is because we can't control operator precedence with parenthesis. So changing the OR to an AND would do this in your condition list:

 

(EroticArmor == 1 OR ArmorCuirass == 0) AND (ClothingBody == 0 OR SLA_ArmorHalfNaked == 1 OR ...)

 

What you'd need is:

 

EroticArmor == 1 OR (ArmorCuirass == 0 AND ClothingBody == 0) OR SLA_ArmorHalfNaked == 1 OR ...

 

Do you happen to know if the alias conditions should  e set to subject or target when an NPC comments on another NPC?  I assume it won't function properly if set as a subject, as that refers to the speaker. I noticed that all my aliases referring to the NPC being spoken to were set as subjects, which I believe is the main reason it wasen't working. Also, do you know what keyword I should use when referring to the NPC's clohting type? Should I be using wornhaskeyword or haskeyword? I just want to double check as there are times some of these functions often don't work.

Edited by Jenova23

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
  • Recently Browsing   0 members

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