Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO 2.0] How to run faster


Antisora
 Share

Recommended Posts

First, open the client, then go to Modules -> Modconstants
Then find this:

>! ' Speed moving vars
Public Const WALK_SPEED As Byte = 4
Public Const RUN_SPEED As Byte = 6

Change it to whatever you want! remember, if you want to hold shift to run faster, only change walking speed. If you want to run faster without holding shift, make sure RUN_SPEED is set to a bigger number than WALK_SPEED

Credit to Linken for showing me this
Link to comment
Share on other sites

@Bloodmyst:

> This is weird why does changing Walk Speed make runing faster?

If you're interested in why… He flipped the constants around so that WALK_SPEED is used in the running expression and vice versa. This is in modGameLogic under sub ProcessMovement.

```
    ' Check if player is walking, and if so process moving them over
    Select Case Player(Index).Moving
        Case MOVING_WALKING: MovementSpeed = ((ElapsedTime / 1000) * (RUN_SPEED * SIZE_X))
        Case MOVING_RUNNING: MovementSpeed = ((ElapsedTime / 1000) * (WALK_SPEED * SIZE_X))
        Case Else: Exit Sub
    End Select
```
Link to comment
Share on other sites

@Suppositoire:

> How to run with the key shift ? I press on the key shift but I don't run.. Maybe because I have a French keyboard?

No, because the game client is already set to walk while holding shift, you need VB6 to change it.
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...