WarFace Script???
Re: WarFace Script???
- Code: Select all
bool auto_timer;
main {
set_val(BUTTON_6, 0.0);
if(get_actual(BUTTON_6)&& time_active(BUTTON_6)> 200)
{
combo_run(knife);
}
if(event_active(BUTTON_6))
{
combo_run(pull_knife);auto_timer = 1;
}
else if(event_release(BUTTON_6))
{
combo_run(timed_knife);
}
}
combo knife
{
set_val(BUTTON_6, 100.0);
wait(40);
set_val(BUTTON_6, 0.0);
wait(40);
}
combo pull_knife
{
set_val(BUTTON_10, 100.0);
wait(80);//580
wait(100);
}
combo timed_knife
{
wait(500);
auto_timer = 0;
call(pull_knife);
}
Here just started tinkering again... see if you like knife action! Just hold right click stick to do all one button!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: WarFace Script???
bonefisher wrote:
- Code: Select all
bool auto_timer;
main {
set_val(BUTTON_6, 0.0);
if(get_actual(BUTTON_6)&& time_active(BUTTON_6)> 200)
{
combo_run(knife);
}
if(event_active(BUTTON_6))
{
combo_run(pull_knife);auto_timer = 1;
}
else if(event_release(BUTTON_6))
{
combo_run(timed_knife);
}
}
combo knife
{
set_val(BUTTON_6, 100.0);
wait(40);
set_val(BUTTON_6, 0.0);
wait(40);
}
combo pull_knife
{
set_val(BUTTON_10, 100.0);
wait(80);//580
wait(100);
}
combo timed_knife
{
wait(500);
auto_timer = 0;
call(pull_knife);
}
Here just started tinkering again... see if you like knife action! Just hold right click stick to do all one button!
Ahhh what does this so auto knife I'll try it when I get off work tonight
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
bonefisher wrote:I'll put it in when I get a chance!
What do you think about the aim assist in the game ? I know spam crouching helped a little only thing that sucks is when u trying to shoot in cover lol u spray up the wall tbh I think the aim assist in that game is weird and weak lol what u think??
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
JamesCaywood wrote:bonefisher wrote:I'll put it in when I get a chance!
What do you think about the aim assist in the game ? I know spam crouching helped a little only thing that sucks is when u trying to shoot in cover lol u spray up the wall tbh I think the aim assist in that game is weird and weak lol what u think??
spam crouching don't do anything but get you in trouble! The only assist in game that is worth anything is the aim abuse and I just made a corner sticky which is a aim abuse that goes off one time but then if you fire the regular one works then to track!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: WarFace Script???
- Code: Select all
#define DEADZONE 12.0
#define VALUE 16.0
#define SENSITIVITY 0.8
main {
if(event_active(BUTTON_8)){
combo_run(aim_abuse);
}
//anti-recoil
if(get_actual(BUTTON_5)){
if (abs(get_actual(STICK_1_X)) < DEADZONE) set_val(STICK_1_X, 0.0);
if (abs(get_actual(STICK_1_Y)) < DEADZONE) set_val(STICK_1_Y, 0.0);
fix32 value = get_actual(STICK_1_Y) + VALUE;
fix32 val_x = get_actual(STICK_1_X);
fix32 true_value = (sqrt(value*value+val_x*val_x)
-DEADZONE)/sqrt(value*value+val_x*val_x)*value;
fix32 direction = (true_value >= 0.0) ? 1.0 : -1.0;
true_value = abs(value);
if(true_value > 2.0) {
true_value *= SENSITIVITY;
true_value += DEADZONE;
set_val(STICK_1_Y, clamp(true_value, 0.0, 100.0) * direction);
}
}
}
combo aim_abuse
{
set_val(BUTTON_8, 100);
wait(200);
set_val(BUTTON_8, 0);
wait(30);
}
Here try this I just put together!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: WarFace Script???
bonefisher wrote:
- Code: Select all
#define DEADZONE 12.0
#define VALUE 16.0
#define SENSITIVITY 0.8
main {
if(event_active(BUTTON_8)){
combo_run(aim_abuse);
}
//anti-recoil
if(get_actual(BUTTON_5)){
if (abs(get_actual(STICK_1_X)) < DEADZONE) set_val(STICK_1_X, 0.0);
if (abs(get_actual(STICK_1_Y)) < DEADZONE) set_val(STICK_1_Y, 0.0);
fix32 value = get_actual(STICK_1_Y) + VALUE;
fix32 val_x = get_actual(STICK_1_X);
fix32 true_value = (sqrt(value*value+val_x*val_x)
-DEADZONE)/sqrt(value*value+val_x*val_x)*value;
fix32 direction = (true_value >= 0.0) ? 1.0 : -1.0;
true_value = abs(value);
if(true_value > 2.0) {
true_value *= SENSITIVITY;
true_value += DEADZONE;
set_val(STICK_1_Y, clamp(true_value, 0.0, 100.0) * direction);
}
}
}
combo aim_abuse
{
set_val(BUTTON_8, 100);
wait(200);
set_val(BUTTON_8, 0);
wait(30);
}
Here try this I just put together!
Alright man I'm still at work got tell 7 its 5:45 atm
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
bonefisher wrote:
- Code: Select all
#define DEADZONE 12.0
#define VALUE 16.0
#define SENSITIVITY 0.8
main {
if(event_active(BUTTON_8)){
combo_run(aim_abuse);
}
//anti-recoil
if(get_actual(BUTTON_5)){
if (abs(get_actual(STICK_1_X)) < DEADZONE) set_val(STICK_1_X, 0.0);
if (abs(get_actual(STICK_1_Y)) < DEADZONE) set_val(STICK_1_Y, 0.0);
fix32 value = get_actual(STICK_1_Y) + VALUE;
fix32 val_x = get_actual(STICK_1_X);
fix32 true_value = (sqrt(value*value+val_x*val_x)
-DEADZONE)/sqrt(value*value+val_x*val_x)*value;
fix32 direction = (true_value >= 0.0) ? 1.0 : -1.0;
true_value = abs(value);
if(true_value > 2.0) {
true_value *= SENSITIVITY;
true_value += DEADZONE;
set_val(STICK_1_Y, clamp(true_value, 0.0, 100.0) * direction);
}
}
}
combo aim_abuse
{
set_val(BUTTON_8, 100);
wait(200);
set_val(BUTTON_8, 0);
wait(30);
}
Here try this I just put together!
dont know what this is post to do??? had to turn 8 from 2 bc it was hitting the ground and aim abuse not working that i seen ?? maybe turn aim abuse on for ??? when u press ads ? and not fire might get better results ?? idk
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
Change the VALUE not the SENSITIVITY of it! It is working both ways the aim abuse!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: WarFace Script???
The aim abuse only hits one time that is it which will put you right on them!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 45 guests