Disable Gargoyle / Elf Races

Lif

Member
Sep 30, 2016
6
1
32
Hi,

I'm just wondering if there is any "easy" way to disable the gargoyle / elf races? I'm using the 7.0.15.1 client, and so they're part of the gump. How can I disable without having to just make them humans as default when entering the game?
 

Ravenwolfe

Moderator
ServUO Developer
Sep 7, 2013
1,164
136
Texas
www.ultimaonlinephoenix.com
Shard Name
UO Phoenix
Couple of ways, each has problems...

1. Set expansion to older than SA. They will still see gargoyles but will not be able to pick them.

2. Use an older client before gargoyles. People will not see the gargoyle gump and cannot choose it. However, they need the same version client.

3. Modify the client. Not easy to do, and have to distribute it to your players.

4. Disable the races in charactercreation.cs. They will still be able to pick gargoyle but when they enter the game, they will be humans.
 
  • Like
Reactions: Lif

Anomaly

Well-Known Member
Mar 9, 2014
47
5
29
Augusta, Georgia
Shard Name
Elanmire
So, the easiest way would be to state that you only support humans... and to further enforce that, have a moon gate that checks the players race. If human, move them to the map so they can carry on their merry way.. otherwise, give them a way to change to human... maybe even have it state "only humans may pass through this gate...". You would probably want to forward them a way to tweak their appearance too... need help, hollar. It wouldn't take long to whip up at all.
 
  • Like
Reactions: Lif

Ravenwolfe

Moderator
ServUO Developer
Sep 7, 2013
1,164
136
Texas
www.ultimaonlinephoenix.com
Shard Name
UO Phoenix
I would say the easiest way is to remove the section of charactercreation.cs that sets their race. Then you don't need a gate. You can give them hairstyle and beard deeds as starting equipment so they can change appearance if needed.

Don't forget to remove the race changing quests as well.
 
  • Like
Reactions: Lif

Lif

Member
Sep 30, 2016
6
1
32
Awesome guys. Thanks for the input! Just for a quick follow up though... What would be the best way to modify the client if I wanted to tinker around on that?
 

Ravenwolfe

Moderator
ServUO Developer
Sep 7, 2013
1,164
136
Texas
www.ultimaonlinephoenix.com
Shard Name
UO Phoenix
Never really done it myself, so maybe someone else can weigh in here. My understanding is you modify the mul or UOP files using tools. Like for your gump changes, I think you would modify gumpartLegacyMUL.uop. I think you have to change the UOP file to a mul file and then use something like UOFiddler to modify it.

Sorry I don't really know the process but maybe that will give you a starting point for some research until someone else can weigh in here.

I think @Milva might have some experience or she will know someone who does.
 
  • Like
Reactions: Lif

Beginer

New Member
Oct 6, 2016
3
0
19
Maybe real to disable from server window for create gargoyle ?
[doublepost=1475803052][/doublepost]I'm now use ML expanshion, but I no have packets for use SA Features for new house custimize.
I will try change CustomHousingFlag on SA/HS, but they nothing happens without FeatureFlags.Expanshion.SA; :(
 

Attachments

psychoman78

Well-Known Member
Sep 7, 2015
183
16
40
Shard Name
Dragon's Legacy UO
Donate
Donate money to this user
hey i was looking into removing the gargoyle class as well and only that one but is the a way to put in a check on the creation so that if they do choose gargoyle they cannot go into the game it will just stay there till they choose a different race? Been pondering on this as i do not want to have to add in the deeds as every char that's created would get them and i do not want that..
 

Humzie

Active Member
Nov 20, 2016
26
2
22
London
Has anyone still come across how to remove the race without making the changes Ravenwolfe has mentioned?
Post automatically merged:

I have found the solutions to remove gargoyles from being created, remove lines 19 20 21 , it will not allow you to create the or select the race.

13710
Post automatically merged:

Forgot to add, the code is shown in RaceDefinitions.cs
 
Last edited:
  • Like
Reactions: Beefcake

Humzie

Active Member
Nov 20, 2016
26
2
22
London
Quite bad news I have just noticed after that change I have made all wearable objects are showing "gargoyles only".

Anyone have a clue how to remove the gargoyle property from a object?
 

Joshua

Well-Known Member
Sep 13, 2014
591
74
34
Bountiful, Utah
Shard Name
My Own Shard
There are a few ways to go about that.. Basically it's not a simple switch. I would suggest to edit basearmor/baseweapon/basejewel/baseclothing and make the gargoyle options do nothing. Then you would want to use something to search all the files in the script folder , and also do a file contents search for any file that has

C#:
        public override Race RequiredRace
        {
            get
            {
                return Race.Gargoyle;
            }
        }
        public override bool CanBeWornByGargoyles
        {
            get
            {
                return true;
            }
        }
and either comment it out or delete it. something to keep in mind, some items that are meant for gargs won't appear correct on humans because there is no proper graphic for it. You can use Notepad++ for something like this.