• Welcome to Freedom Reborn Archive.
 

Bind help

Started by Uncle Yuan, March 20, 2007, 08:01:16 PM

Previous topic - Next topic

Uncle Yuan

So I have a toon that I just created a street clothes "costume" for, and I'm thinking a bind to switch back and forth to his costume would be cool.  I'm thinking of  - activate power name Slash, say "corny phrase", switch to costume slot "x".  And if things work like I think they do, I should be able to repeat the strings with "corny phrase 2" and swtich to costume slot "y" to toggle back (within the costume switch time limit).

Any good bind syntaxians willing to take a crack at this?

captainspud

/bind KEY "powexec_name Slash$$local CORNY PHRASE$$cc SLOTNUMBER"

Uncle Yuan

I'll give it a whirl!  Thanks CS!

For the costume slot, all I need is the actual number - "cc 2" will get me the costume in slot 2?

BlueBard

Cool!  This is exactly what I needed to know!

captainspud

cc 2 gives you slot 3. The first slot is labelled 0.

Raptor

One issue people have with doing costume changes this way is that all 3 things happen exactly at the same time, so the power's animation delay actually causes the costume change to happen before the power is executed. 

A work around that people have found is to bind the corny saying and power activation to the key you want, but to bind the actual costume change to the RELEASE of the same key.  So you manually hold your chosen key down until your power's animation is in full swing and then release it for the costume change.

I have not done this personally, so I have no clue how to bind to the release of a key,  but I know its being done.

captainspud

Binding to release works like this:

/bind KEY "powexec_name Slash$$local CORNY PHRASE$$+cc SLOTNUMBER"

It's either one or two plus signs (each does something different, I can't remember which is "on release").

Uncle Yuan

While we're on the subject, what is the bind command for a particular emote?  (I may use an emote rather than a power activation with this depending on how the power activation looks.)


What I'd really like is to have an emote where he lifts his sword over his head.  Then I could have him cry "By the power of Greyskull" and switch into his costume!  :cool:

Stopman

Bind commands separated by $$ execute in reverse order first. So write is like this:

/bind KEY "cc SLOTNUMBER$$powexec_name Slash$$local CORNY PHRASE"

BlueBard

It's /emote emotename (or just /em emotename).  There's another shortcut key for chat, don't recall what it is, but it's recommended to use the full command in a bind to avoid issues.

You can also emote 'phrases' as thought bubbles, like "I'm thinking".

So you'd do something like:    /bind KEY "emote raisehand$$say By the power of Greyskull!$$cc 1"

or:                                     /bind KEY "emote Does this outfit make me look fat?$$cc 1"

I don't know if raisehand is a valid emote name, just threw that in there.  I'll have to try the key release thing.

Camma

Quote from: BlueBard on March 21, 2007, 12:42:10 PM
There's another shortcut key for chat, don't recall what it is

It's ;

Quote from: BlueBard on March 21, 2007, 12:42:10 PMbut it's recommended to use the full command in a bind to avoid issues.

;agrees  ;)

Verfall

Quote from: Uncle Yuan on March 21, 2007, 12:28:13 PM
While we're on the subject, what is the bind command for a particular emote?  (I may use an emote rather than a power activation with this depending on how the power activation looks.)


What I'd really like is to have an emote where he lifts his sword over his head.  Then I could have him cry "By the power of Greyskull" and switch into his costume!  :cool:

Actually having a weapon drawn causes problems with emotes. often they'll start to animate, than get immediately interrupted, since having a weapon drawn keeps you in the "ready" emote, which overrides most emotes. For example, after you immediately kill a mob, try to sit down. You'll start the animation, but right away you'll be interrupted and will go back to the ready pose.

MyndVizion

There is a "cheer" type of emote that works with a sword in hand nicely. Basically the toon raises both arms above their head and pumps both hands - as though cheering.  It's not a single sword arm raise for something like He-Man but it might work well for what you're looking for.

Uncle Yuan

I was actually considering using an emote instead of the power animation, but the cheer thing sounds cool.  I'll see if I can make that work!

Uncle Yuan

Quote from: captainspud on March 21, 2007, 12:09:54 PM
Binding to release works like this:

/bind KEY "powexec_name Slash$$local CORNY PHRASE$$+cc SLOTNUMBER"

It's either one or two plus signs (each does something different, I can't remember which is "on release").

Thus plus sign thing doesn't seem to work - I get some error message about args