Command Cycle Cursor

  • #1, z fallacies_fallaciesSaturday, 01. October 2016, 22:24 hodinky 8 years ago
    Hey guys,

    I'm having trouble finding updated info on how to do a command cycle cursor (sam & max style). The tutorials I've found on this have been for previous versions where the info is outdated. One thing I did find was this:

    1) I have to "match" - "Mouse Settings" "Set command" the right mouse button with the action part - "Next command" is
    2) I have for all commands ( walk, use, talk, look at) created in the "cursor" menu each active and inactive cursor.
    3) I created an interface and created in it for each command a switch, these are defined as "command switch," named the commands and assigned them the corresponding cursor.

    I'm a bit lost on step 3, any way you guys could point me in the right direction? I'd like to use the space bar or the right click button to cycle through a couple different cursors, and each of them would have a different image when they are active and inactive.

    Bažant

    25 Posts


  • #2, z afrlmeSaturday, 01. October 2016, 23:02 hodinky 8 years ago
    A'llo. smile

    Game tab (cog icon) > mouse properties > right mouse button: create a set command action part & set the radio button to "next command" & voila, you should be able to cycle through commands via right click.

    Now you could also do the cycle manually by querying what the current command is...

    if current command is 'use'
    set command 'look'
    quit current action
    end if
    if current command is 'look'
    set command 'take'
    quit current action
    end if
    if current command is 'take'
    set command 'talk'
    quit current action
    end if
    if current command is 'talk'
    set command 'use'
    end if


    P.S: in the mouse properties tab you might want to consider setting the radio option at the side of right mouse button to "do not send character to cursor" to prevent the right button from being used as a interaction button.

    Imperátor

    7285 Posts

  • #3, z fallacies_fallaciesSunday, 02. October 2016, 01:47 hodinky 8 years ago
    Awesome I got it to work, thank you very much.

    Bažant

    25 Posts

  • #4, z afrlmeSunday, 02. October 2016, 02:11 hodinky 8 years ago
    No problem at all mate. wink

    Imperátor

    7285 Posts

  • #5, z fallacies_fallaciesMonday, 03. October 2016, 03:43 hodinky 8 years ago
    Hmm it works but as soon as I left click on something to start an action, it won't cycle anymore. Any ideas what I'm doing wrong? I'm in the early stages so I only have 2 actions i can test it on but both have caused it.

    Bažant

    25 Posts

  • #6, z afrlmeMonday, 03. October 2016, 12:18 hodinky 8 years ago
    ok 2 things to check...

    1. in the game (cog icon) tab, can you tell me what you have the "Activate standard command" dropdown set to?

    2. in the interface you used to setup your commands, look in the properties tab & make sure "standard command" drop down is not set as "[empty]". Set it to whatever your standard command is (walk or default or whatever you called it).

    Imperátor

    7285 Posts

  • #7, z fallacies_fallaciesTuesday, 04. October 2016, 01:29 hodinky 8 years ago
    Amazing. Yeah I had the standard command empty but now you've also shown me what the activate standard command function does. Thanks again. This community is great I'm inspired to try and give back to it soon.

    Bažant

    25 Posts

  • #8, z afrlmeTuesday, 04. October 2016, 02:55 hodinky 8 years ago
    haha, I was just about to reply with "no problem at all mate", but then I realized I'd already typed that further up the thread, so... you're welcome. smile

    Imperátor

    7285 Posts