etherealblade Posted November 3, 2011 Share Posted November 3, 2011 (edited) I tried to script a code that was linked to an ability, which was linked to a perk that allows that when "N" is pressed, the character performs the "right power attack animation" followed by crippling both arms of the opponent. I'm trying to make it where the player only has to push the button once, it uses up AP and then the character does the axekick, and the opponent loses his weapon and has both his arms crippled. The issue here is, when i hold down N, I can cripple limbs, but i have no control over which limb gets crippled even though I have set the ability to "damage right arm and left arm" Magnitude 1000. Do i need to script in damaging the weapon? I want to only cripple the arms.Then there is the issue of the animation not playing when I push the button. Any Ideas? Scn DisarmScript int bIsNPressed Begin GameMode if bIsNPressed != IsKeyPressed 49 ; N set bIsNPressed to IsKeyPressed 49 ; N if bIsNPressed ShowMessage HokutoDisarmMessage player.playgroup AttackRightPower 2 ; N has been pressed castimmediateonself HOKUTODisarm else player.playgroup idle 1 ; N has been released endif endif End I thought that it could be an idea to make it where the disarm script only works when someone does the right attack power animation, but I dont know how to bind it to it. So instead of all the confusing blah blah blah...this is basically what I'm trying to do. 1) When N is pressed. The attack animation you do when you hold right arrow and hold left mouse buton plays. If your using unarmed rearmed, its something similar to an axe kick. 2) Cripple both arms (only). I plan to make a seperate skill that replaces this one which lets you full body cripple but thats later. Optionally destroy weapon or make him drop it. Just so you know, All those who help, will be considered co-producers of this mod. I truly do appreciate the encouragement and assistance. Edited November 5, 2011 by etherealblade Link to comment Share on other sites More sharing options...
etherealblade Posted November 5, 2011 Author Share Posted November 5, 2011 (edited) I'm not sure how to make the effect go slow mo when the player performs the power attack. I was thinking of the real time vats that doesn't zoom, as a method to implement this, but i don't know what its called in geck. Any suggest are very much welcome and appreciated. I've actually found It was just better to attach cool effects to a weapon than to NVSE it. From now one I'll be using this as my main lab, to keep bunches of project threads down to one consolidated thread. http://www.thenexusforums.com/index.php?/topic/450206-reverse-engeneering-the-short-distance-realtime-teleport/ Edited November 7, 2011 by etherealblade Link to comment Share on other sites More sharing options...
Recommended Posts