Help please, need auto-run for Assassin's Creed Odyssey
4 posts
• Page 1 of 1
Help please, need auto-run for Assassin's Creed Odyssey
Help please, I need an auto-run function for Assassin's Creed Odyssey for PS4
I've been scouting through auto-run scripts on the forums but I can't find something I feel comfortable editing from. Please help.
I want an auto run function that does the following:
1) the autorun function is triggered when L3 and R3 are pressed
2) Autorun is just Left Stick pushed forwards fully. (Ideally, it would be better if the user could also use Left stick to override the autorun temporarily, and then T2 could continue autorun when Left Stick not being used (except for rule 3b.)
3) the autorun function is cancelled...
3a) ...when L3 and R3 are pressed, or
3b) ...when Left Stick is down fully, give or take 15 degrees. (This would be ideal if possible, and it would be nice for 15 degrees to be a variable. If not possible like this, then perhaps simply just left stick down.)
Many thanks
I've been scouting through auto-run scripts on the forums but I can't find something I feel comfortable editing from. Please help.
I want an auto run function that does the following:
1) the autorun function is triggered when L3 and R3 are pressed
2) Autorun is just Left Stick pushed forwards fully. (Ideally, it would be better if the user could also use Left stick to override the autorun temporarily, and then T2 could continue autorun when Left Stick not being used (except for rule 3b.)
3) the autorun function is cancelled...
3a) ...when L3 and R3 are pressed, or
3b) ...when Left Stick is down fully, give or take 15 degrees. (This would be ideal if possible, and it would be nice for 15 degrees to be a variable. If not possible like this, then perhaps simply just left stick down.)
Many thanks
-
Sparky101 - Command Sergeant Major
- Posts: 114
- Joined: Sun Sep 24, 2017 11:54 am
Re: Help please, need auto-run for Assassin's Creed Odyssey
- Code: Select all
#include <ps4.gph>
bool auto_run;
main {
if(is_active(PS4_L3) && event_active(PS4_R3)) {
auto_run = !auto_run;
}
if(get_actual(PS4_LY) >= 85f) auto_run = 0;
if(auto_run) set_val(PS4_LY, -100);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Help please, need auto-run for Assassin's Creed Odyssey
thanks Mad, that's awesome! Just what I asked for.
-
Sparky101 - Command Sergeant Major
- Posts: 114
- Joined: Sun Sep 24, 2017 11:54 am
Re: Help please, need auto-run for Assassin's Creed Odyssey
I've been tweaking this code and wanted to share in case anyone else would find a copy useful.
The new code will auto-run and auto-zoom with Ikaros.
// Autorun
// ========
// To start: press L3 whist running (whilst Left Stick is forwards)
// To stop: press Circle OR Left Stick down
//
// Ikaros zoom-hold
// ========
// To start: press L3 whist zooming with Ikaros (whilst holding L2)
// To stop: press CROSS
// NOTE: You can change this to Circle if you prefer, although
// this will fall back to character (instead of back to Ikaros)
Thanks again Mad for getting me started
The new code will auto-run and auto-zoom with Ikaros.
// Autorun
// ========
// To start: press L3 whist running (whilst Left Stick is forwards)
// To stop: press Circle OR Left Stick down
//
// Ikaros zoom-hold
// ========
// To start: press L3 whist zooming with Ikaros (whilst holding L2)
// To stop: press CROSS
// NOTE: You can change this to Circle if you prefer, although
// this will fall back to character (instead of back to Ikaros)
- Code: Select all
// ================================================================
// Assassin Creed Odyssey - autorun & Ikaros zoom-hold functions
// ================================================================
//
// Autorun
// ========
// To start: press L3 whist running (whilst Left Stick is forwards)
// To stop: press Circle OR Left Stick down
//
// Ikaros zoom-hold
// ========
// To start: press L3 whist zooming with Ikaros (whilst holding L2)
// To stop: press CROSS
// NOTE: You can change this to Circle if you prefer, although
// this will fall back to character (instead of back to Ikaros)
#include <ps4.gph>
bool auto_run;
bool auto_L2;
main {
if(is_active(PS4_LY) && is_active(PS4_L3)) {
auto_run = 1;
}
if(get_actual(PS4_LY) >= 85f) auto_run = 0;
if(auto_run) set_val(PS4_LY, -100);
if(is_active(PS4_L2) && is_active(PS4_L3)) {
auto_L2 = 1;
}
if(auto_L2) set_val(PS4_L2, 100);
if(is_active(PS4_CROSS)) {
auto_L2 = 0;
}
if(is_active(PS4_CIRCLE)) {
auto_run = 0;
}
}
Thanks again Mad for getting me started
-
Sparky101 - Command Sergeant Major
- Posts: 114
- Joined: Sun Sep 24, 2017 11:54 am
4 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 125 guests