04-01-2007, 11:49 AM
|
Discordant
|
|
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
|
|
Wiki - Object Placement
How to place an object (Trade skill Object)
So, have you ever wanted to know how to place a trade skill object? Well, it's really quite simple. You really only need to worry about the icon, model file, location, and heading.
What you need:
SQL tools from MySQL (Just get them, there very useful for everything.)
Calculator (For heading)
Basic SQL knowledge (Not necessary but useful)
Code:
INSERT INTO object VALUES (ItemID, ZoneID, LocYPos, LocXPos, Height, Heading, 0, 0, 'Model', Type, Icon, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
LocYPos, LocXPos, and Height
While in game, do the command /loc. Now I belive that loc is listed as x,y,z but objects use the cords from the real map. So x and y are backwards in /loc z is height (Not in real 3d, in real 3d x and z are the level plain and y is up and down.)
Icon
When you click a trade skill container it has an icon. This is the icon list.
892 = loom
1112 = Pottery wheel
1113 = Pottery Kiln
1114 = Stove
1115 = forge
1116 = Brew barrel
1142 = Augment Bath
Model files (objectname)
This is what the container will look like. Do I really need to clarify?
IT66_ACTORDEF = Forge
IT69_ACTORDEF = Stove
IT70_ACTORDEF = Brew barrel
IT73_ACTORDEF = Pottery Kiln
IT74_ACTORDEF = Pottery wheel
IT128_ACTORDEF = Loom
IT10714_ACTORDEF = Augment Bath
Heading
Use #loc, it displays heading ^-^
Type
This is the heart and soul of the clickable. This tells what it does.
17 = Forge
19 = Brew Barrel
21 = Pottery Wheel
22 = Pottery Kiln
31 = High Elves Forge
32 = Dark Elves Forge
33 = Ogre Forge
34 = Dwarve Forge
35 = Gnome Forge
36 = Barbarian Forge
38 = Iksar Forge
39 = Human Forge
40 = Human Forge
42 = Erudite Tailor
43 = Wood Elf Tailor
45 = Iksar Pottery Wheel
47 = Troll Forge
48 = Wood Elf Forge
49 = Halfling Forge
50 = Erudite Forge
53 = Augment
Odd list
These are types that seemed out of place with traditional trade skill types.
24 = Wiz only combine container (Research container?)
25 = Mage only
26 = Necro only
27 = Ench Only
41 = Halfling Tailoring kit
42 = Erudite Tailor
43 = Wood Elf Tailor
44 = Wood Elf Fletching kit
__________________
If at first you don't succeed destroy all evidence that you ever tried.
God doesn't give second chances... Hell, he sets you up the first time.
Last edited by Kayot; 04-01-2007 at 07:53 PM..
|