lubronbrons Posted August 11, 2016 Share Posted August 11, 2016 I see ... 20 seconds cooldown maybe something like this scn yourQuestScript float fQuestDelayTime float cdown Begin GameMode if Player.IsSneaking if cdown < 0 Let cdown := 20 ;this can be repeated no need for HasSpell check, if player already have that spell this script will do nothing. will return 0 Player.AddSpellNS SomeSpell else Let cdown -= GetSecondsPassed endif else ;this can be repeated no need for HasSpell check, if player not have the spell this script will do nothing. will return 0 Player.RemoveSpellNS SomeSpell endif End begin MenuMode 1044 ;set this only when in main menu Let fQuestDelayTime := 1.0 ; approximate check interval end Link to comment Share on other sites More sharing options...
thelawfull Posted August 11, 2016 Author Share Posted August 11, 2016 Its set to remove the spell if the player is sneaking correct?It also seems to remove the buff if the player is sneaking for 20 seconds.I want the spell removed once leaving sneak mode, Then added again after 20 seconds.Im not good at reading scripts I dont think though. lol Link to comment Share on other sites More sharing options...
thelawfull Posted August 11, 2016 Author Share Posted August 11, 2016 (edited) It didnt work at first, Then I put player.issneaking == 0thankyou for the script update. :) Edited August 11, 2016 by thelawfull Link to comment Share on other sites More sharing options...
lubronbrons Posted August 11, 2016 Share Posted August 11, 2016 ahh sorry the script should be like this lol so the time counter can always got 0 even when pc not sneaking or sneaking scn yourQuestScript float fQuestDelayTime float cdown Begin GameMode if Player.IsSneaking if cdown < 0 Let cdown := 20 ;this can be repeated no need for HasSpell check, if player already have that spell this script will do nothing. will return 0 Player.AddSpellNS SomeSpell endif else ;this can be repeated no need for HasSpell check, if player not have the spell this script will do nothing. will return 0 Player.RemoveSpellNS SomeSpell endif if cdown >= 0 Let cdown -= GetSecondsPassed endif End begin MenuMode 1044 ;set this only when in main menu Let fQuestDelayTime := 1.0 ; approximate check interval end Link to comment Share on other sites More sharing options...
thelawfull Posted August 11, 2016 Author Share Posted August 11, 2016 (edited) Its okay and ill leave it the way it is its working smooth credited you guys. :dance:Only a select few seem to need it for whatever reason, But if they wont use it I will.I love playing a charecter thats someone like the green arrow, And he doesnt spend all his time crawling around with a bow. lol I was thinking of adding like +50 sneak when your not sneaking, But need to know if enemy detection is effected outside of sneaking like in fallout 3. Edited August 11, 2016 by thelawfull Link to comment Share on other sites More sharing options...
lubronbrons Posted August 11, 2016 Share Posted August 11, 2016 :pinch: +50 sneak !!! x_x that's complete overkill --- that's in cheat category mod lol as for vanilla leveling user... they work super hard to get +50 level in perks --- those grinding and grinding Link to comment Share on other sites More sharing options...
thelawfull Posted August 11, 2016 Author Share Posted August 11, 2016 Well it would be for not sneaking which ive heard is extremely hard not being seen running around behind someone, Ill just leave it as it is just wish bethesda made some kind of sneak system while standing. Link to comment Share on other sites More sharing options...
lubronbrons Posted August 11, 2016 Share Posted August 11, 2016 quote : " as it is just wish bethesda made some kind of sneak system while standing. ">>> Law, I think this can be done using only by replacing the animationmaybe you can try replace ALL sneak KF files in Mesh folder with standing animationthen you should see all actor now sneak and stand no different right ? :laugh: Link to comment Share on other sites More sharing options...
thelawfull Posted August 11, 2016 Author Share Posted August 11, 2016 Not a bad idea, Has there a mod been done yet of this?. If you could even call it a mod lol. Link to comment Share on other sites More sharing options...
lubronbrons Posted August 11, 2016 Share Posted August 11, 2016 (edited) not interested lolyou can do it man :smile:here's the step :extract KF related files from Oblivion Mesh BSAthen you should see the file contain word like 'sneak'you should replace all of that with non-sneak one (it's all in one folder anyway so this must be easy)then, repack all that files and retain its pathdone !I don't know it will work or not btw, hahabecause ... if the skeleton that used in standing and sneak is different. then the game will ctd for sureskeleton is crucial in KF animation file EDIT : IIRC, not yet. no mod make actor stand up while sneak haha Edited August 11, 2016 by lubronbrons Link to comment Share on other sites More sharing options...
Recommended Posts