I would like to know about motive gaining interactions

The original catch all. General game help, banter, things you should probably put in the correct forum, This is the place.
SkyDome007
Reactions:
Posts: 416
Joined: March 21st, 2017, 7:00 pm

I would like to know about motive gaining interactions

Post by SkyDome007 » June 5th, 2017, 8:42 pm

Hi everyone. I've been wanting to create a compel to drink interaction for vampires but I can't find the original VampireDrink interaction anywhere. I've been searching for a long time with .NET Reflector but I couldn't find the interaction. Also I can't find the other interactions for motive gain interactions either. For normal motives like Fun and Social.
I found some but it's not like a proper interaction more like a bool of some kind.
Can someone help me please?
Oh BTW I'm going to sleep for a while so won't be replying here for a while but I do need help.

SkyDome007
Reactions:
Posts: 416
Joined: March 21st, 2017, 7:00 pm

Post by SkyDome007 » June 6th, 2017, 6:11 am

So does anyone know?? Can someone tell me where they are?
I also can't find the XML tuning file for vampire drink interaction.

User avatar
brappl
Reactions:
Posts: 4790
Joined: July 13th, 2013, 6:00 pm

Post by brappl » June 6th, 2017, 9:17 am

Hello SkyDone007 - Hang in there. We ask that threads not be bumped before 24 hours. There has been 37 views since you opened the thread and those folks more than likely do not have an answer for you. Many of us are in different time zones here and off shore. I'm sure someone who knows where you can find what you are looking for will eventually see your thread and respond :)

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7609
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » June 6th, 2017, 8:03 pm

VampireDrink is a social interaction and is defined in the SocialData XML files.

SkyDome007
Reactions:
Posts: 416
Joined: March 21st, 2017, 7:00 pm

Post by SkyDome007 » June 6th, 2017, 9:16 pm

@Chain_Reaction thank you for replying. I just found out about it from anothere vampire xml tuning mod. However I still don't know where it is located in the scripts. I wanna make an interaction which will use coding from that interaction. I need the C# code for the interaction so I can "inherit" it into my own interaction class.
I need it's location the interaction in the dll files using Reflector.

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7609
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » June 6th, 2017, 10:22 pm

You can't, social interactions don't work like that. The easiest thing would be to create a new interaction. The actions when the interaction is accepted is located in the VampireDrinkSuccess function.

SkyDome007
Reactions:
Posts: 416
Joined: March 21st, 2017, 7:00 pm

Post by SkyDome007 » June 6th, 2017, 10:56 pm

Oh ok I see. Then it'll be harder to do than I thought. Is there any mod that has dabbled in this before. Add social interactions??

User avatar
Ghostsdoj
Reactions:
Posts: 164
Joined: December 17th, 2013, 6:00 pm

Post by Ghostsdoj » June 7th, 2017, 3:59 pm

I don't know if this is helpful or not, but Buzzler's MOAR Interactions seems to have a couple of new social interactions. http://www.modthesims.info/download.php?t=437344

SkyDome007
Reactions:
Posts: 416
Joined: March 21st, 2017, 7:00 pm

Post by SkyDome007 » June 8th, 2017, 7:26 am

Thanks Ghost I'm checking them out right now.

SkyDome007
Reactions:
Posts: 416
Joined: March 21st, 2017, 7:00 pm

Post by SkyDome007 » June 12th, 2017, 1:48 pm

Hi everyone :)
So I have gotten more experienced in interaction adding yay :) I've managed to recreate the Vampire Read Mind and Make sim think about me interaction so that vampires can use it in the day time and without the cooldown period. So they can repeatedly use it with no problem :) This feature will be added in my More Real Vampires 2 mod.
Ok now for my next interaction I'm going back to the compel to drink interaction.
For that I need to two things
1)How do I route the sims near each other to start playing the interaction?
I used this code after looking at some other mods.
base.Actor.RouteTurnToFace(base.Target.Position);
base.Actor.RouteToPoint(base.Target.Position);
base.Actor.PlaySoloAnimation("Actor_idle", false);
base.Target.PlaySoloAnimation("Actor_idle");
This makes one sim route but the other does nothing tho. I need to make one of them wait for the other to route towards him right? How do I do that?
2.) I need to find the animation for the drink animation so I can use it. Otherwise I'll have to make my own animation and I have absolutely no idea how to do that lol.
Can someone help with this please? Any help, any advice will be great. Thank you.

Post Reply