Results 1 to 5 of 5

Topic: Cronusmax light color flashing once if on Twice if off

  1. #1
    SILVER IV

    User Info Menu

    Cronusmax light color flashing once if on Twice if off

    Hi guys I would like to use only lights no rumbles in my script

    I have a script with 2 antirecoil one light and one heavy, based on wich is selected a color is affected on my cronus

    I would like to add other options like RapidFire or DropShot etc...but this time the colors (different from each option) have to flash once if on twice if off and then go back at the original color (antirecoil)

    Thanks

  2. #2
    The GPC Godfather



    User Info Menu

    Re: Cronusmax light color flashing once if on Twice if off

    Quote Originally Posted by ktmuort View Post
    Hi guys I would like to use only lights no rumbles in my script

    I have a script with 2 antirecoil one light and one heavy, based on wich is selected a color is affected on my cronus

    I would like to add other options like RapidFire or DropShot etc...but this time the colors (different from each option) have to flash once if on twice if off and then go back at the original color (antirecoil)

    Thanks
    You'll have to post the script and let us take a look.

  3. #3
    SILVER IV

    User Info Menu

    Re: Cronusmax light color flashing once if on Twice if off

    Hi Batts

    -----------------------------------------------------------

    #NoEnv
    SetWorkingDir %A_ScriptDir%
    CoordMode, Mouse, Window
    SendMode Input
    #SingleInstance Force
    SetTitleMatchMode 2
    #WinActivateForce
    SetControlDelay 1
    SetWinDelay 0
    SetKeyDelay -1
    SetMouseDelay -1
    SetBatchLines -1


    F3::
    Macro1:
    Loop
    {
    Loop
    {
    CoordMode, Pixel, Window
    PixelSearch, FoundX, FoundY, 903, 374, 969, 428, 0xD60C07, 20, Fast RGB
    }
    Until ErrorLevel = 0
    If ErrorLevel = 0
    {
    Send, {UP}
    }
    }
    Return


    F8::ExitApp

    F12::Pause[/GPC]

    ------------------------------------------------------------------------------

    This is a basic AHK script when there is a red pixel coming from certain of the screen area then UP arrow is pressed

    I tested this script and work fine

    Now what the cronus should do is that when UP is pressed the RX-100 scould be pressed (xbox up block command)

    My point anyway is to confirm that it doable and then I will take my time to make a decent script whit AHK

    Ciao

  4. #4
    The GPC Godfather



    User Info Menu

    Re: Cronusmax light color flashing once if on Twice if off

    Quote Originally Posted by ktmuort View Post
    Hi Batts

    -----------------------------------------------------------

    #NoEnv
    SetWorkingDir %A_ScriptDir%
    CoordMode, Mouse, Window
    SendMode Input
    #SingleInstance Force
    SetTitleMatchMode 2
    #WinActivateForce
    SetControlDelay 1
    SetWinDelay 0
    SetKeyDelay -1
    SetMouseDelay -1
    SetBatchLines -1


    F3::
    Macro1:
    Loop
    {
    Loop
    {
    CoordMode, Pixel, Window
    PixelSearch, FoundX, FoundY, 903, 374, 969, 428, 0xD60C07, 20, Fast RGB
    }
    Until ErrorLevel = 0
    If ErrorLevel = 0
    {
    Send, {UP}
    }
    }
    Return


    F8::ExitApp

    F12::Pause[/GPC]

    ------------------------------------------------------------------------------

    This is a basic AHK script when there is a red pixel coming from certain of the screen area then UP arrow is pressed

    I tested this script and work fine

    Now what the cronus should do is that when UP is pressed the RX-100 scould be pressed (xbox up block command)

    My point anyway is to confirm that it doable and then I will take my time to make a decent script whit AHK

    Ciao
    I believe you said you're using a PS4 controller with a touch-pad. What I would do is in X-Aim bind the controller to the standard keyboard keys. The keyboard key UP is typically bound to the controller dpad UP. Run both and with the Device Monitor open see if the UP key is being registered when pressed by AHK.

  5. #5
    SILVER IV

    User Info Menu

    Re: Cronusmax light color flashing once if on Twice if off

    Hello Batts

    As follows you will find the script


    I put an # on the action I would like to have the Flashing lights, colors are not important but of course if possible different

    IF POSSIBLE ADD A 2 BUTTON ACTION TO RESET THE SCRIPT EVENTUALLY WITH A TRIPLE FLASH

    Thanks for your precious help

Posting Permissions

  • You may not post new topics
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •