Macro question: costume change


Father Xmas

 

Posted

Hello all,

Does anyone knows how I should write a macro to execute a costume change ?

ie: I click the macro and change to costume slot 0 using EnergyMorph emote.


Thanks very much for the help.


 

Posted

Thanks !!!


 

Posted

I'm sure there's going to be a good way to use the command (I forget the name) that creates a pop-up list for that, too, so that you hit the macro, and select which cossie and emote you want from the list. Useful if you only use a subset of the cossie change emotes.


The wisdom of Shadowe: Ghostraptor: The Shadowe is wise ...; FFM: Shadowe is no longer wise. ; Techbot_Alpha: Also, what Shadowe said. It seems he is still somewhat wise ; Bull Throttle: Shadowe was unwise in this instance...; Rock_Powerfist: in this instance Shadowe is wise.; Techbot_Alpha: Shadowe is very wise *nods*; Zortel: *Quotable line about Shadowe being wise goes here.*

 

Posted

Quote:
Originally Posted by Shadowe View Post
I'm sure there's going to be a good way to use the command (I forget the name) that creates a pop-up list for that, too, so that you hit the macro, and select which cossie and emote you want from the list. Useful if you only use a subset of the cossie change emotes.
Is it ever!! Although I have all of the possible costume change emotes in the file.

If you create a file with the extension .mnu and put it in the last directory in the following directory tree... you will be able to call it up in-game via the "popmenu" command.

C:\Program Files\City of Heroes\data\texts\English\Menus

Once you have the .mnu file in that directory, you can use the following slash command to create a macro that calls up the popmenu (I used the file name Costumes1.mnu in the example below):

/macro CC "popmenu Costumes1"

What follows is the Costume menu I am currently using for the popmenu command:

Code:
//POPMENU file for Costume Change Emotes
//
Menu "Costumes1"
{
    Title "Costume Changes"
    Divider
    Title "Standard"
    Menu "Backflip"
    {
        Option "&1" "cce 0 ccbackflip"
        Option "&2" "cce 1 ccbackflip"
        Option "&3" "cce 2 ccbackflip"
        Option "&4" "cce 3 ccbackflip"
        Option "&5" "cce 4 ccbackflip"
    }
    Menu "Salute"
    {
        Option "&1" "cce 0 ccsalute"
        Option "&2" "cce 1 ccsalute"
        Option "&3" "cce 2 ccsalute"
        Option "&4" "cce 3 ccsalute"
        Option "&5" "cce 4 ccsalute"                
    }
    Menu "Howl"
    {                    
        Option "&1" "cce 0 cchowl"
        Option "&2" "cce 1 cchowl"
        Option "&3" "cce 2 cchowl"
        Option "&4" "cce 3 cchowl"
        Option "&5" "cce 4 cchowl"
    }
    Menu "Evil Laugh"
    {
        Option "&1" "cce 0 ccevillaugh"
        Option "&2" "cce 1 ccevillaugh"
        Option "&3" "cce 2 ccevillaugh"
        Option "&4" "cce 3 ccevillaugh"
        Option "&5" "cce 4 ccevillaugh"
    }
    Menu "No Emote"
    {
        Option "&1" "cc 0"
        Option "&2" "cc 1"
        Option "&3" "cc 2"
        Option "&4" "cc 3"
        Option "&5" "cc 4"
    }
    Title "Magic"
    Menu "Cast"
    {
        Option "&1" "cce 0 cccast"
        Option "&2" "cce 1 cccast"
        Option "&3" "cce 2 cccast"
        Option "&4" "cce 3 cccast"
        Option "&5" "cce 4 cccast"
    }
    Menu "Spin"
    {
        Option "&1" "cce 0 ccspin"
        Option "&2" "cce 1 ccspin"
        Option "&3" "cce 2 ccspin"
        Option "&4" "cce 3 ccspin"
        Option "&5" "cce 4 ccspin"
    }
    Menu "Lightning"
    {
        Option "&1" "cce 0 cclightning"
        Option "&2" "cce 1 cclightning"
        Option "&3" "cce 2 cclightning"
        Option "&4" "cce 3 cclightning"
        Option "&5" "cce 4 cclightning"
    }
    Menu "Presto Chango"
    {
        Option "&1" "cce 0 ccprestochango"
        Option "&2" "cce 1 ccprestochango"
        Option "&3" "cce 2 ccprestochango"
        Option "&4" "cce 3 ccprestochango"
        Option "&5" "cce 4 ccprestochango"
    }
    Title "Mutant"
    Menu "Dimension Shift"
    {
        Option "&1" "cce 0 ccdimensionshift"
        Option "&2" "cce 1 ccdimensionshift"
        Option "&3" "cce 2 ccdimensionshift"
        Option "&4" "cce 3 ccdimensionshift"
        Option "&5" "cce 4 ccdimensionshift"
    }
    Menu "Energy Morph"
    {
        Option "&1" "cce 0 ccenergymorph"
        Option "&2" "cce 1 ccenergymorph"
        Option "&3" "cce 2 ccenergymorph"
        Option "&4" "cce 3 ccenergymorph"
        Option "&5" "cce 4 ccenergymorph"
    }
    Menu "Rapid Boil"
    {
        Option "&1" "cce 0 ccrapidboil"
        Option "&2" "cce 1 ccrapidboil"
        Option "&3" "cce 2 ccrapidboil"
        Option "&4" "cce 3 ccrapidboil"
        Option "&5" "cce 4 ccrapidboil"
    }
    Title "Science"
    Menu "Drink Formula"
    {
        Option "&1" "cce 0 ccdrinkformula"
        Option "&2" "cce 1 ccdrinkformula"
        Option "&3" "cce 2 ccdrinkformula"
        Option "&4" "cce 3 ccdrinkformula"
        Option "&5" "cce 4 ccdrinkformula"
    }
    Menu "Super Serum"
    {
        Option "&1" "cce 0 ccsuperserum"
        Option "&2" "cce 1 ccsuperserum"
        Option "&3" "cce 2 ccsuperserum"
        Option "&4" "cce 3 ccsuperserum"
        Option "&5" "cce 4 ccsuperserum"
    }
    Title "Ninja"
    Menu "Ninja Leap"
    {
        Option "&1" "cce 0 ccninjajump"
        Option "&2" "cce 1 ccninjajump"
        Option "&3" "cce 2 ccninjajump"
        Option "&4" "cce 3 ccninjajump"
        Option "&5" "cce 4 ccninjajump"
    }
    Menu "Smoke Bomb"
    {
        Option "&1" "cce 0 ccsmokebomb"
        Option "&2" "cce 1 ccsmokebomb"
        Option "&3" "cce 2 ccsmokebomb"
        Option "&4" "cce 3 ccsmokebomb"
        Option "&5" "cce 4 ccsmokebomb"
    }
    Title "Special"
    Menu "Peacebringer"
    {
        Option "&1" "cce 0 ccpeacebringer"
        Option "&2" "cce 1 ccpeacebringer"
        Option "&3" "cce 2 ccpeacebringer"
        Option "&4" "cce 3 ccpeacebringer"
        Option "&5" "cce 4 ccpeacebringer"
    }
    Menu "Warshade"
    {
        Option "&1" "cce 0 ccwarshade"
        Option "&2" "cce 1 ccwarshade"
        Option "&3" "cce 2 ccwarshade"
        Option "&4" "cce 3 ccwarshade"
        Option "&5" "cce 4 ccwarshade"
    }
    Menu "Vanguard Sigil"
    {
        Option "&1" "cce 0 ccvanguardsigil"
        Option "&2" "cce 1 ccvanguardsigil"
        Option "&3" "cce 2 ccvanguardsigil"
        Option "&4" "cce 3 ccvanguardsigil"
        Option "&5" "cce 4 ccvanguardsigil"
    }
        
}



 

Posted

Quote:
Originally Posted by Father Xmas View Post
Show off.
I suppose just a little...