Dead by Daylight 180 spin script help
Moderator: antithesis
21 posts
• Page 2 of 3 • 1, 2, 3
Re: Dead by Daylight 180 spin script help
- Code: Select all
main {
if(event_active(BUTTON_5))combo_run(RT_180);
if(event_active(BUTTON_8))combo_run(LT_180);
}
combo RT_180
{
turn(STICK_2_Y, -100.0);
turn(STICK_1_X, -100.0);
wait(40);
turn(STICK_2_X, 100.0);
turn(STICK_1_X, -100.0);
wait(40);
turn(STICK_2_Y, 100.0);
turn(STICK_1_X, -100.0);
wait(40);
turn(STICK_2_Y, -100.0);
turn(STICK_1_X, -85.0);
wait(200);
}
combo LT_180
{
turn(STICK_2_Y, -100.0);
turn(STICK_1_X, 100.0);
wait(40);
turn(STICK_2_X, -100.0);
turn(STICK_1_X, 100.0);
wait(40);
turn(STICK_2_Y, 100.0);
turn(STICK_1_X, 100.0);
wait(40);
turn(STICK_2_Y, -100.0);
turn(STICK_1_X, 85.0);
wait(200);
}
void turn(uint8 stick, fix32 length)
{
set_val(stick, (length * (100.0 - abs(get_val(stick)))) / 100.0 + get_val(stick));
}
You'll have to mess with timings since I don't have that game.....should do what you want like video get timings perfected!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: Dead by Daylight 180 spin script help
Thanks for helping me out.
-
MAC - Master Sergeant
- Posts: 39
- Joined: Fri Apr 13, 2018 7:13 pm
Re: Dead by Daylight 180 spin script help
The last script you sent I cant figure out how to slow down the combo button pressing. The same with the script before that, do I just +1 to each section? What numbers/sections needs to but changed to slow down the combo button pressing so my character can move in a more natural 360? Is it all the 100's? Thanks again. This is going to work.
-
MAC - Master Sergeant
- Posts: 39
- Joined: Fri Apr 13, 2018 7:13 pm
Re: Dead by Daylight 180 spin script help
You can turn down the 100 to like 40 or 50 and then add time to the wait times to slow down.
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: Dead by Daylight 180 spin script help
bonefisher wrote:You can turn down the 100 to like 40 or 50 and then add time to the wait times to slow down.
Same with the -100?
-
MAC - Master Sergeant
- Posts: 39
- Joined: Fri Apr 13, 2018 7:13 pm
Re: Dead by Daylight 180 spin script help
yes -40 or -50...…..
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: Dead by Daylight 180 spin script help
bonefisher wrote:yes -40 or -50...…..
Thanks
-
MAC - Master Sergeant
- Posts: 39
- Joined: Fri Apr 13, 2018 7:13 pm
Re: Dead by Daylight 180 spin script help
MAC wrote:bonefisher wrote:yes -40 or -50...…..
Thanks
Hey, how is the script? and what values did you end up going with? Just got into DBD and this would be really useful.
Thanks!
-
Jazzin - Staff Sergeant
- Posts: 11
- Joined: Wed Jul 16, 2014 8:35 pm
Re: Dead by Daylight 180 spin script help
bonefisher wrote:
- Code: Select all
main {
if(event_active(BUTTON_5))combo_run(RT_180);
if(event_active(BUTTON_8))combo_run(LT_180);
}
combo RT_180
{
turn(STICK_2_Y, -100.0);
turn(STICK_1_X, -100.0);
wait(40);
turn(STICK_2_X, 100.0);
turn(STICK_1_X, -100.0);
wait(40);
turn(STICK_2_Y, 100.0);
turn(STICK_1_X, -100.0);
wait(40);
turn(STICK_2_Y, -100.0);
turn(STICK_1_X, -85.0);
wait(200);
}
combo LT_180
{
turn(STICK_2_Y, -100.0);
turn(STICK_1_X, 100.0);
wait(40);
turn(STICK_2_X, -100.0);
turn(STICK_1_X, 100.0);
wait(40);
turn(STICK_2_Y, 100.0);
turn(STICK_1_X, 100.0);
wait(40);
turn(STICK_2_Y, -100.0);
turn(STICK_1_X, 85.0);
wait(200);
}
void turn(uint8 stick, fix32 length)
{
set_val(stick, (length * (100.0 - abs(get_val(stick)))) / 100.0 + get_val(stick));
}
You'll have to mess with timings since I don't have that game.....should do what you want like video get timings perfected!
Hey, for some reason I am unable to run the script or load it to a memory slot. Any suggestions?
-
Jazzin - Staff Sergeant
- Posts: 11
- Joined: Wed Jul 16, 2014 8:35 pm
21 posts
• Page 2 of 3 • 1, 2, 3
Return to XIM Apex, XIM4, XIM Edge with Titan devices
Who is online
Users browsing this forum: No registered users and 79 guests