Lady_askarii;837123 said:
Ok i did everything the list said to do even the body.def, though I am not sure if I did it right:
the hex i saved the cloak to was 0xEEFE that gave me a number of 61182 - 50000 is 11182
I put in body.def
# Begin Custom
11182 {468} 0 Celtic Cloak
not sure if thats right
this is driving me insane. I even tried to [add cloak ingame and change the item id to 11182 and it changes into a plate thats named tree. Also when i add the file in tiledata(s) the picture that shows up isnt my custom its just a normal cloak is that the way its supose to be?
I also tried writing a script for it
[Constructable]
public CelticCloak( int hue ) : base( 0x3FE5, hue )
{
Weight = 5.0;
Name = "Celtic Cloak";
}
I dropped the script into my custom script folder and I still get the same results ;(
do i have to patch it to my server and if so how do i do that? Nothing says how to do that. I try to add it just by typing [add celticcloak but it says nothings there.
thanks for any help
Here are step by step instructions on how add a clock. Just a note, this may seem like a lot of steps. But if you do it a while you can really wip out a lot of stuff. I use a excel spread sheet to keep track of all the stuff I add.
I use “UoFiddler” & “InsideUO” to get animations. InsideUO is the easiest place to get animation numbers. You can get the layer off the first post.
So, from the beginning – adding a clock.
1) Open InsideUO, find the Cape under Animation. Gets the number listed under Model No. Its 468. That is the animation number.
2) Now you need the layer number. For the cape its 20. You can get this off the 1st post or by searching in mulpatcher for cape and looking at the layer.
3) Get your 2 images. One big gump image and one small image. If you have both a mail & female version you have a extra sep. I will show both.
4) On your local computer this is how you can set up your file structure.
a. RunUO – it points to the game install
b. Game install – make a backup
c. Mulpatcher – point it to the game install
d. InsideUO & UoFiddler – point to your backup or other game install.
i. You can not have insideUO using the same files as Mulpatcher
e. With the above method you don’t have to copy files around. You just close any runuo server or client that you have open. Then mulpatcher has access to you primary game file directory. Once your done patching all you to do is close maulpatcher and start runuo and client to test.
5) Open Maulpatcher. Load the 5 files (2 art, 2 gump, 1 tiledata).
6) You will work in the following tabs. Gumps (adim), Art (S), & Tiledata (2).
7) I start in Gumps (adim) tabe. I started at 0xC738 and went up in number range. Then at the bottom where it says Animation Id: 0x3E8. Record and write that number down.
a. VERY IMPORTATN: If you are doing a lot of images like me. You will have a large chuck that need both a mail and female. There are a limited number of items from 0xC738 and up rage that can be use as both mail and female. See the note at the bottom about ranges.
8) So record your C738 & 0x3E8 numbers. Then go to Art (S) to find a open spot. I pretty much started at the very bottom and went up. As long as the stuff is red and not being used. So Pick 0x7FFF and record that number.
9) So, go back to Gukmps (anim), right click your blank & red spot of C738, Load from Bitmap and add your big gump image.
10) Go back Art (S), right click it, Load from Bitmap and add your small little thumb nail image.
11) Then go to Tiledata (S), go to the very bottom and find 0x7FFF, this is the same number as from Art (s).
12) At Tiledata (S), add your name, enter the Quality of 20 (this is the layer), A [X], Wearable [X], & Armor [X], Then up at the top where it says AnimID, ender the Animation Id: 0x3E8 that you recoded from the Gumps (adim) page. It’s a little tricky to ender it till you get it figured out. Click at the end of the 0x0, and type the 1st number, 3, then click at the end of the 3, and type E, then click at the end and type 8. When its all said and done and you have your 0x3E8 number entered your GumpId to the right will says 0xC738. That is how it gets linked.
13) Next, go to the settings tab, click all 3 save buttons, and close Mulpatcher.
14) From your main game directory open Body.def in a notepad. Go down to the very bottom and well have to add some info in there. It will end up looking like this. Get your gump number C738 and get the decimal of it, so 51000, then – 50,000 = 1000. Then {468} is the animation ID for a cloak. The 0 is the hue. And lastly anything behind # is commented out.
1000 {468} 0 #Cloak_01
15) Once you add that info, save your body.def file.
16) Next, you need to create a scrip file. Make sure you add the new item id in the scrips of course – in this case its 0x7FFF.
17) Once your scrip is done, start RunUO and your client. Since you did all the work in your main game directy you don’t have to copy any files around. Then in the game [add cloak_01. Once its added stick it on your guy and make sure the animation shows up, shows up in the gump, shows up on a female if you a mail/female item item, and make sure you can sit on a bench and it does not disappear! HAHA
That’s it.
Now, if you needed to add a mail/female item. Back where you were loading the big gump image in, the 1st image you pick the male image. Then you get a calculator, and figure out what the female one is and load it in there.
So C738 to dec = 51,000 + 10,000 = 61,000 to hex = EE48.
So you go down to EE48 and load your female image there. That’s all you have to do, nothing else is required. As long as the female and mail images are 10,000 apart the client will auto change the gump image to the female one if it’s a female. I have a excel spreadsheet made up that does all the conversions for me. It’s a lot easer that way. You might have to google it to figure out how to load the excel thing to make it work
---------------------------------------------------
NOTE about ranges.
C738 male & female start 51000 (1000)
C7EF male & female end 51183 (1183)
How to get this? last hex, EEFF to Dec = 61183 -10,00 = 51183 to Hex = C7EF
So what did I do. Froe these to ranges I put all my armor sets & stuff that has a mail and female in there.
If this is some how not enough. I am sure you can backup you files and go to a lower number and look for more mail/female spots there.
C738 male & female start 51000 (1000)
to
C7EF male & female end 51183 (1183)
From above thoes I put, weapon, shields, and stuff I didn’t care if there was a female version.
C7F0 and up I added stuff with only single item gumps.