Go Back   RunUO - Ultima Online Emulation > RunUO > General Discussion

General Discussion General discussion for the RunUO community, all off-topic posts will be deleted. This forum is NOT FOR SUPPORT!

Reply
 
Thread Tools Display Modes
Old 05-14-2008, 09:30 AM   #1 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default management gump login

hi,

this is my question: Where are managed 2 gump initial creation of the character?
The first gump choose necro,mage ecc...
The second gump choose the race, human,elf ecc..

thx!
Aspio is offline   Reply With Quote
Old 05-14-2008, 10:25 AM   #2 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

These are not "server gumps", they are client-gumps and are managed by the client.exe. THere is no way to change them from Server.

If you'd like to remove or change something, you will need to edit the MUL files of the client. I suggest using mulpatcher, it can be obtained here: Ultima Online Builder
Alrick is offline   Reply With Quote
Old 05-14-2008, 10:42 AM   #3 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

Quote:
Originally Posted by Alrick View Post
These are not "server gumps", they are client-gumps and are managed by the client.exe. THere is no way to change them from Server.

If you'd like to remove or change something, you will need to edit the MUL files of the client. I suggest using mulpatcher, it can be obtained here: Ultima Online Builder
thx,

then you can not but if I want bypass? when within the first time to create my character, later in game and appear gump created by me to set the characteristics of the character.

Sorry for my english.
Aspio is offline   Reply With Quote
Old 05-14-2008, 10:50 AM   #4 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

It cannot be bypassed, but you can script your own character creation gump in-game. This way, a player will have to create his character twice: using standard character creation and your new creation.

Check these gates if you'd like to create some gates in-game to change players' attributes: [RunUO 2.0 RC1] Lokai's Advanced Player Gate
Alrick is offline   Reply With Quote
Old 05-14-2008, 11:16 AM   #5 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

Quote:
Originally Posted by Alrick View Post
It cannot be bypassed, but you can script your own character creation gump in-game. This way, a player will have to create his character twice: using standard character creation and your new creation.

Check these gates if you'd like to create some gates in-game to change players' attributes: [RunUO 2.0 RC1] Lokai's Advanced Player Gate
thx!

last two questions.
1)Where to call my script just a character enters in game for the first time?
2) Ican change the paperdoll based on race? if you like? that is, as my associate gump for example dell'orc paperdoll button?
Aspio is offline   Reply With Quote
Old 05-14-2008, 11:50 AM   #6 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

Quote:
Originally Posted by Aspio View Post
1)Where to call my script just a character enters in game for the first time?
You should use Scripts\Misc\CharacterCreation.cs, somewhere around lines 700:
Code:
			newChar.MoveToWorld( city.Location, city.Map );

			Console.WriteLine( "Login: {0}: New character being created (account={1})", args.State, args.Account.Username );
			Console.WriteLine( " - Character: {0} (serial={1})", newChar.Name, newChar.Serial );
			Console.WriteLine( " - Started: {0} {1} in {2}", city.City, city.Location, city.Map.ToString() );

			new WelcomeTimer( newChar ).Start();
This is where the initial stuff is done, you can add a gump call if you wish.

Quote:
Originally Posted by Aspio View Post
2) Ican change the paperdoll based on race? if you like? that is, as my associate gump for example dell'orc paperdoll button?
The paperdoll image of the player body can be changed, you can get some custom ones (like dwarves) here: UO Graphics
But if you want to add or remove a button from paperdoll based on race, this is not possible - because Paperdoll is also a part of client.exe gumps.
Alrick is offline   Reply With Quote
Old 05-14-2008, 12:13 PM   #7 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

Quote:
Originally Posted by Alrick View Post

The paperdoll image of the player body can be changed, you can get some custom ones (like dwarves) here: UO Graphics
But if you want to add or remove a button from paperdoll based on race, this is not possible - because Paperdoll is also a part of client.exe gumps.
Thx! but the image paperdoll i insert into gump.idx / gump.art with mulpatcher , but as the call in the code?
Aspio is offline   Reply With Quote
Old 05-14-2008, 12:52 PM   #8 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

It's not only gump.idx / gump.art. You will also need to associate a new animation with your new body, use MulBuilder for that. When done, just set new bodyvalue to the number of the body you've imported, like [set bodyvalue X (where X is the decimal body number) or straight in scripts:
Code:
char.Body = char.Female ? 0xFFF : 0xFFE
where char is the reference to character, 0xFFF is the female body, 0xFFE is the male body counterpart of your new body.

You may need to check the Ryandor.com :: Index and UO-Graphics :: Forum :: Rendez-vous sur http://www.la-croisee.net/ pour de l'aide. :: Voir le Forum - UO Developement for more info on how to use MulBuilder and associate body with gump.

There is an alternative way to create an item with animation, not a whole new body type. This way suits best if you are doing a body that is not taller\smaller than normal human body. The idea is to create a new equip-able clothing item and get it to layer that is underneath all others - like shirt layer (#5). Players won't be able to equip shirts, but you will have much less hassle with new body.
Alrick is offline   Reply With Quote
Old 05-14-2008, 01:27 PM   #9 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

Quote:
Originally Posted by Alrick View Post
It's not only gump.idx / gump.art. You will also need to associate a new animation with your new body, use MulBuilder for that. When done, just set new bodyvalue to the number of the body you've imported, like [set bodyvalue X (where X is the decimal body number) or straight in scripts:
Code:
char.Body = char.Female ? 0xFFF : 0xFFE
where char is the reference to character, 0xFFF is the female body, 0xFFE is the male body counterpart of your new body.

You may need to check the Ryandor.com :: Index and UO-Graphics :: Forum :: Rendez-vous sur http://www.la-croisee.net/ pour de l'aide. :: Voir le Forum - UO Developement for more info on how to use MulBuilder and associate body with gump.

There is an alternative way to create an item with animation, not a whole new body type. This way suits best if you are doing a body that is not taller\smaller than normal human body. The idea is to create a new equip-able clothing item and get it to layer that is underneath all others - like shirt layer (#5). Players won't be able to equip shirts, but you will have much less hassle with new body.
Where can I find animations? you recommend a site?
Aspio is offline   Reply With Quote
Old 05-14-2008, 01:49 PM   #10 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

As I've already mentioned, here you can find some body gumps and dwarf animation: UO Graphics
I've not seen any other animations. To make a new one, copy existing human animation, and re-use it.
Alrick is offline   Reply With Quote
Old 05-15-2008, 01:45 AM   #11 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

Quote:
Originally Posted by Alrick View Post
As I've already mentioned, here you can find some body gumps and dwarf animation: UO Graphics
I've not seen any other animations. To make a new one, copy existing human animation, and re-use it.
Thx!


I found the animation of the dwarfs, but of course loading them into anim and reminded in bodylayer you see invisible -.-'
Aspio is offline   Reply With Quote
Old 05-15-2008, 04:16 AM   #12 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

What steps did you follow? Was that a tutorial of some sort? Show that please, maybe there's something that changed with new clients.
Alrick is offline   Reply With Quote
Old 05-15-2008, 04:30 AM   #13 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

Quote:
Originally Posted by Alrick View Post
What steps did you follow? Was that a tutorial of some sort? Show that please, maybe there's something that changed with new clients.
I entered the new animation with insideUO in position 919 (0x397), but when I change the bodyvalue in game player sees the invisible.
Aspio is offline   Reply With Quote
Old 05-15-2008, 09:36 AM   #14 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

InsideUO doesn't insert animations into MUL files. It can only view what's inside them.
Alrick is offline   Reply With Quote
Old 05-15-2008, 10:19 AM   #15 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

Quote:
Originally Posted by Alrick View Post
InsideUO doesn't insert animations into MUL files. It can only view what's inside them.
Sorry Mulpatcher
Aspio is offline   Reply With Quote
Old 05-16-2008, 05:58 AM   #16 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

Aspio, I've not done the same thing you're trying to do, but still I try different approaches just to help you (I don't need races myself). Why don't you just try yourself - that is beyond my comprehension. Maybe you're just too lazy for that, so you wait till somebody tells you what to do step-by-step. I don't even know whether you understand what I'm trying to tell you.

Anyways, here's a quick tutorial for you to try, I've made this without testing, so be warned.

Contents:
1. create virtual animation for 2D client (body.def)
2. making a new gump
3. creating tiledata item and assigning it to virtual animation
4. scripting new item into RunUO
5. testing

----
You can use body.def file inside client folder to copy existing animations. The format is as following:
<NEW ANIM ID> {<ANIM ID TO COPY>} <NEW HUE>

So you insert something like this:
1040 {400} 668

This will create a "virtual" copy of animation you need at id 1040 (0x410) and a hue of 668 (green).

Now insert a new gump (with orc body) into position 0xC760 of Gumps (anim) section of mulpatcher, it will automatically assign this gump to above mentioned "virtual" animation 0x410.

Now create a new item in Tiledata (S), name it "Orc body", make it wearable and assign it AnimID 0x410. Use graphics from any item, players won't see it anyways, as it will be immovable. Write down the ID of your new item.

Now, in RunUO create an item based on class BaseClothing, and make it layer Shirt (so that it appears underneath all other clothing).

Start RunUO and create your item, try wearing it, try wearing armor over it.

Last edited by Alrick; 05-16-2008 at 06:01 AM.
Alrick is offline   Reply With Quote
Old 05-16-2008, 07:17 AM   #17 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

I thank you clearly, but I am not too lazy. Tour guides are not exhaustive and are often incomplete and outdated. It is not easy and I'm ramming his head from day to understand.



Thank you for having responded
Aspio is offline   Reply With Quote
Old 05-16-2008, 05:38 PM   #18 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

Owned! I am very happy! but there's the problem


Why in game not there? but the body is as if he were naked?


Aspio is offline   Reply With Quote
Old 05-16-2008, 06:29 PM   #19 (permalink)
Forum Expert
 
Rhexis's Avatar
 
Join Date: Apr 2003
Location: Arizona
Age: 23
Posts: 1,694
Send a message via ICQ to Rhexis Send a message via AIM to Rhexis Send a message via MSN to Rhexis Send a message via Yahoo to Rhexis
Default

Quote:
Originally Posted by Aspio View Post
The first gump choose necro,mage ecc...
Try editing and patching the prof.txt file and modifying charactercreation.cs as mentioned above as well as the cliloc.enu to correspond with the changes. Im not sure if there's still any threads regarding prof.txt laying about..but its a useful though not well known little tweak to UO for custom shards.
__________________
Rhexis is offline   Reply With Quote
Old 05-17-2008, 04:05 AM   #20 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 110
Send a message via ICQ to Alrick
Default

Quote:
Originally Posted by Aspio View Post
Why in game not there? but the body is as if he were naked?
"Why in game not there" - what exactly are you talking about? If you are talking about the character's body looking like your orc on gump, then you have to draw your own animations for all actions - running, walking, riding, fighting, getting hit, emoting, crafting, etc.

Don't know why he looks like naked, try using other animation set, play around, test your ideas, change things, experiment, and then write what you have found. I will not be solving all your questions.
Alrick is offline   Reply With Quote
Old 05-17-2008, 04:54 AM   #21 (permalink)
Newbie
 
Join Date: May 2008
Age: 9
Posts: 25
Default

I ask only if it is normal for not wearing the object seen in game worn by the character.

p.s I ask only to those who have more experience than I
Aspio is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5