fifa 19 - left stick direction ?
4 posts
• Page 1 of 1
fifa 19 - left stick direction ?
hey forum
if anyone can help me with left stick direction script.. i tried an script in the forum
viewtopic.php?f=6&t=10365
this one
it doesnt work exactly.. maybe because it for titan one..
but if someone can build a good one ill be happy
if anyone can help me with left stick direction script.. i tried an script in the forum
viewtopic.php?f=6&t=10365
this one
it doesnt work exactly.. maybe because it for titan one..
but if someone can build a good one ill be happy
-
maxbren - Sergeant First Class
- Posts: 21
- Joined: Wed Jun 05, 2019 9:28 pm
Re: fifa 19 - left stick direction ?
The script you have linked is useful for mouse/keybopard player only.
This script works like this:
When you move the mouse into a direction and press the key the script will continue move your player into the direction of the mouse move without you needing to keep the mouse moving until you let go of the key.
This script isn't useful when playing with a gamepad.
Are you playing with a gamepad or mouse+keyboard ?
When you are playing with mouse+keyboard here it is converted to the T2:
This script works like this:
When you move the mouse into a direction and press the key the script will continue move your player into the direction of the mouse move without you needing to keep the mouse moving until you let go of the key.
This script isn't useful when playing with a gamepad.
Are you playing with a gamepad or mouse+keyboard ?
When you are playing with mouse+keyboard here it is converted to the T2:
- Code: Select all
#pragma METAINFO("KeyMouse_KeepMoving", 1, 0, "")
#include <keyboard.gph>
#include <ps4.gph>
/* Notes: !!! This script is useful for mouse+keyboard only. !!!
For this script to work you need a keyboard connect to your Titan Two.
The timing is important for this to work:
Press the key 'KEY_LEFTCONTROL' right after you started your mouse movement but before you stop moving the mouse.
Hold down the key as long as you want the script to continue to keep the direction for the stick.
*/
#define KEY_TO_USE KEY_LEFTCONTROL // the key to press for keep moving in mouse direction
#define STICK_X PS4_LX // left stick x movement
#define STICK_Y PS4_LY // left stick y movement
bool key_active;
fix32 x, y;
main {
if(key_status(KEY_TO_USE)) {
if(!key_active) {
key_active=TRUE;
x = get_val(PS4_LX);
y = get_val(PS4_LY);
}
set_val(PS4_LX, x);
set_val(PS4_LY, y);
} else {
key_active=FALSE;
}
}
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: fifa 19 - left stick direction ?
i play on pc with xbox one controller you can convert please?
-
maxbren - Sergeant First Class
- Posts: 21
- Joined: Wed Jun 05, 2019 9:28 pm
Re: fifa 19 - left stick direction ?
dorhayak wrote:i play on pc with xbox one controller you can convert please?
This script isn't useful when playing with a xbox one controller.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
4 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: midg3t2 and 139 guests