wiike Posted March 20, 2014 Share Posted March 20, 2014 Hi everyone, I just got GECK and decided to start with making some perks. The damage modification/poison resistence ones were easy, but I met some trouble making this one:when dismembering living enemy limbs with a melee or unarmed weapon, restore certain percentage of player's hit point.I have no idea how to add dismember kill as a condition, all I found were "GetKillingBlowLimb" and "isLimbGone" but I dont have a first clue how to use them.Sorry for the bad English ;) Link to comment Share on other sites More sharing options...
AxlDave Posted March 22, 2014 Share Posted March 22, 2014 Well, that's quite a complicated task for your first mod. You'd have to have several conditions, but it should all be achievable with GetActorValue. GetActorValue Health == 0 run on Combat Target ANDGetActorValue PerceptionCondition == 0 Combat Target OR LeftAttackCondition == 0 Combat Target OR RightAttackCondition == 0 Combat Target OR LeftMobilityCondition == 0 Combat Target OR RightMobilityCondition == 0 Combat Target OR is roughly what your conditions should look like. Oh, and you can't really do it by percentage of health, it would have to be a set amount of 20HP or 100HP or whatever. Link to comment Share on other sites More sharing options...
wiike Posted March 22, 2014 Author Share Posted March 22, 2014 Well, that's quite a complicated task for your first mod. You'd have to have several conditions, but it should all be achievable with GetActorValue. GetActorValue Health == 0 run on Combat Target ANDGetActorValue PerceptionCondition == 0 Combat Target OR LeftAttackCondition == 0 Combat Target OR RightAttackCondition == 0 Combat Target OR LeftMobilityCondition == 0 Combat Target OR RightMobilityCondition == 0 Combat Target OR is roughly what your conditions should look like. Oh, and you can't really do it by percentage of health, it would have to be a set amount of 20HP or 100HP or whatever.Thank you so much for all these detail and effort!! Gonna try it as soon as I got home. Link to comment Share on other sites More sharing options...
wiike Posted March 22, 2014 Author Share Posted March 22, 2014 I just tried it and it did not work, here is what I have done:created a perk -> attached a rank 1 "ability" on the perk -> the ability is an "acrot effect" which "Restore Health" in "Duration" of "3" with conditions listed above.Not sure what i have done wrong, should I use script or something? Link to comment Share on other sites More sharing options...
AxlDave Posted March 22, 2014 Share Posted March 22, 2014 (edited) Try testing different variations, such as instead of Combat Target, perhaps try Target. To test which is the correct "run on" variable, try using only the Health = 0 condition, as this should restore the designated amount of Health when your target has Health = 0, ie they're dead. When you get a satisfactory, reliable and repeatable effect, you'll know which one to use. With regards to the PerceptionCondition, LeftAttackCondition etc, it could be that this relates only to crippled limbs, not dismembered limbs. If this is the case, and you can get the above testing to work, it would be worthwhile playing around with the conditions you mentioned before. GetKillingBlowLimb seems like it should refer to if you kill someone with a limb shot, but this does not guarantee dismemberment. So perhaps leave that one for now. IsLimbGone it seems is related to dismemberment, and upon some research it it seems each limb is given an enumeration integer to define it. It says that Torso = 0, so it's reasonable to assume that Head & Limbs are 1-5, though in what order I am unsure. Once you have got the correct "run on" variable as mentioned above, and if the PerceptionCondition etc still does not work, try replacing that block with: IsLimbGone 1 , 0 == 1 ORIsLimbGone 2 , 0 == 1 ORIsLimbGone 3 , 0 == 1 ORIsLimbGone 4 , 0 == 1 ORIsLimbGone 5 , 0 == 1 OR If that still doesn't work, then you may want to try playing around with the second IsLimbGone variable, which I have left as 0 because I don't really know what it does. Edited March 22, 2014 by AxlDave Link to comment Share on other sites More sharing options...
Recommended Posts