GearHack

: : : :

Add Comment | Related Links | TrackBack
Related Content

All Direction Works Except for Forward Right

I just finished programming my Left 4 Dead profile. It seems to work just fine right now. All the direction works, except for Forward Right. Instead of moving in forward right diagonal, it moves forward. I've attached the macro list below. Can you spot what I am doing wrong?

Attached File: Left 4 Dead [www.GearHack.com].ml (858 B)

Chieh Cheng
Sun, 14 Dec 2008 03:38:17 +0000

OK, I check all of that. As soon as possible, I will post you a v1.2 beta suite. :)
Yesterday I went to sleep : it was 4am, here in France and today Santa-Claus is coming at my work (kids will be happy, and I will be a bit tired :) )

Wilfrid AVRILLON
Sun, 14 Dec 2008 12:22:56 +0000

Take your time. I am at the airport, picking up my parents-in-law. Then my family is coming over for my brother's birthday and Christmas. So I will be plenty busy, myself.

Chieh Cheng
Sun, 14 Dec 2008 17:03:30 +0000

How do you map this to your N50 buttons ???

You know :

if you assign the four direction to the d-pad, the diagonals are interpolated : so that you don't have to implement diagonals :)

Let's say you assign forward to button 03 and right to button 09, pressing 03 and 09 will make you move diagonally.

other else, no.. if you affect it to button 04 it should work except if, for instance :
- you press Button 09 --> you move to the right because the 'D' button of your keyboard is considered to be pressed
- you press Button 04 --> The 'D' and 'W' keyboard keys are put in the 'pressed' state
- you release Button 09 --> the 'D' button is released ! Then you will move only forward !
But that seems logic to me ;)

Wilfrid AVRILLON
Sun, 14 Dec 2008 17:21:57 +0000

By the way, can you test this, what is the output if you test your button (press then release) assigned with Forward Right in Notepad ?

I test it here : wd <-- written by my N50 with Button 04 assigned with "Forward Right" ;)
And there (Direction Pad, interpolated) : dddwwwdw

hum, but I just see that for the direction pad there is a slight change in code to make it more responsive...

Let's try again : dwdwdwdwdwdw (yes, it is far better)

May be you were assigning the D-pad and got an issue with that ?

Wilfrid AVRILLON
Sun, 14 Dec 2008 17:51:51 +0000

Hmmm. That doesn't work for me. I mentioned that to you before, I thought your software doesn't interpolate the diagonal directions. I unmapped the diagonals, and my characters only moves forward, backward, left, and right. I've attached the profile below. Let me know if you spot what is wrong.

Attached File: Left 4 Dead [www.GearHack.com].pro (2 KB)

Chieh Cheng
Mon, 15 Dec 2008 05:01:52 +0000

OK, I'll send you an update here this evening so that you will be able to test and tell me if it works at last.
It seems that the interpolation is not effective in certain conditions, and I managed to fix it yesterday evening. :)

Wilfrid AVRILLON
Mon, 15 Dec 2008 08:49:09 +0000

Oh. How interesting. What are the condition that causes it to fail?

Chieh Cheng
Tue, 16 Dec 2008 06:55:11 +0000

In fact I just inversed the loop variable with the reference variable to test with, so it is not a "system" problem :
- It merely depends on if you press on the diagonal directly or if your finger came from a straight direction.

Wilfrid AVRILLON
Tue, 16 Dec 2008 07:13:43 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Related Links

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 2 + 10?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.


Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

173 Users Online

Hacking Digital Cameras
Fun for Photographers


Get Our

Memecoins!



Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.