City of Heroes: Rebirth Forums

Development => Developers Diary => Topic started by: FarmTank on November 03, 2022, 08:06:23 PM

Title: FARM TANK - Slash Command Abbreviations
Post by: FarmTank on November 03, 2022, 08:06:23 PM
Greetings,  I'm writing this to let you know about some upcoming changes.  I wanted to make sure this information was in an easy to reference location all on its own.  Some new slash commands are coming to Rebirth and I hope some of the players find them useful. First is a new command for screenshots that allows you to save images to a custom folder.  This folder will still be in the same location as your game folder but will have whatever name you give it.

/screenfile "foldername"




The next grouping is a series of commands intended specifically for use in macros. They may seem bizarre but the specific "abbreviations" are a result of technical limitations in the existing code.  This work came from an understanding that char limits are a problem for some macro users.  This should go some way to help with that.  They do not do anything different from the longer versions of the same command.

"/tge_x", CMD_TARGET_ENEMY_NEXT, "Cycles through visible target-able enemies in near to far order."

"/tge_p", CMD_TARGET_ENEMY_PREV, "Cycles through visible target-able enemies in far to near order."

"/tge_n", CMD_TARGET_ENEMY_NEAR, "Targets the nearest enemy."

"/tge_f", CMD_TARGET_ENEMY_FAR, "Targets the farthest enemy."

"/tgf_n", CMD_TARGET_FRIEND_NEAR, "Targets the nearest friend."

"/tgf_f", CMD_TARGET_FRIEND_FAR, "Targets the farthest friend."

"/tgf_x", CMD_TARGET_FRIEND_NEXT, "Cycles through visible target-able friends in near to far order."

"/tgf_p", CMD_TARGET_FRIEND_PREV, "Cycles through visible target-able friends in far to near order."





The following group of commands are just like the ones above but also took params that have also been shortened as well.  For instance the command for target custom near enemy would be "/tgt_r em"

"/tgt_n", CMD_TARGET_CUSTOM_NEAR, "Targets the nearest match."

"/tgt_f", CMD_TARGET_CUSTOM_FAR, "Targets the farthest match."

"/tgt_x", CMD_TARGET_CUSTOM_NEXT, "Cycles through matching targets in near to far order."

"/tgt_p", CMD_TARGET_CUSTOM_PREV, "Cycles through matching targets in far to near order."


These are the shortened params available for above commands.  The original in game system for any non-param matching tokens being matched against the name for specific targeting is still available.  As long as it does not match the original or shortened form of the params that system should still work just fine.

em = "enemy - Hostile enemies"

fd = "friend - Friendlies (including pets)"

dd = "defeated - 0 HP targets"

ae = "alive - Living targets"

mp = "mypet - Include only your pets"

np = "notmypet - Exclude your pets"

bc = "base - Include only passive base items"

bn = "notbase - Exclude passive base items"

tm = "teammate - Include only teammates"

tn = "notteammate - Exclude teammates"





UPDATE EDIT - By request the following powerexec commands have also been given abbreviations.

"px_na" = "powexec_name" = "Executes a power with the given name."

"px_lo" = "powexec_location" = "Executes a power at a specified location with the given name."

"px_sl" = "powexec_slot" = "Executes the given power slot from the current tray."

"px_tgon" = "powexec_toggleon" - "Toggles a given power on. If its already on, does nothing."

"px_tgof" = "powexec_toggleoff" - "Toggles a given power off. If its already off, does nothing."

"px_at1" = "powexec_altslot"  - "Executes the given power slot from the alternate tray."

"px_at2" = "powexec_alt2slot" - "Executes the given power slot from the second alternate tray."

"px_at3" = "powexec_alt3slot" - "Executes the given power slot from the third alternate tray."

"px_sv" = "powexec_serverslot" - "Executes the given power slot from the server-controlled tray."

"px_tr" = "powexec_tray" - "Executes a power in the given slot and tray."

"px_ab" = "powexec_abort" - "Cancels the auto-attack power and the queued power."

"px_uq" = "powexec_unqueue" - "Cancels the queued power."

"px_at" = "powexec_auto" - "Sets the auto-attack power to given named power (or blank to shut it off, or toggles if it's on already)."



INSPIRATION COMMANDS

"ip_sl" = "inspexec_slot" = "Activate an inspiration slot in the first row."

"ip_tr" = "inspexec_tray" = "Activate an inspiration slot in the given row and column."

"ip_nm" = "inspexec_name" = "Activate an inspiration by name."

"ip_pn" = "inspexec_pet_name" = "Activate an inspiration on a pet by name. Inspiration Name then Pet Name"

"ip_pt" = "inspexec_pet_target" = "Activate an inspiration on a pet by name. Takes Inspiration Name"

"ip_cb" = "insp_combine" = "Combines 3 of same type inspiration into one new type"

"ip_dl" = "insp_delete" = "Removes and inspiration"
Title: Re: FARM TANK - Slash Command Abbreviations
Post by: Quinch on November 03, 2022, 11:10:48 PM
I am profoundly offended that these are not in the form of Praetorian Clockworktalk.

Seriously, though, this is going to be useful!
Title: Re: FARM TANK - Slash Command Abbreviations
Post by: GueVesa on December 13, 2022, 01:06:05 AM
Any chance a similar change to the powexec_ strings could be made?  Particularly powexec_toggleon/off takes a large bit of the line for a one key bound toggle switch.

For example: Bind NUMPADENTER "powexectoggleon Weave$$powexectoggleon Tough$$powexectoggleon Against All Odds$$powexectoggleon Combat Jumping$$powexectoggleon Battle Agility$$powexectoggleon Deflection"
Title: Re: FARM TANK - Slash Command Abbreviations
Post by: FarmTank on December 21, 2022, 09:12:17 PM
sigh....FIIIIIIINNNNNNNEEEEEEEE....................
Title: Re: FARM TANK - Slash Command Abbreviations
Post by: FarmTank on February 05, 2023, 06:27:49 PM
POST EDITED: Feb. 5, 2023

*Missing power exec commands added.

*Added Inspiration commands.
Title: Re: FARM TANK - Slash Command Abbreviations
Post by: FarmTank on February 10, 2023, 08:44:29 PM
Added inspiration combine and delete