Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40

Thread: How to put togeather a good sprint mechanic.

  1. #31
    meganaut
    Guest
    ill make some updates to the tutorial

  2. #32
    Whaaabamb
    Guest
    Thanks again for all the help!

    here is a clip of it in action

    http://www.youtube.com/watch?v=dQkKc...rebCmq7FWPXiI=

    only thing i don't have working is the camera zoom, my camera is set up a bit different than yours so its a bit confusing for my non coder mind.

  3. #33
    meganaut
    Guest
    Quote Originally Posted by Whaaabamb View Post
    looks good!

  4. #34
    DJMidknight
    Guest
    the sprint still works even in reverse AFAI in the Feb-2012 version. Maybe something changed or perhaps I missed/typo in the code.

    thanks for sharing though it gave me some ideas of my own on how to do some other things.

  5. #35
    meganaut
    Guest
    Quote Originally Posted by DJMidknight View Post
    the sprint still works even in reverse AFAI in the Feb-2012 version. Maybe something changed or perhaps I missed/typo in the code.

    thanks for sharing though it gave me some ideas of my own on how to do some other things.
    The running backward is disabled in the final section. In the playerMove function, you can see there is a check weather the playerInput.Aforward > 0 (i.e. moving forward). That disables all backward movement because aForward is in the negative when moving backward.

    Maybe you missed that part

  6. #36
    daimaku
    Guest
    really good tutorial, thanks

  7. #37
    Woodmonk
    Guest
    Quote Originally Posted by daimaku View Post
    really good tutorial, thanks
    agreed this is very awesome. I tested out the functionality and got it compiled correctly but I'm having some issues binding it to the spacebar. I've looked up some tutorials but I think I'm missing something. With this exact script what lines would I have to add in the "DefaultInput.ini" file? ><

    Thanks in advance, also for the awesome sprint function

  8. #38
    meganaut
    Guest
    theres plenty of tutes on setting up new binds out there. make sure you change the StartSprint and StopSprint functions to exec functions

  9. #39
    nesjett
    Guest
    can anyone put the code please? Website off

  10. #40
    jarezzz
    Guest
    Has someone a code of this awesome thing? Or saved pages of site?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •