Disabling Races menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Disabling Races

    Hey there! I'm looking to create a server where only humans are playable and I would like all the other races in the interface disabled so they can only choose humans.Does anyone know how I can do that!?

    Thanks a lot!

    Disabling Races
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Disable the other buttons in the interface by making modifications to the Lua in GlueXML\CharacterCreate.lua. Also disable it server side to prevent exploitation.

  3. #3
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Disable the other buttons in the interface by making modifications to the Lua in GlueXML\CharacterCreate.lua. Also disable it server side to prevent exploitation.
    So I have the file open but I don't know where I go to disable it! do I just remove these...?

    RACE_ICON_TCOORDS = {
    ["HUMAN_MALE"] = {0, 0.125, 0, 0.25},
    ["DWARF_MALE"] = {0.125, 0.25, 0, 0.25},
    ["GNOME_MALE"] = {0.25, 0.375, 0, 0.25},
    ["NIGHTELF_MALE"] = {0.375, 0.5, 0, 0.25},

    ["TAUREN_MALE"] = {0, 0.125, 0.25, 0.5},
    ["SCOURGE_MALE"] = {0.125, 0.25, 0.25, 0.5},
    ["TROLL_MALE"] = {0.25, 0.375, 0.25, 0.5},
    ["ORC_MALE"] = {0.375, 0.5, 0.25, 0.5},

    ["HUMAN_FEMALE"] = {0, 0.125, 0.5, 0.75},
    ["DWARF_FEMALE"] = {0.125, 0.25, 0.5, 0.75},
    ["GNOME_FEMALE"] = {0.25, 0.375, 0.5, 0.75},
    ["NIGHTELF_FEMALE"] = {0.375, 0.5, 0.5, 0.75},

    ["TAUREN_FEMALE"] = {0, 0.125, 0.75, 1.0},
    ["SCOURGE_FEMALE"] = {0.125, 0.25, 0.75, 1.0},
    ["TROLL_FEMALE"] = {0.25, 0.375, 0.75, 1.0},
    ["ORC_FEMALE"] = {0.375, 0.5, 0.75, 1.0},

    ["TUSKARR_MALE"] = {0.625, 0.75, 0, 0.25},
    ["TUSKARR_FEMALE"] = {0.625, 0.75, 0.5, 0.75},

    ["BLOODELF_MALE"] = {0.5, 0.625, 0.25, 0.5},
    ["BLOODELF_FEMALE"] = {0.5, 0.625, 0.75, 1.0},

    ["DRAENEI_MALE"] = {0.5, 0.625, 0, 0.25},
    ["DRAENEI_FEMALE"] = {0.5, 0.625, 0.5, 0.75},

    ["GOBLIN_MALE"] = {0.625, 0.750, 0.25, 0.5},
    ["GOBLIN_FEMALE"] = {0.625, 0.750, 0.75, 1.0},

    ["WORGEN_MALE"] = {0.625, 0.750, 0, 0.25},
    ["WORGEN_FEMALE"] = {0.625, 0.750, 0.5, 0.75},

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xmaily View Post
    So I have the file open but I don't know where I go to disable it! do I just remove these...?

    RACE_ICON_TCOORDS = {
    ["HUMAN_MALE"] = {0, 0.125, 0, 0.25},
    ["DWARF_MALE"] = {0.125, 0.25, 0, 0.25},
    ["GNOME_MALE"] = {0.25, 0.375, 0, 0.25},
    ["NIGHTELF_MALE"] = {0.375, 0.5, 0, 0.25},

    ["TAUREN_MALE"] = {0, 0.125, 0.25, 0.5},
    ["SCOURGE_MALE"] = {0.125, 0.25, 0.25, 0.5},
    ["TROLL_MALE"] = {0.25, 0.375, 0.25, 0.5},
    ["ORC_MALE"] = {0.375, 0.5, 0.25, 0.5},

    ["HUMAN_FEMALE"] = {0, 0.125, 0.5, 0.75},
    ["DWARF_FEMALE"] = {0.125, 0.25, 0.5, 0.75},
    ["GNOME_FEMALE"] = {0.25, 0.375, 0.5, 0.75},
    ["NIGHTELF_FEMALE"] = {0.375, 0.5, 0.5, 0.75},

    ["TAUREN_FEMALE"] = {0, 0.125, 0.75, 1.0},
    ["SCOURGE_FEMALE"] = {0.125, 0.25, 0.75, 1.0},
    ["TROLL_FEMALE"] = {0.25, 0.375, 0.75, 1.0},
    ["ORC_FEMALE"] = {0.375, 0.5, 0.75, 1.0},

    ["TUSKARR_MALE"] = {0.625, 0.75, 0, 0.25},
    ["TUSKARR_FEMALE"] = {0.625, 0.75, 0.5, 0.75},

    ["BLOODELF_MALE"] = {0.5, 0.625, 0.25, 0.5},
    ["BLOODELF_FEMALE"] = {0.5, 0.625, 0.75, 1.0},

    ["DRAENEI_MALE"] = {0.5, 0.625, 0, 0.25},
    ["DRAENEI_FEMALE"] = {0.5, 0.625, 0.5, 0.75},

    ["GOBLIN_MALE"] = {0.625, 0.750, 0.25, 0.5},
    ["GOBLIN_FEMALE"] = {0.625, 0.750, 0.75, 1.0},

    ["WORGEN_MALE"] = {0.625, 0.750, 0, 0.25},
    ["WORGEN_FEMALE"] = {0.625, 0.750, 0.5, 0.75},
    No... If you want to modify a game as big and complicated as WoW I suggest you learn programming.

    You want to look at the enumeration function inside the Lua file. It selects and displays icons based on information it retrieves. Change this behaviour.

  5. #5
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So if I wanted to totally get rid of every char icon and class icon other then human paladins (like completely removing it off the Login Screen) then I would edit the char create.xtml right?

  6. #6
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xmaily View Post
    So if I wanted to totally get rid of every char icon and class icon other then human paladins (like completely removing it off the Login Screen) then I would edit the char create.xtml right?
    XML or Lua yes. If XML approach you need to keep the DBC consistent.

  7. #7
    Xmaily's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So I can use both to remove them? Like for example say if I totally wanted to remove say the Warlock button what would I remove in the .lua file? Sorry I have never tried playing around with interface stuff before!!

  8. #8
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xmaily View Post
    So I can use both to remove them? Like for example say if I totally wanted to remove say the Warlock button what would I remove in the .lua file? Sorry I have never tried playing around with interface stuff before!!
    Look at the code. Read the code. Change the code or implement your own as necessary, there are many different ways to do this. And Character Creation is so delicate that if you do not know what you are doing the client will end up just crashing.

Similar Threads

  1. How to disable races
    By Jdeus in forum WoW EMU Questions & Requests
    Replies: 8
    Last Post: 09-19-2009, 03:49 PM
  2. Official New Alliance Race for World of Warcraft
    By Matt in forum World of Warcraft General
    Replies: 18
    Last Post: 11-27-2006, 07:25 PM
  3. CUSTOM RACE TO RACE model conversion now avaible, request here!
    By bloodofwar in forum World of Warcraft Model Editing
    Replies: 13
    Last Post: 08-22-2006, 04:20 PM
  4. Custom RACE to RACE conversion now avable! request here!
    By bloodofwar in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 08-20-2006, 09:17 PM
  5. Favourite Class and Race
    By Simy in forum World of Warcraft General
    Replies: 13
    Last Post: 07-12-2006, 08:55 PM
All times are GMT -5. The time now is 09:08 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search