Sign in to follow this  
Followers 0
swifty

Need CFML file help!

3 posts in this topic

Sgtspoon or anyone if you can help me.

I have a PS2 style controller on my PC Ive been trying to get the mouse horizontal and vertical aim function to work by using a keystroke.

I have successfully gotten the mini joystick to emulate the mouse but even with the keypress values set to 1, it is still hard to aim with, but ok to move with. So, i need to get a fine tuning as with the atguns (tried that and cant get that to work at all).

Below is what I have for Infantry cfml. The horizontal aim goes only in one direction (right). The vertical will go down until it can not go any further, but will then go up until it stops and wont come back down unless I use th mini joystick.

rz

y

u

z

,

.

Edited by swifty

Share this post


Link to post
Share on other sites

hehe. I haven't been in game for 2-3 years now and you want me to do/remember what? lol...

ok, lemme wrap my head around this... god it's been so long...

break it down for me as two seperate things, joystick and keypress as they are two different actions...

now what happens when you just use the joystick?

does it work correctly? are you saying the joystick aim works ok, but not fine tune enough to aim?

this function, it's meant to be used with a mouse, a mouse and a joystick function really differently and you are trying to put a joystick style function where it's expecting a mouse type movement and that's causing the problem (if there is one with the JS, I'm confused from your post) (shots in the dark: halfaxis's? why are both axes inverted?)

now if it's the keypresses part that's a problem...

I'm pretty sure that since there are pretty unique functions (only used for infantry) that when they were coded, they were not at all coded with keeping any sort of the keyboard joystick emulation functions intact..

have you tried keyabsolute? or keydelta per second? it could simply be broken from when it was first programmed when they created the function (or just never put together in the first place)..

I'd really have to get into the game and take notes on how those unique infantry axis functions behave and then reverse engineer them and that's several hours of work at least, not counting boning up on my cfml, as well as what changes were made in the last 3 years since my departure...

but I'll help... just give me exact descriptions of what's doing what..

Share this post


Link to post
Share on other sites

Thanks for the reply SgtSpoon.

have you tried keyabsolute? or keydelta per second? it could simply be broken from when it was first programmed when they created the function (or just never put together in the first place)..

I did try both of these, I finally gave up and purchased a logitect G500 gaming mouse with 10 button function that works just fine except for the lack of buttons. Still have to use the keyboard, but at least the keys most used are programmed on the mouse now.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.