lesvieuxcrevards Posted June 18, 2017 Report Share Posted June 18, 2017 (edited) Hi, I've played on some servers and some have autorun feature. I've searched in Epoch forum's but found nothing. Any one have sources code and install guide ? Best Regards. Edited June 20, 2017 by lesvieuxcrevards Solved Link to comment Share on other sites More sharing options...
lesvieuxcrevards Posted June 20, 2017 Author Report Share Posted June 20, 2017 Bump Still dreaming about this feature Link to comment Share on other sites More sharing options...
oldmatechoc Posted June 20, 2017 Report Share Posted June 20, 2017 https://forums.bistudio.com/forums/topic/205916-release-auto-run-script/ you could have a play with this maybe :) @lesvieuxcrevards lesvieuxcrevards and Drokz 2 Link to comment Share on other sites More sharing options...
Drokz Posted June 20, 2017 Report Share Posted June 20, 2017 6 hours ago, oldmatechoc said: https://forums.bistudio.com/forums/topic/205916-release-auto-run-script/ you could have a play with this maybe :) @lesvieuxcrevards Thx for this! Heres how i made it @lesvieuxcrevards lesvieuxcrevards and oldmatechoc 2 Link to comment Share on other sites More sharing options...
lesvieuxcrevards Posted June 20, 2017 Author Report Share Posted June 20, 2017 Thank you for your responses, I will check both scripts and try them. Link to comment Share on other sites More sharing options...
Drokz Posted June 20, 2017 Report Share Posted June 20, 2017 1 hour ago, lesvieuxcrevards said: Thank you for your responses, I will check both scripts and try them. I used the script oldmatechoc posted and just changed it a bit to match epoch Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted June 21, 2017 Report Share Posted June 21, 2017 I added a few other things to ours: I have a global variable that is set to true upon the keypress that activates autorun. That variable is set to false for certain keypresses [w,a,d,s] or when the surface is water. I added a custom keypress handler that checks for '8' which activates autorun or inactivates it, and movement keys which disable it. I added a check to onEachFrame for the state of the global variable and when that is true there is a call to a small function that executes the autorun animation and also checks to see if the the player is on/in water. If so, the global variable is set to false. By tying this to onEachFrame there is no need for an extra loop. I hope that this helps. lesvieuxcrevards 1 Link to comment Share on other sites More sharing options...
TheVampire Posted June 21, 2017 Report Share Posted June 21, 2017 You could also get the players location each time and compare to their previous. If their height changed by more than a certain amount you could use setAnimSpeedCoef to slow them down for hills and reset once level again. Link to comment Share on other sites More sharing options...
Drokz Posted June 21, 2017 Report Share Posted June 21, 2017 Thx for your ways to solve that stuff. But im a noob in scripting so it would be just to much trying and failing for me Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted June 21, 2017 Report Share Posted June 21, 2017 I put something together that should be plug and play, or pretty much so. https://github.com/Ghostrider-DbD-/Epoch.Altis-Autorun Drokz, natoed, Razor1977 and 2 others 5 Link to comment Share on other sites More sharing options...
natoed Posted June 21, 2017 Report Share Posted June 21, 2017 @Ghostrider-DbD- Again the very best from you and thank you cheers natoed Link to comment Share on other sites More sharing options...
lesvieuxcrevards Posted June 22, 2017 Author Report Share Posted June 22, 2017 Thank you @Ghostrider-DbD- one more scripts very usefull Link to comment Share on other sites More sharing options...
Drokz Posted June 22, 2017 Report Share Posted June 22, 2017 Thx! :) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now