Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Merthanas on October 17, 2017, 10:48:41 pm

Title: [Question] Nodes
Post by: Merthanas on October 17, 2017, 10:48:41 pm
Hey guys!

 I was wondering about the method ore nodes are spawned, are they like applied on the whole zone or are they put in their place manually?
Title: Re: [Question] Nodes
Post by: Amaroth on October 18, 2017, 07:38:20 am
Every singe ore node is in fact just a gameobejct. You can spawn them whenever you like with whatever respawn time you want them to use, and they will work.

There is kind of special system on WotLK which keeps ensuring that nodes are spawning in different manner in zones (not jut based on respawn time), based on speed in which they are getting looted by players (afaik those systems can be turned off somewhere completely in config). Thats completely separated system and I don't know where to manage it - never used it myself. What is important is that newly spawned gameobjects are not included in such systems, so you don't need to worry about them as long as you don't want to actually use them for something, or as long as you don't want to change loot nodes settings in some blizzlike zone.
Title: Re: [Question] Nodes
Post by: Merthanas on October 19, 2017, 11:12:32 pm
Every singe ore node is in fact just a gameobejct. You can spawn them whenever you like with whatever respawn time you want them to use, and they will work.
There is kind of special system on WotLK which keeps ensuring that nodes are spawning in different manner in zones (not jut based on respawn time), based on speed in which they are getting looted by players (afaik those systems can be turned off somewhere completely in config). Thats completely separated system and I don't know where to manage it - never used it myself. What is important is that newly spawned gameobjects are not included in such systems, so you don't need to worry about them as long as you don't want to actually use them for something, or as long as you don't want to change loot nodes settings in some blizzlike zone.

And how can i remove a game object if it's not targetable?
Title: Re: [Question] Nodes
Post by: Amaroth on October 20, 2017, 06:19:45 pm
.gobject delete [guid]

guid can be ackquired by many ways. The most common ones are 2.:
.gobject target - will get you information about the closest gob to you.
.gobject near [range] - will get you list of all gobs in given range (implicit value is 10yd) with their guids.

If you have TrinityAdmin addon installed, .gobject target and then just clicking on delete in chat is the fastest way of doing most of things.

You can also, obviously, delete gobs from database (table world.gameobject). This method gives you by far most of options for any mass-deleting of gobs, depending on level of your skill in SQL.