[Tutorial] How to have colors on your menu (LUA) menu

User Tag List

Results 1 to 12 of 12
  1. #1
    [pwn]age's Avatar Member
    Reputation
    56
    Join Date
    Jul 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Tutorial] How to have colors on your menu (LUA)

    Here is a guide on how to add colors to your npc menu.
    I will be showing you how to put color text on your menu without having to do c++ scripting.
    Its very simple.

    Menu->AddItem(0, "|cffff6060NameOfThePlace|r", 3);
    Notice the text in red?
    This is what you add into to change the color of the text.
    cffff6060 is the color of the text. Which is a bright red almost a pink.

    Here's another example.
    unit:GossipMenuAddItem(2, "|cFF00FFFFNothing Personal Mall", 4, 0)
    Notice after "Nothing Personal Mall" I didn't put a "lr"
    Well this is not needed to have color text.



    If you want to change the color so something different here is a list of different colors.

    Code:
    GREY "|cff888888"
    WHITE  "|cffffffff"
    SUBWHITE "|cffbbbbbb"
    MAGENTA  "|cffff00ff"
    YELLOW  "|cffffff00"
    CYAN   "|cff00ffff"
    LIGHTRED "|cffff6060"
    LIGHTBLUE  "|cff00ccff"
    BLUE  "|cff0000ff"
    GREEN  "|cff00ff00"
    RED  "|cffff0000"
    GOLD  "|cffffcc00"
    ALICEBLUE"|cFFF0F8FF"
    ANTIQUEWHITE"|cFFFAEBD7"
    AQUA  "|cFF00FFFF"
    AQUAMARINE  "|cFF7FFFD4"
    AZURE "|cFFF0FFFF"
    BEIGE "|cFFF5F5DC"
    BISQUE"|cFFFFE4C4"
    BLACK "|cFF000000"
    BLANCHEDALMOND "|cFFFFEBCD"
    BLUE  "|cFF0000FF"
    BLUEVIOLET  "|cFF8A2BE2"
    BROWN "|cFFA52A2A"
    BURLYWOOD"|cFFDEB887"
    CADETBLUE"|cFF5F9EA0"
    CHARTREUSE  "|cFF7FFF00"
    CHOCOLATE"|cFFD2691E"
    CORAL "|cFFFF7F50"
    CORNFLOWERBLUE "|cFF6495ED"
    CORNSILK "|cFFFFF8DC"
    CRIMSON  "|cFFDC143C"
    CYAN  "|cFF00FFFF"
    DARKBLUE "|cFF00008B"
    DARKCYAN "|cFF008B8B"
    DARKGOLDENROD  "|cFFB8860B"
    DARKGRAY "|cFFA9A9A9"
    DARKGREEN"|cFF006400"
    DARKKHAKI"|cFFBDB76B"
    DARKMAGENTA "|cFF8B008B"
    DARKOLIVEGREEN "|cFF556B2F"
    DARKORANGE  "|cFFFF8C00"
    DARKORCHID  "|cFF9932CC"
    DARKRED  "|cFF8B0000"
    DARKSALMON  "|cFFE9967A"
    DARKSEAGREEN"|cFF8FBC8B"
    DARKSLATEBLUE  "|cFF483D8B"
    DARKSLATEGRAY  "|cFF2F4F4F"
    DARKTURQUOISE  "|cFF00CED1"
    DARKVIOLET  "|cFF9400D3"
    DEEPPINK "|cFFFF1493"
    DEEPSKYBLUE "|cFF00BFFF"
    DIMGRAY  "|cFF696969"
    DODGERBLUE  "|cFF1E90FF"
    FIREBRICK"|cFFB22222"
    FLORALWHITE "|cFFFFFAF0"
    FORESTGREEN "|cFF228B22"
    FUCHSIA  "|cFFFF00FF"
    GAINSBORO"|cFFDCDCDC"
    GHOSTWHITE  "|cFFF8F8FF"
    GOLD  "|cFFFFD700"
    GOLDENROD"|cFFDAA520"
    GRAY  "|cFF808080"
    GREEN "|cFF008000"
    GREENYELLOW "|cFFADFF2F"
    HONEYDEW "|cFFF0FFF0"
    HOTPINK  "|cFFFF69B4"
    INDIANRED"|cFFCD5C5C"
    INDIGO"|cFF4B0082"
    IVORY "|cFFFFFFF0"
    KHAKI "|cFFF0E68C"
    LAVENDER "|cFFE6E6FA"
    LAVENDERBLUSH  "|cFFFFF0F5"
    LAWNGREEN"|cFF7CFC00"
    LEMONCHIFFON"|cFFFFFACD"
    LIGHTBLUE"|cFFADD8E6"
    LIGHTCORAL  "|cFFF08080"
    LIGHTCYAN"|cFFE0FFFF"
    LIGHTGRAY"|cFFD3D3D3"
    LIGHTGREEN  "|cFF90EE90"
    LIGHTPINK"|cFFFFB6C1"
    LIGHTRED "|cFFFF6060"
    LIGHTSALMON "|cFFFFA07A"
    LIGHTSEAGREEN  "|cFF20B2AA"
    LIGHTSKYBLUE"|cFF87CEFA"
    LIGHTSLATEGRAY "|cFF778899"
    LIGHTSTEELBLUE "|cFFB0C4DE"
    LIGHTYELLOW "|cFFFFFFE0"
    LIME  "|cFF00FF00"
    LIMEGREEN"|cFF32CD32"
    LINEN "|cFFFAF0E6"
    MAGENTA  "|cFFFF00FF"
    MAROON"|cFF800000"
    MEDIUMAQUAMARINE  "|cFF66CDAA"
    MEDIUMBLUE  "|cFF0000CD"
    MEDIUMORCHID"|cFFBA55D3"
    MEDIUMPURPLE"|cFF9370DB"
    MEDIUMSEAGREEN "|cFF3CB371"
    MEDIUMSLATEBLUE"|cFF7B68EE"
    MEDIUMSPRINGGREEN "|cFF00FA9A"
    MEDIUMTURQUOISE"|cFF48D1CC"
    MEDIUMVIOLETRED"|cFFC71585"
    MIDNIGHTBLUE"|cFF191970"
    MINTCREAM"|cFFF5FFFA"
    MISTYROSE"|cFFFFE4E1"
    MOCCASIN "|cFFFFE4B5"
    NAVAJOWHITE "|cFFFFDEAD"
    NAVY  "|cFF000080"
    OLDLACE  "|cFFFDF5E6"
    OLIVE "|cFF808000"
    OLIVEDRAB"|cFF6B8E23"
    ORANGE"|cFFFFA500"
    ORANGERED"|cFFFF4500"
    ORCHID"|cFFDA70D6"
    PALEGOLDENROD  "|cFFEEE8AA"
    PALEGREEN"|cFF98FB98"
    PALETURQUOISE  "|cFFAFEEEE"
    PALEVIOLETRED  "|cFFDB7093"
    PAPAYAWHIP  "|cFFFFEFD5"
    PEACHPUFF"|cFFFFDAB9"
    PERU  "|cFFCD853F"
    PINK  "|cFFFFC0CB"
    PLUM  "|cFFDDA0DD"
    POWDERBLUE  "|cFFB0E0E6"
    PURPLE"|cFF800080"
    RED"|cFFFF0000"
    ROSYBROWN"|cFFBC8F8F"
    ROYALBLUE"|cFF4169E1"
    SADDLEBROWN "|cFF8B4513"
    SALMON"|cFFFA8072"
    SANDYBROWN  "|cFFF4A460"
    SEAGREEN "|cFF2E8B57"
    SEASHELL "|cFFFFF5EE"
    SIENNA"|cFFA0522D"
    SILVER"|cFFC0C0C0"
    SKYBLUE  "|cFF87CEEB"
    SLATEBLUE"|cFF6A5ACD"
    SLATEGRAY"|cFF708090"
    SNOW  "|cFFFFFAFA"
    SPRINGGREEN "|cFF00FF7F"
    STEELBLUE"|cFF4682B4"
    TAN"|cFFD2B48C"
    TEAL  "|cFF008080"
    THISTLE  "|cFFD8BFD8"
    TOMATO"|cFFFF6347"
    TRANSPARENT "|c00FFFFFF"
    TURQUOISE"|cFF40E0D0"
    VIOLET"|cFFEE82EE"
    WHEAT "|cFFF5DEB3"
    WHITE "|cFFFFFFFF"
    WHITESMOKE  "|cFFF5F5F5"
    YELLOW"|cFFFFFF00"
    YELLOWGREEN "|cFF9ACD32"

    Credits go to Skreem of ac-web
    Original post : http://www.ac-web.org/forums/tutoria...-menu-lua.html
    Last edited by [pwn]age; 07-18-2009 at 10:36 AM.

    [Tutorial] How to have colors on your menu (LUA)
  2. #2
    Xcynic's Avatar Contributor
    Reputation
    252
    Join Date
    Jul 2007
    Posts
    359
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah nice, I like this + rep

  3. #3
    [pwn]age's Avatar Member
    Reputation
    56
    Join Date
    Jul 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks , its always nice to add color to things

  4. #4
    darkwiz787's Avatar Member
    Reputation
    35
    Join Date
    Mar 2009
    Posts
    250
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shove a +Rep Cookie down your throat.

  5. #5
    [pwn]age's Avatar Member
    Reputation
    56
    Join Date
    Jul 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    he, so brutal :P

  6. #6
    hosterr's Avatar Member
    Reputation
    0
    Join Date
    Aug 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just what i was searching for ages of this! tnx for the guide + rep

  7. #7
    Lynie's Avatar Contributor
    Reputation
    87
    Join Date
    Mar 2008
    Posts
    74
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you can also choose your own color which is not in the list by looking up the hex color(RGB-to-Hex Color Converter) and adding the prefix |cff

    Anyways good work

    +Rep

  8. #8
    [pwn]age's Avatar Member
    Reputation
    56
    Join Date
    Jul 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks . glad this helped

  9. #9
    onesbronson's Avatar Member
    Reputation
    7
    Join Date
    Aug 2007
    Posts
    142
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you mother ****er ,give the dam credits to Skreem of ac-web he posted this way before u did ,and you completley ripped it from him ****ing dick head
    [Tutorial] How to have colors on your menu (LUA) - AC Web

    **** i wanna cock smack you

  10. #10
    Skreem's Avatar Sergeant
    Reputation
    17
    Join Date
    Apr 2007
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Umm thanks for giving me credit for my post.. You completly ripped this off from me. I do not mind if people post my work, but they need to atleast give credit to me.
    I will be requesting for a mod to take this post down... Or just simply give me credit for my post....

  11. #11
    [pwn]age's Avatar Member
    Reputation
    56
    Join Date
    Jul 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    edited for credits. and onesbronson. stfu and dont be a dick

  12. #12
    Hellgawd's Avatar Account not activated by Email
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shame for ripping!
    For those that don't know, this is just standard C++-colors, just like seen in the core;

Similar Threads

  1. [Tutorial] [Tutorial] How to Script a Phased Boss With LUA.
    By Dimarxx in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 07-26-2010, 05:06 AM
  2. TRUE Custom Object Tutorial [ How to find your own displayids! ]
    By Flame_Warrior in forum WoW EMU Guides & Tutorials
    Replies: 53
    Last Post: 03-18-2009, 03:22 AM
  3. How do I color the menu options of a C++ warp NPC?
    By CodeDemon in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 10-21-2008, 08:20 PM
  4. [Tutorial]How to use your Buddy Key (w/o a CC)
    By Sychotix in forum Age of Conan Exploits|Hacks
    Replies: 8
    Last Post: 08-03-2008, 01:30 PM
  5. How to have your action bars for glider,
    By yanbo in forum World of Warcraft Bots and Programs
    Replies: 11
    Last Post: 05-24-2008, 03:51 PM
All times are GMT -5. The time now is 06:40 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search