Dead by Daylight 180 spin script help

Forum to discuss the scripts, configs and connection of XIM with the Titan devices.

Moderator: antithesis

Re: Dead by Daylight 180 spin script help

Postby bonefisher » Sun Aug 12, 2018 1:30 pm

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
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Dead by Daylight 180 spin script help

Postby MAC » Sun Aug 12, 2018 7:46 pm

Thanks for helping me out.
User avatar
MAC
Master Sergeant
Master Sergeant
 
Posts: 39
Joined: Fri Apr 13, 2018 7:13 pm

Re: Dead by Daylight 180 spin script help

Postby MAC » Tue Aug 14, 2018 12:37 am

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.
User avatar
MAC
Master Sergeant
Master Sergeant
 
Posts: 39
Joined: Fri Apr 13, 2018 7:13 pm

Re: Dead by Daylight 180 spin script help

Postby bonefisher » Tue Aug 14, 2018 1:29 am

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
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Dead by Daylight 180 spin script help

Postby MAC » Tue Aug 14, 2018 1:55 am

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?
User avatar
MAC
Master Sergeant
Master Sergeant
 
Posts: 39
Joined: Fri Apr 13, 2018 7:13 pm

Re: Dead by Daylight 180 spin script help

Postby bonefisher » Tue Aug 14, 2018 3:07 am

yes -40 or -50...…..
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Dead by Daylight 180 spin script help

Postby MAC » Tue Aug 14, 2018 3:25 am

bonefisher wrote:yes -40 or -50...…..

Thanks
User avatar
MAC
Master Sergeant
Master Sergeant
 
Posts: 39
Joined: Fri Apr 13, 2018 7:13 pm

Re: Dead by Daylight 180 spin script help

Postby bonefisher » Tue Aug 14, 2018 4:00 am

:smile0517:
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Dead by Daylight 180 spin script help

Postby Jazzin » Mon Dec 23, 2019 4:23 am

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!
User avatar
Jazzin
Staff Sergeant
Staff Sergeant
 
Posts: 11
Joined: Wed Jul 16, 2014 8:35 pm

Re: Dead by Daylight 180 spin script help

Postby Jazzin » Mon Dec 23, 2019 5:32 am

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?
User avatar
Jazzin
Staff Sergeant
Staff Sergeant
 
Posts: 11
Joined: Wed Jul 16, 2014 8:35 pm

PreviousNext

Return to XIM Apex, XIM4, XIM Edge with Titan devices

Who is online

Users browsing this forum: No registered users and 56 guests