GileadMaerlyn Posted July 18, 2012 Share Posted July 18, 2012 Hi, Sometimes, when you fight an enemy, he will crouch and shout "I yield! I yield" (or other things like that), but after a while attack you again, unless he fled far enough. I'd like to change that, but I can't find what triggers that behavior. All I found was the dialogue (flee subtype in DialogueGeneric quest, combat section), but I can't find what triggers it... I'm not very used to that, I did very basic scripting in Oblivion and Fallout, but not a lot, so I guess I don't have the experience to know exaclty what to look for.Could someone please point me to what triggers that behavior, so I can make a script to modify it? Thanks in advance. Link to comment Share on other sites More sharing options...
JackNitro Posted July 18, 2012 Share Posted July 18, 2012 I'm not sure exactly what triggers it, but I know that the animation for that is called "bleed out" or something of the like; I'd start by filtering for something like that (bleed, bleed out, bleeding out) and see if you can't find some sort of trigger. What do you plan to do with it, by the way? make them non-hostile? Link to comment Share on other sites More sharing options...
GileadMaerlyn Posted July 18, 2012 Author Share Posted July 18, 2012 (edited) At first, making them non-hostile, yes. Then, if I have the motivation and the skill, I have a few ideas I'd like to try which would make a big mod (capture them? Enslave them? Ransom them?), but let's not get ahead of ourselves^^ EDIT: All I found was an ActionBleedOutStart and an ActionBleedOutStop, but I don't know what to make of it. When you edit it, all you have is a color... :huh: Edited July 18, 2012 by Gilead Maerlyn Link to comment Share on other sites More sharing options...
TheGreenLion Posted July 19, 2012 Share Posted July 19, 2012 That actually sounds like the AI Attributes, under the AI Data tab of an Actor. I'm thinking of the Confidence setting, most villagers for instance are 'Cowardly' and if you attack them they will usually do exactly what you described. Maybe after they lose a certain amount of health. Hope that helps point you in the right direction. Link to comment Share on other sites More sharing options...
JackNitro Posted July 19, 2012 Share Posted July 19, 2012 (edited) This should help: http://s12.postimage.org/mshrsuccr/Bleedout_Z_modifier_01.png I don't know if that's how long they bleed out or at what percent of health they bleed out, but you can try it. EDIT: No, that's the percentage at which they bleed out...I have an idea, though. After a bit of research, I think I can conclude that bleedout works by starting when an actors health falls below that specified percentage, and ends when their health recovers to a level above that percentage. So my thought is, what if you made it so these npcs don't regenerate health? If you still want to do the capture/enslave idea, you could script it so that they become non-hostile below a certain health percentage, but you'd have to heal them manually using healing hands (or just...not heal them). Edited July 19, 2012 by JackNitro Link to comment Share on other sites More sharing options...
GileadMaerlyn Posted July 20, 2012 Author Share Posted July 20, 2012 (edited) Thanks, I'll look into it, though according to the wiki, that bleedout default stat is used for essential characters. Apparently, the bleedout is when an essential character gets out of combat and kneels to heal. Edited July 20, 2012 by Gilead Maerlyn Link to comment Share on other sites More sharing options...
JackNitro Posted July 20, 2012 Share Posted July 20, 2012 Thanks, I'll look into it, though according to the wiki, that bleedout default stat is used for essential characters. Apparently, the bleedout is when an essential character gets out of combat and kneels to heal. It does say that, but the stat is given to all enemy classes, and I've clearly seen non-essential enemies bleed out with mine own eyes. In fact, it happens every time I get an enemies health below a point without getting it all the way to zero. Link to comment Share on other sites More sharing options...
tg08096 Posted August 4, 2012 Share Posted August 4, 2012 David Brasher already did this http://skyrim.nexusmods.com/mods/11932 Haven't tested it myself though Link to comment Share on other sites More sharing options...
Recommended Posts