|
||
|
|||||||
| General Discussion General discussion for the RunUO community, all off-topic posts will be deleted. This forum is NOT FOR SUPPORT! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#2 (permalink) |
|
Forum Novice
|
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 |
|
|
|
|
|
#3 (permalink) | |
|
Newbie
Join Date: May 2008
Age: 9
Posts: 25
|
Quote:
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. |
|
|
|
|
|
|
#4 (permalink) |
|
Forum Novice
|
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 |
|
|
|
|
|
#5 (permalink) | |
|
Newbie
Join Date: May 2008
Age: 9
Posts: 25
|
Quote:
![]() 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? |
|
|
|
|
|
|
#6 (permalink) | ||
|
Forum Novice
|
Quote:
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();
Quote:
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. |
||
|
|
|
|
|
#7 (permalink) | |
|
Newbie
Join Date: May 2008
Age: 9
Posts: 25
|
Quote:
but the image paperdoll i insert into gump.idx / gump.art with mulpatcher , but as the call in the code? |
|
|
|
|
|
|
#8 (permalink) |
|
Forum Novice
|
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 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. |
|
|
|
|
|
#9 (permalink) | |
|
Newbie
Join Date: May 2008
Age: 9
Posts: 25
|
Quote:
|
|
|
|
|
|
|
#10 (permalink) |
|
Forum Novice
|
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. |
|
|
|
|
|
#11 (permalink) | |
|
Newbie
Join Date: May 2008
Age: 9
Posts: 25
|
Quote:
![]() I found the animation of the dwarfs, but of course loading them into anim and reminded in bodylayer you see invisible -.-' |
|
|
|
|
|
|
#16 (permalink) |
|
Forum Novice
|
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. |
|
|
|
|
|
#19 (permalink) |
|
Forum Expert
|
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.
|
|
|
|
|
|
#20 (permalink) |
|
Forum Novice
|
"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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|