How to: Customize character creation

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am

How to: Customize character creation

Post by Damien. »

Hello :)
I want to create my own gumps and functions for the character creation. Are there any tools letting me do this?
What I really wanna do is to change this step of the character creation:
Image
I wish to delete many of those options and add new ones.

Thanks :)
User avatar
CWO
POL Expert
Posts: 1159
Joined: Sat Feb 04, 2006 5:49 pm

Re: How to: Customize character creation

Post by CWO »

This is handled client side in the UO folder. The file called prof.txt handles this. The only problem is that this does rely on clilocs to display the words.
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am

Re: How to: Customize character creation

Post by Damien. »

Ah, I see. Thanks! :) However, which one handles the Advanced button?
EDIT: Also did some testing and changed the NameId and DescId to "Hello" which gave me the error:
"Error MegaCliloc : 0
StringID not found : 0"

Code: Select all

Begin
	Name			Ninja
	TrueName		"Ninja"
	NameId		1062949
	DescId		1062951
	Desc			7
	TopLevel		true
	Gump			5589
	Type			Profession
	Skill			Ninjitsu		50
	Skill			Hiding			50
	Skill			Wrestling		0					
	Stat			Str			40
	Stat			Dex			30
	Stat			Int			10
End
My question is where can I find the source of this code? the Cliloc.enu file as you mentioned? If so, is there a way to add it? :)
Also the gump (5589) is showing properly, but when you click the button its changed to (5589+1)= 5590, which isnt displayed anywhere in the prof.txt.
:cheers:
Sativa
New User
Posts: 4
Joined: Thu Mar 12, 2009 5:47 pm

Re: How to: Customize character creation

Post by Sativa »

omg damien you stold my nickname!
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am

Re: How to: Customize character creation

Post by Damien. »

Hehe. Been using it for over 6 years. Anyway I found a tool to add the cliloc:
http://ultima.lonet.cz/download.php -> UOLocalization.

Might be handy for someone! :D
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Re: How to: Customize character creation

Post by MuadDib »

UOFiddler will add the cliloc ya putz :P
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: How to: Customize character creation

Post by OldnGrey »

Since I completely ignore anything the client creates for a character, I simply removed alll their options except 'warrior' and tell players to select that. I don't know of any way to remove 'advanced'. If you figure it out, please share it.

I briefly played with pre-creating a character for players using acct.AddCharacter(0), but for some reason they would sometimes disconnect after a few seconds. I think that was bugged and Austin was unable to fix it.
User avatar
CWO
POL Expert
Posts: 1159
Joined: Sat Feb 04, 2006 5:49 pm

Re: How to: Customize character creation

Post by CWO »

Ya but we got bug tickets now Olds :-P
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am

Re: How to: Customize character creation

Post by Damien. »

What you can do is to delete the advanced button gump or change the entry and then enter the Cliloc to delete the ADVANCED text and the ADVANCED description.. this will however still leave the white blank field, and once you press it you will continue to the next step... :(
EDIT: All of this can be done using UoFiddler! :D
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am

Re: How to: Customize character creation

Post by Damien. »

I also tried to expand the width of the gump left of the advanced gump to see if it would kinda overwrite the Advanced field, however there was no success :(
Post Reply