socksftw Posted April 8, 2009 Share Posted April 8, 2009 Just wondering, I was attempting to make a mod in which the player could make a 'Sandman' kill, and if the player was equipped with a dagger, theycould have an option in which to kill the sleeping target instantly. I figured I would do this by looking at the script for the vampire effect of biting the neck of somebody sleeping.I figured that it would check if the player is a vampire and if the target was asleep, and it would then create a messagebox asking whether the player wanted to suck blood from the target or not, so I thought I could adapt this to work with my idea too. Only problem is, I can't find the script for sucking blood, so I was wondering if you did. Thanks for your time :) Link to comment Share on other sites More sharing options...
Vagrant0 Posted April 8, 2009 Share Posted April 8, 2009 Just wondering, I was attempting to make a mod in which the player could make a 'Sandman' kill, and if the player was equipped with a dagger, theycould have an option in which to kill the sleeping target instantly. I figured I would do this by looking at the script for the vampire effect of biting the neck of somebody sleeping.I figured that it would check if the player is a vampire and if the target was asleep, and it would then create a messagebox asking whether the player wanted to suck blood from the target or not, so I thought I could adapt this to work with my idea too. Only problem is, I can't find the script for sucking blood, so I was wondering if you did. Thanks for your time :)Unfortunately, the same systems for FO3 do not exist with Oblivion. The feed interaction is something that is hardcoded to vampirism and cannot be changed or replicated in the same way. You can still kinda do what you want with OBSE and getcrosshairref , but it may interfere somewhat with vampirism since you would essentially need to have 2 dialogues at that point (normal vampire message box, and then your message box). Link to comment Share on other sites More sharing options...
socksftw Posted April 8, 2009 Author Share Posted April 8, 2009 Well, I was thinking that if I were to achieve this, then I would probably do it in the same way that the vampirism did. So how would I set about doing this? Link to comment Share on other sites More sharing options...
jonesjoshuar Posted April 8, 2009 Share Posted April 8, 2009 Well, I was thinking that if I were to achieve this, then I would probably do it in the same way that the vampirism did. So how would I set about doing this?I have taken a long look into vampirism and i have not found a way possible to do. As vagrant0 said it is hardcoded into vampirism ability. There is no way duplicate vampirism or any important aspect of it. I tried and tried to reach the feed package. However, if you somehow find it let me know. I just worked around it for my mod. Yet to directly answer you, you cannot do it in the same way as vampirism. Maybe script a specific dagger to evaluate the ai package. Yet, there are SEVERAL sleep packages. Each one would have to be accounted for, i think, even custom ones. I have not evaluated packages so i do not know the limits of that function. Look into ai packages on the wiki and the functions associated with them. Its the only way my limited knowledge could even begin to find out if actor was sleeping. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.