Simple_spectr Posted August 11, 2016 Share Posted August 11, 2016 Hey! I deleted some race (and class) icons from charactercreate.xml (From Char create screen) so its worked fine until I'm not pressed create new character button. After I press this button, game showed to me random race+class. So, who know how to remove this randomize with xml\lua or dbc? (I've already tried all xml, lua and dbc and I couldn't find decision.) Link to comment Share on other sites More sharing options...
noc Posted August 11, 2016 Share Posted August 11, 2016 Have you changed your file CharacterCreate.lua ? Link to comment Share on other sites More sharing options...
Simple_spectr Posted August 11, 2016 Author Share Posted August 11, 2016 I tried to find something in charactercreate.xml, but I couldn't find it. Link to comment Share on other sites More sharing options...
noc Posted August 12, 2016 Share Posted August 12, 2016 The charactercreate.xml is only there for interfacing, the charactercreate.lua for management and other options . You must change your charactercreate.lua to manage classes and races that you want to use. Could you share your charactercreate.lua ? Link to comment Share on other sites More sharing options...
Simple_spectr Posted August 12, 2016 Author Share Posted August 12, 2016 Yep, take it CharacterCreate.lua Link to comment Share on other sites More sharing options...
wungasaurus Posted August 12, 2016 Share Posted August 12, 2016 Iirc that randomization is in the client. You can probably hack around it by registering some onshow event and emulating that the user clicked something to change the randomized choice. Link to comment Share on other sites More sharing options...
Simple_spectr Posted August 12, 2016 Author Share Posted August 12, 2016 9 minutes ago, wungasaurus said: Iirc that randomization is in the client. You can probably hack around it by registering some onshow event and emulating that the user clicked something to change the randomized choice. Sounds like pain Link to comment Share on other sites More sharing options...
noc Posted August 12, 2016 Share Posted August 12, 2016 Easier to see in : function CharacterCreate_Randomize() PlaySound("gsCharacterCreationLook"); RandomizeCharCustomization(); end Maybe with a local className = GetSelectedClass (); you could have the name of the class and do another CharacterCreate_Randomize (); if this corresponds to a prohibited class, the same with a local raceName = GetSelectedRace (); Quote function CharacterCreate_Randomize() PlaySound("gsCharacterCreationLook"); local GoodRaceClass = 0; while ( GoodRaceClass == 0 ) do RandomizeCharCustomization(); local raceName = GetSelectedRace (); local className = GetSelectedClass (); if ((className == "Good Class") and (raceName == "Good Race")) then GoodRaceClass = 1; end end end Something like that. Link to comment Share on other sites More sharing options...
Simple_spectr Posted August 12, 2016 Author Share Posted August 12, 2016 Mb you can create something like... Static position. For example, when you click on "Create new character", this button everytime show you only one class and race (human warrior for example) Link to comment Share on other sites More sharing options...
noc Posted August 12, 2016 Share Posted August 12, 2016 it depends on what you want to achieve in that case why not hide the button ? Link to comment Share on other sites More sharing options...
Simple_spectr Posted August 12, 2016 Author Share Posted August 12, 2016 Hide "Create New Character" button? But how players will be create characters? Link to comment Share on other sites More sharing options...
noc Posted August 12, 2016 Share Posted August 12, 2016 huuu. The creation random button of course. Link to comment Share on other sites More sharing options...
Simple_spectr Posted August 12, 2016 Author Share Posted August 12, 2016 Where is this creation rundom button? If Id knew where is this button Id deleted this Link to comment Share on other sites More sharing options...
noc Posted August 13, 2016 Share Posted August 13, 2016 I thought you were using the random button creating characters . Sorry. Do you change the CharBaseInfo.dbc ? Link to comment Share on other sites More sharing options...
Simple_spectr Posted August 13, 2016 Author Share Posted August 13, 2016 Nope I didnt change it. Link to comment Share on other sites More sharing options...
noc Posted August 13, 2016 Share Posted August 13, 2016 This defines availability of classes for the different races, you can have a look here : https://wowdev.wiki/DB/CharBaseInfo Link to comment Share on other sites More sharing options...
Simple_spectr Posted August 16, 2016 Author Share Posted August 16, 2016 Solved. Need to use charactercreate.lua Link to comment Share on other sites More sharing options...
Randomize race+class remove
By Simple_spectrin Interface
Recommended Posts