Jump to content

Remove all class icons

By Смердокрыл
in Interface

Recommended Posts

Hey!

The task is simple: remove all class icons from the character creation screen (technically, it will be one default class that everyone will have). But the problem is that Cataclysm client xml files look nothing like the WotLK's, at least judging by the tutorials on editing those.

Could anyone help?

or not


 skarnnoggitlogpost.thumb.jpg.d752b4e8541

Link to comment
Share on other sites

As long as you don't want to use other classes you can at least delete race-class combinations from DBC (CharBaseInfo.dbc in WotLK). This won't actually hide unused classes from UI, but it will at least disable their creation, so they will be gray. Temporary solution which I would call good enough, but if you really want to delete those icons entirely or don't want to disable another race-class combinations, then you'll need to edit that XML and thats probably not something I can help you with.

English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

I am now completely retired from modding. I am still reading PMs and reacting to them, however, I am not keeping up to date with what is going on in the community and my ability to help you is becoming very limited - I no longer remember some things, I don't have tools installed anymore, and I don't know what is up to date nowadays.

Link to comment
Share on other sites

  • 3 weeks later...

If you need to remove class buttons from CharacterCreate, you are gonna need to remove the classes in ChrClasses.dbc aswell. CharacterCreate needs a button for every class, so it can automatically add stuff like names and descriptions.

Link to comment
Share on other sites

14 hours ago, Ghaster said:

If you need to remove class buttons from CharacterCreate, you are gonna need to remove the classes in ChrClasses.dbc aswell. CharacterCreate needs a button for every class, so it can automatically add stuff like names and descriptions.

If I'm not allowed to actually delete the icons, I'll just move them outside of the visible screen

2 hours ago, Ghaster said:

You could, but depending on what classes he want to remove, there are gonna be gaps between some classes.

I can adjust their position, can't I?

 

But I thought there's a certain problem with loading worgen, since all the races above are shown properly. Am I wrong?

or not


 skarnnoggitlogpost.thumb.jpg.d752b4e8541

Link to comment
Share on other sites

I moved the class icons instead of deleting them, but it didn't work.

The error is in line 3 of the following code (_G["CharacterCreateRaceButton"..index.."NormalTexture"].........)

for i=1, select("#", ...), 3 do
	coords = RACE_ICON_TCOORDS[strupper(select(i+1, ...).."_"..gender)];
	_G["CharacterCreateRaceButton"..index.."NormalTexture"]:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
	_G["CharacterCreateRaceButton"..index.."PushedTexture"]:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
	button = _G["CharacterCreateRaceButton"..index];
	button:Show();
	if ( select(i+2, ...) == 1 ) then
		button:Enable();
		SetButtonDesaturated(button);
		button.name = select(i, ...)
		button.tooltip = select(i, ...);
	else
		button:Disable();
		SetButtonDesaturated(button, 1);
		button.name = select(i, ...)
		button.tooltip = select(i, ...).."|n".._G[strupper(select(i+1, ...).."_".."DISABLED")];
	end
	index = index + 1;
end

 

or not


 skarnnoggitlogpost.thumb.jpg.d752b4e8541

Link to comment
Share on other sites

  • 5 years later...
On 11/19/2021 at 9:15 AM, yuan said:

Hello everyone, I have the same needs, how does the WLK version hide the career selection button?

the career selection button?

U mean races or classes? If u mean classes and u are using wotlk, u can do as amorath said in the second post.

Delete the combinations u dislike in charbaseinfo.dbc and this should disable the creation of those race / class combinations.

Link to comment
Share on other sites

3 minutes ago, Furioz said:

the career selection button?

U mean races or classes? If u mean classes and u are using wotlk, u can do as amorath said in the second post.

Delete the combinations u dislike in charbaseinfo.dbc and this should disable the creation of those race / class combinations.

 

I just want to hide the classes when creating a character

CharacterCreate.xml

CharacterCreate.lua

This is the interface file I use, can you help me see it?

Link to comment
Share on other sites

Just now, Furioz said:

all the classes ? ?

I dont think this would be an option, a class is needed in wotlk

Yes, there is a default class for all races, I just wanted to hide it in the interface so it doesn't look like I need to select a class  

Link to comment
Share on other sites

3 minutes ago, yuan said:

Yes, there is a default class for all races, I just wanted to hide it in the interface so it doesn't look like I need to select a class  

What is the class id of this class in ChrClasses.dbc?

If i know that one i'll make an adjusted CharBaseInfo.dbc for u. That should do the trick

Link to comment
Share on other sites

1 minute ago, Furioz said:

What is the class id of this class in ChrClasses.dbc?

If i know that one i'll make an adjusted CharBaseInfo.dbc for u. That should do the trick

The only profession of all races is Druid, ID=11

I am currently only allowed to use occupations of all races: Druid

 

 

Link to comment
Share on other sites

This should do the trick.

ONLY REPLACE THESE FILES IN UR CLIENT PATCH, DO NOT MOVE THEM IN UR SERVER DBC FOLDER!


I deleted the entries that dindt match what u want in charbaseinfo so all races with class id 11. This disables all other class combiantions for all races.

I also deleted the classes from chrclasses.dbc, this disabled the class options and buttons in the client.

AGAIN only leave these dbc files in ur patch, do not place them in ur server. Chrclasses will probably crash ur startup because it's missing the needed classes for wotlk to work with. The client just misses the info so it cant display it, server can still handle the disabled options if needed.
 

 

CharBaseInfo.dbc

ChrClasses.dbc

Link to comment
Share on other sites

4 minutes ago, Furioz said:

This should do the trick.

ONLY REPLACE THESE FILES IN UR CLIENT PATCH, DO NOT MOVE THEM IN UR SERVER DBC FOLDER!


I deleted the entries that dindt match what u want in charbaseinfo so all races with class id 11. This disables all other class combiantions for all races.

I also deleted the classes from chrclasses.dbc, this disabled the class options and buttons in the client.
 

 

CharBaseInfo.dbc

ChrClasses.dbc

image.thumb.png.30a4480d177fcdcb9c770f371fa1e7a6.png 

This solution is not optimal,

You can hide some CheckButtons in CharacterCreate.xml and use CharCreateClassButton1 of the class to achieve the effect

Link to comment
Share on other sites

×
×
  • Create New...