custom race/class descriptions

General MajorMUD Discussion
Post Reply
iofhua
Posts: 68
Joined: Wed Oct 09, 2013 6:09 pm

custom race/class descriptions

Post by iofhua »

I used Nightmare Redux to add a custom race (Naiad) and class (Berserker) to my game. How do I create a custom description for the race and class, so when players are creating their character they can type "help naiad" or "help berserker" and see a description for them?

Thanks for your help!


User avatar
BearFather
Posts: 668
Joined: Sun Feb 09, 2014 6:27 pm
Location: Portland, OR
Contact:

Re: custom race/class descriptions

Post by BearFather »

I know there are text blocks in the WG text block editor for help files. But the correct way I believe is to hex edit them in.


iofhua
Posts: 68
Joined: Wed Oct 09, 2013 6:09 pm

Re: custom race/class descriptions

Post by iofhua »

Anyone know which file I have to hex edit, and which textblocks are for the help race/class descriptions? I skimmed through the textblocks but there are about 10000 of them, and I could easily have skipped over the right ones.


iofhua
Posts: 68
Joined: Wed Oct 09, 2013 6:09 pm

Re: custom race/class descriptions

Post by iofhua »

It looks like wccrace2.dat and wccclas2.dat contain data for the races and classes in MajorMUD, but it doesn't look like they hold the help descriptions for them. But I did stumble across the description files for the statues and gang house shops! So that was fun.

So far I'm just opening random files in HxD and Notepad to see what they look like. Given all the junk that's in the WGSERV folder though, this could take forever. Whatever Metropolis named these files it sure wasn't obvious.

If anyone can steer me in the right direction, I would appreciate it. Thanks for the help!


Bloodrock
Posts: 305
Joined: Mon Jul 16, 2012 9:02 pm

Re: custom race/class descriptions

Post by Bloodrock »

you have to hex edit the wccmmud.dll to add more r/c classes default is 15 races default is 13 2 places in dll gotta be hexed in hexeditor do a search for class or CLASS
as far as r/c discriptions no idea


iofhua
Posts: 68
Joined: Wed Oct 09, 2013 6:09 pm

Re: custom race/class descriptions

Post by iofhua »

Thanks blood! I edited the WCCMMUD.dll to have 14 races and 16 classes.

I found the help descriptions. Open up WCCMMHLP.mcv in notepad - they are buried in there. Now I just have to figure out how to get my descriptions stuck in there in the right format without breaking anything... :geek:


iofhua
Posts: 68
Joined: Wed Oct 09, 2013 6:09 pm

Re: custom race/class descriptions

Post by iofhua »

Hmmm if I edit it with notepad Worldgroup automatically recreates a new WCCMMHLP.mcv file when it starts up, without any edits. I see that I can open it in HxD though so I might try fooling around with that and see if I can make my edits permanent. It looked pretty clean in notepad so I thought it was a text file, but it might not be. If it's a hex file then editing with notepad might corrupt it or mess up the hex values or something. I will give it another go later this week.

Thanks again for all your help, everyone!


User avatar
BearFather
Posts: 668
Joined: Sun Feb 09, 2014 6:27 pm
Location: Portland, OR
Contact:

Re: custom race/class descriptions

Post by BearFather »

They are in your text blocks in your utils. Open Text blocks util. Select MajorMud Help section. They are in that list. Like Guant one is HL1B103. There is a bunch of them. The one before is what they have to type to see it. So HL1T103 is "Gaunts Gaunt Ones" which triggers HL1B103 which is the help file for Guant ones. So if you change HL1T103 to "Naiad" when someone types help Naiad, they get the HL1B103 text.


iofhua
Posts: 68
Joined: Wed Oct 09, 2013 6:09 pm

Re: custom race/class descriptions

Post by iofhua »

Thank you!!! I will give that a try. It's a shame they don't let you add your own textblocks in with that utility, but there are a few near-useless help topics I could rewrite:

HL1T75/HL1B75
HL1T79/HL1B79
HL1T79A/HL1B79A
HL1T91/HL1B91
HL1T113/HL1B113

Which is more than what I need. Thanks!


Post Reply