test content
What is the Arc Client?
Install Arc

Comprehensive tutorial on scripting commands?

SystemSystem Member, NoReporting Posts: 178,019 Arc User
I want to set up customized keybinds and cannot find a comprehensive guide anywhere. Can someone please point me in the direction of a tutorial or at least a list of scripting commands and syntax used in STO?
Post edited by Unknown User on

Comments

  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Rojon wrote: »
    I want to set up customized keybinds and cannot find a comprehensive guide anywhere. Can someone please point me in the direction of a tutorial or at least a list of scripting commands and syntax used in STO?
    There is none because there is no user scripting allowed.

    Keybinds for console commands, however, are very much allowed and visible to the public. In your chat window (console), type

    /

    followed by a single or sequence of letters or numbers, in order to scroll through the list of visible console commands. If you have auto-complete enabled, you will see everything that is available to the user.

    ===

    Here are some common keybinds:

    Target-announce keybind, to announce focus fire targets to your team:
    /bind <key> <chat channel> <msg> $target
    /bind t team TARGET: $target

    Assist keybind, to target your target's current target:
    /bind <key> assist
    /bind g assist

    Target-by-name keybind, to target a specific player by name:
    /bind <key> target <player full 'short name', including spaces>
    /bind F1 target Matt Dravis

    ===

    By popular request, the Key Binds game options menu now has keybind options for power level presets, Away Team targeting, and Away Team rally-point placement.

    If you have suggestions for additions to the Key Binds game options menu, you should post them so that the DEVs can include them in a future patch.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Keybinds for console commands, however, are very much allowed and visible to the public.

    Semantics aside, this is what I'm looking for. A list of the commands and syntaxes available for those types of console commands. I am constantly frustrated by the UI's stone-age level of AI and would like to issue commands to the game that make sense.

    Auto-self targeting being just one example of the non-intuitiveness of this game.

    So, where can I find a how-to on the usage of console commands, aliases, etc.?
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Rojon wrote: »
    So, where can I find a how-to on the usage of console commands, aliases, etc.?
    Nowhere (or nothing official from Cryptic) at the moment. Keep requesting it (probably in one of the Engineering Report threads) and hopefully they will add it as part of the documentation effort.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    How about fan-oriented sources, then? I have searched but found no results yet there are people out there programming keybinds so the knowlege is out there somewhere.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Anyone at all? Someone must have learned how to do this and written on it.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Rojon wrote: »
    Anyone at all? Someone must have learned how to do this and written on it.
    I already explained how to find console commands, and then bind them, earlier in this thread.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    I already explained how to find console commands, and then bind them, earlier in this thread.

    Yes you did. I'm looking for something more in-depth, such as the formatting of the commands, use of alias terms, etc.

    For instance here's a keybind command given to me by a friend to always auto-target myself with Science Team:

    /alias cureme "target_clear $$ target_self $$ +TrayExecByTray 0 9 $$ target_clear"
    /bind 0 cureme

    What you posted, while helpful, is not an in-depth explanation of how the above works. I was hoping to find something even more helpful to use the keybind script.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Rojon wrote: »
    Yes you did. I'm looking for something more in-depth, such as the formatting of the commands, use of alias terms, etc.

    For instance here's a keybind command given to me by a friend to always auto-target myself with Science Team:

    /alias cureme "target_clear $$ target_self $$ +TrayExecByTray 0 9 $$ target_clear"
    /bind 0 cureme

    What you posted, while helpful, is not an in-depth explanation of how the above works. I was hoping to find something even more helpful to use the keybind script.
    Aha, I understand now, apologies for my confusion. :)

    If Cedryk_'s link is not up-to-date enough to be useful, I, too, would be interested to know if anyone else has compiled current information on this topic. In the meantime, I'll probably go through that old Beta post and see what works.

    Thanks for raising this topic, it's definitely useful.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    If Cedryk_'s link is not up-to-date enough to be useful, I, too, would be interested to know if anyone else has compiled current information on this topic. In the meantime, I'll probably go through that old Beta post and see what works.
    It's WildCat's post, and it is a little out of date, however if you read on, you will see that the only difference is a mode number after some commands, like:
    power_exec {mode} {command}
    (instead of power_exec {command} )
    where the {mode} is as follows:
    1 = momentary
    0 = toggle off
    2(or 3) = toggle on (this doesn't work all the time for all commands, and has undesirable effects on some commands that were meant to be momentary)

    WildCat has stated that he will update his post shortly to include all this new info posted in the same thread.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Cedryk_ wrote:
    It's WildCat's post, and it is a little out of date, however if you read on, you will see that the only difference is a mode number after some commands, like:
    power_exec {mode} {command}
    (instead of power_exec {command} )
    where the {mode} is as follows:
    1 = momentary
    0 = toggle off
    2(or 3) = toggle on (this doesn't work all the time for all commands, and has undesirable effects on some commands that were meant to be momentary)

    WildCat has stated that he will update his post shortly to include all this new info posted in the same thread.
    Well, there are other differences, as those commands were designed for CO and only some of them are the same in STO. Furthermore, several commands have been changed or disabled over the past patches to STO.

    That post is archived from the Beta forums, and cannot be modified. Wild Cat's last post is dated 24 Jan 2010, and the last update to that thread was on 21 Jan 2010. That is over a full week before Headstart/Launch.

    I am tempted to create a new thread, but I would rather do more extensive research first.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Well, there are other differences, as those commands were designed for CO and only some of them are the same in STO. Furthermore, several commands have been changed or disabled over the past patches to STO.

    That post is archived from the Beta forums, and cannot be modified. Wild Cat's last post is dated 24 Jan 2010, and the last update to that thread was on 21 Jan 2010. That is over a full week before Headstart/Launch.

    I am tempted to create a new thread, but I would rather do more extensive research first.
    20 Zigz agree... WildCat's post is good, but an updated version would be nice.
  • Archived PostArchived Post Member Posts: 2,264,498 Arc User
    edited April 2010
    Cedryk_ wrote:

    Thank you both very much for your kind help. This link and the CO wiki referenced in your post will give me plenty to chew on for awhile!

    Somehow I knew Champions Online (and I bet COH) would get involved in this. ;)
Sign In or Register to comment.