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

Movement speed


florian
 Share

Recommended Posts

[(Note: You'll need VB6 for everything I describe below.)](http://www.touchofdeathforums.com/smf/index.php/topic,68399.msg736833.html#msg736833)

Well, here's the basic concept.
1\. Go to server.
2\. Find RUNNING_SPEED and see how it works.
3\. Add something to the TempPlayerRec that will remember if the character has the motorcycle equipped. (1 if they do, 0 if they don't.)
This allows us to tell Eclipse that it has to remember something for each player, but not when they log out.
4\. Add + TempPlayer(index).Motorcycle * 4 to where the player speed is checked.
5\. Find the place where the player equips the item. Add TempPlayer(index).Motorcycle = True if the item they equip is the same item number as the motorcycle.
6\. Find the place where the player **unequips** the item. Add TempPlayer(index).Motorcycle = False there.

If you need more help on the code specific details, post here and I'll help you more. This is the basic concept.
Link to comment
Share on other sites

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...