Is this guy cool or what?!

Mark followed our instructions and built a treadmill setup for his gaming and wrote his own script to control his character. We worked a little on ironing out the script and he sent us this email:

I made some recent adjustments to the setup, and now it works very well. The problem I ran into was with the Joytokey setup. The joystick I’m using is extremely sensitive, so when I would move to the left or the right, it would also move up or down slightly. This causes my character to stop moving. By not assigning a key to the up or down movement of the joystick I have solved the glitchyness problem. This is the most exercise I’ve gotten in a while… And it’s also fun.

10 hours! We were whining about 5 minutes!

The script is below:

// Mouse2 walking script by Dark Vamprism [x.dark.ninja.x@hotmail.com]
//——————————————————————–

//Speed is under here
Var.ForwardAt = 10 //This may need to be a negative number.
Var.BackwardAt = -10 //added this incase you cant walk back as fast.

//——————————————————————–
mouse2.SwallowMovement = true

var.Delta = delta(mouse2.DirectInputY)
debug = var.Delta

//link keys to variables
key.Y = var.moveForward
key.y = var.moveBackward

if Var.Delta > Var.ForwardAt
var.moveForward = true
elseif Var.Delta

Advertisements

About harcoslabs

Makers of Mana/Health Energy Potion, Blood Energy Potion, Zombie Blood, and Nuclear Energy Powder. www.harcoslabs.com
This entry was posted in mana energy potion, treadmill. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s