This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Disabling Races - Replacing Races  (Read 2003 times)

Gypser

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Disabling Races - Replacing Races
« on: December 28, 2015, 05:02:48 pm »
Hello. Is it possible to completely remove races from character creation screen?
((I'm using Trinitycore WotLK 3.3.5))

Not just gray them out, but remove their icon so players can't even see the option to create a restricted race?


Also, would it instead be possible to overwrite existing race slots? Could I change the draenei race slot to goblins or something else? Instead of Draenei being an option on the character creation screen, it'd be "Goblins" with a new UI, information, and etc.

And I mean not changing the Draenei race as a whole. Just the race slot in character screen. So there'd still be Draenei ingame. (Meaning I don't intend to do this the easy way and just perform a model swap)

Thanks
~Gypser
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Disabling Races - Replacing Races
« Reply #1 on: December 28, 2015, 05:42:29 pm »
Replace in ChrRaces those races you consider "obsolete" with the races you want.
Modify all the related Char* dbcs to fit your needs AND be properly done.

Removing icons is LUA, glueXML to be exact.
Everything pre-game interface is glueXML(Loginscreen, etc.); FrameXML is everything past that (UI, etc.)


Everyone needs the modified data in a .MPQ File. On core, you might or might not have to modify certain values. Not by much, though. Expect for adding completely new races, you might want to consider disabling races in the config and removing their icon. Possibly modify the Error-Message displayed in the GlobalString.Lua (I forgot it's name).

It might sound a lot, but it's far more rough copy and paste for adding new races from newer expansions (somewhat) and maintaining proper setup, e.g. sounds, etc.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

spiderwaseem

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 154
    • View Profile
    • http://anarchy-wow.com/
Re: Disabling Races - Replacing Races
« Reply #2 on: January 11, 2016, 09:13:19 am »
To disable a race from being playable, edit 'ChrRaces.dbc' and set the first column to 0.
Disabling a race's icon to be grayed out, edit 'CharBaseInfo.dbc'.
Simply go down to the race ID and remove it from all classes. It goes by 'raceID, classID'.

To completely take out the race icons themselves from the Character Creation screen, (I think editing ChrRaces.dbc should do that, but I'm not sure, so keep reading...), you'd need to go into your patch files to the following path: InterfaceGlueXMLCharacterCreate.xml.
Within that file, you can remove where the icons are at.
I'm not on my home PC, I can't see the files atm to tell you exactly how it would look like and what exactly to edit.
When I come back home, I'll edit this post with more information.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »