This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] & [CURIOSITY] - How  (Read 851 times)

Krang Stonehoof

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 164
    • View Profile
[QUESTION] & [CURIOSITY] - How
« on: July 10, 2015, 01:28:03 am »
I've saw that awesome work of Shelldon ( ) 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Semga

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 6
    • View Profile
Re: [QUESTION] & [CURIOSITY] - How
« Reply #1 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »