Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Krang Stonehoof on July 10, 2015, 01:28:03 am

Title: [QUESTION] & [CURIOSITY] - How
Post by: Krang Stonehoof on July 10, 2015, 01:28:03 am
I've saw that awesome work of Shelldon ( https://www.youtube.com/watch?v=_WjrdABBkqI (https://www.youtube.com/watch?v=_WjrdABBkqI" onclick="window.open(this.href);return false;) ) and I'm wondering how he get the spawning things going on. I mean, right-clicking on an item and then being able to play with the object display, and place it.

Can anyone explain me a bit more detailed? I repeat, I'm still pretty new to DBC editing.
Title: Re: [QUESTION] & [CURIOSITY] - How
Post by: Semga on July 10, 2015, 02:12:23 am
Its done pretty easy. You need only Spell.dbc(if you already have custom gobjects done). Item makes spell work. The spell you see is spell for temporary gobject spawning. There are bunch of default onces if you try to find(difference is in gobject being spawned, determined by gobject id in spell). Then on serverside you hook your object beeing spawned and save it in DB. Becuase without that action it will be spawned just in memory as temporary object for period of time. Taking of object, resizeing and moving done via special client-side code. Its simply sending hidden chat command to server for choosen action. But its unsafe so we have done such object spawning on our rp server too in bit different and simplier way. Youtube video:
https://youtu.be/Ksedpar-3tQ (https://youtu.be/Ksedpar-3tQ" onclick="window.open(this.href);return false;)