WarFace Script???
WarFace Script???
Make It for Xim Apex Friendly
with Toggles on/off in the config
ADS Spam With Timing Changeables When Firing and Holding ads Down. Game is First Person Like Call of Duty Games
Anti Recoil for Xim apex With the Futures of Speed pull Down with - values and +
Rapid Fire with Changeable Timing For Active hip Fire and ADS
Straft left and Right With Changeable Speed. And The Wade Ness as i wanna test this out
Auto Crouch when Held Down (B) Spams it. and maybe Can Pick Auto Spam Crouch When ADS And Fire is held ?
and some more when i get to thinking lol If you Could do this for me would be great i ask
with Toggles on/off in the config
ADS Spam With Timing Changeables When Firing and Holding ads Down. Game is First Person Like Call of Duty Games
Anti Recoil for Xim apex With the Futures of Speed pull Down with - values and +
Rapid Fire with Changeable Timing For Active hip Fire and ADS
Straft left and Right With Changeable Speed. And The Wade Ness as i wanna test this out
Auto Crouch when Held Down (B) Spams it. and maybe Can Pick Auto Spam Crouch When ADS And Fire is held ?
and some more when i get to thinking lol If you Could do this for me would be great i ask
But he hasnt replyed as he got good scripts for xim apex playersalanmcgregor
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
- Code: Select all
/*
ADS +
DPAD UP to toggle rapidfire
DPAD DOWN to toggle strafe
DPAD LEFT to toggle crouch spam
DPAD RIGHT to toggle ADS Spam
*/
#pragma METAINFO("Warface", 1, 0, "Mad")
#define RF_HOLD 33
#define RF_RELEASE 64
#define AIM_HOLD 150
#define AIM_RELEASE 50
#define STRAFE_TIME 350
fix32 AR = 15f; // Anti Recoil Value
bool rapidfire;
bool strafe;
bool cspam;
bool aspam;
init {
led(255,0,0);
}
main {
if (is_active(7)) {
if (event_active(9)) Toggle(1);
if (event_active(10)) Toggle(2);
if (event_active(11)) Toggle(3);
if (event_active(12)) Toggle(4);
}
if (get_actual(4)) {
AntiRecoil(22, AR);
if (rapidfire) combo_run(RapidFire);
}
if (strafe) {
if(is_active(23) || is_active(24)) combo_stop(Strafe);
else if(get_actual(7)) combo_run(Strafe);
}
if (cspam && get_actual(14)) combo_run(Crouch);
if (aspam && get_actual(7) && !get_actual(4)) combo_run(AimAbuse);
}
combo RapidFire {
set_val(4, 100);
wait(RF_HOLD);
set_val(4, 0);
wait(RF_RELEASE);
}
combo Strafe {
set_val(23, -100.0);
wait(STRAFE_TIME);
set_val(23, 100.0);;
wait(STRAFE_TIME);
}
combo Crouch {
set_val(14, 100);
wait(30);
set_val(14, 0);
wait(30);
}
combo AimAbuse {
set_val(7, 100);
wait(AIM_HOLD);
set_val(7, 0.0);
wait(AIM_RELEASE);
}
void AntiRecoil (uint8 axis, fix32 recoil){
if (sqrt(sq(get_actual(21)) + sq(get_actual(22))) < abs(recoil)) {
set_val(axis,(recoil * (100.0 - abs(get_val(axis)))) / 100.0 + get_actual(axis));
}
}
void Toggle(int id) {
do{
switch(id){
case 1: {
rapidfire = !rapidfire;
if (rapidfire){ led(0, 255, 0); return; }
else continue;
}
case 2: {
strafe = !strafe;
if (strafe){ led(0, 0, 255); return; }
else continue;
}
case 3: {
cspam = !cspam;
if (cspam){ led(0, 255, 255); return; }
else continue;
}
case 4: {
aspam = !aspam;
if (aspam){ led(255, 255, 0); return; }
else continue;
}
}
}
while(0);
led(255, 0, 0);
}
void led(int8 r, int8 g, int8 b) {
led_set(LED_1, (fix32)b, 0);
led_set(LED_2, (fix32)r, 0);
led_set(LED_3, (fix32)g, 0);
return;
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
Re: WarFace Script???
Mad wrote:
- Code: Select all
/*
ADS +
DPAD UP to toggle rapidfire
DPAD DOWN to toggle strafe
DPAD LEFT to toggle crouch spam
DPAD RIGHT to toggle ADS Spam
*/
#pragma METAINFO("Warface", 1, 0, "Mad")
#define RF_HOLD 33
#define RF_RELEASE 64
#define AIM_HOLD 150
#define AIM_RELEASE 50
#define STRAFE_TIME 350
fix32 AR = 15f; // Anti Recoil Value
bool rapidfire;
bool strafe;
bool cspam;
bool aspam;
init {
led(255,0,0);
}
main {
if (is_active(7)) {
if (event_active(9)) Toggle(1);
if (event_active(10)) Toggle(2);
if (event_active(11)) Toggle(3);
if (event_active(12)) Toggle(4);
}
if (get_actual(4)) {
AntiRecoil(22, AR);
if (rapidfire) combo_run(RapidFire);
}
if (strafe) {
if(is_active(23) || is_active(24)) combo_stop(Strafe);
else if(get_actual(7)) combo_run(Strafe);
}
if (cspam && get_actual(14)) combo_run(Crouch);
if (aspam && get_actual(7) && !get_actual(4)) combo_run(AimAbuse);
}
combo RapidFire {
set_val(4, 100);
wait(RF_HOLD);
set_val(4, 0);
wait(RF_RELEASE);
}
combo Strafe {
set_val(23, -100.0);
wait(STRAFE_TIME);
set_val(23, 100.0);;
wait(STRAFE_TIME);
}
combo Crouch {
set_val(14, 100);
wait(30);
set_val(14, 0);
wait(30);
}
combo AimAbuse {
set_val(7, 100);
wait(AIM_HOLD);
set_val(7, 0.0);
wait(AIM_RELEASE);
}
void AntiRecoil (uint8 axis, fix32 recoil){
if (sqrt(sq(get_actual(21)) + sq(get_actual(22))) < abs(recoil)) {
set_val(axis,(recoil * (100.0 - abs(get_val(axis)))) / 100.0 + get_actual(axis));
}
}
void Toggle(int id) {
do{
switch(id){
case 1: {
rapidfire = !rapidfire;
if (rapidfire){ led(0, 255, 0); return; }
else continue;
}
case 2: {
strafe = !strafe;
if (strafe){ led(0, 0, 255); return; }
else continue;
}
case 3: {
cspam = !cspam;
if (cspam){ led(0, 255, 255); return; }
else continue;
}
case 4: {
aspam = !aspam;
if (aspam){ led(255, 255, 0); return; }
else continue;
}
}
}
while(0);
led(255, 0, 0);
}
void led(int8 r, int8 g, int8 b) {
led_set(LED_1, (fix32)b, 0);
led_set(LED_2, (fix32)r, 0);
led_set(LED_3, (fix32)g, 0);
return;
}
thanks man ill test this tmr when i get on give feed back
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
anti recoil pulls down way too hard
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
Re: WarFace Script???
ahhh okay thanks i was trying to find em im use to the interconfig u know lol
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
how do i change the straf speed and wide ness?
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
- Code: Select all
#define STRAFE_TIME 350
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
Re: WarFace Script???
Mad wrote:
- Code: Select all
#define STRAFE_TIME 350
Okay thanks have u played warface? On xbox or ps4 ? It's a free game just trying to figure out how the aim assist works it's a first person shooter kinda like black ops and call of duty
-
Shthappensbro - Major
- Posts: 754
- Joined: Wed Aug 16, 2017 4:55 pm
Re: WarFace Script???
Awesome I see Mad fullfilled you request.
Sorry I'm traveling daily and thunderstorm season left my home town without Internet for days.
I replied my inbox just now.
Sorry I'm traveling daily and thunderstorm season left my home town without Internet for days.
I replied my inbox just now.
-
alanmcgregor - Major
- Posts: 981
- Joined: Tue Mar 27, 2018 8:38 am
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 78 guests