PDA

View Full Version : spawn tables


DrEvil
12-05-2002, 12:10 PM
I'm having a hard time getting a definite answer on this in the irc channel so I'll ask here.

spawn2 table holds the loc, heading, respawntime... of all the spawns in the zones.

spawn2 has a spawngroupID which gets matched to the spawngroupID in the spawnentry table.

the npcid in the spawnentry table gets spawned based on its chances there.

So, what is the spawngroup table used for. It just has id and name fields?

How is the spawngroup table used?

I am balls deep in a 3d spawn editor/creator/deleter whatever and it is going very well.. just want to make sure I get the tables being modified correctly.

Please lemme know if any of this works different than I have explained, and let me know what the spawngroup table is for.

Thanks.

Wiz
12-05-2002, 10:41 PM
Spawngroup just defines id and number.

DrEvil
12-06-2002, 04:54 AM
u mean id and name?

the main thing i wanna know is if its used for anything other than human reference to the name of the spawn group

Dominatus
12-06-2002, 07:16 AM
I have been including the spawngroup table dB entries in my perl scripts for populating zones, but I have no idea what that table does (or doesnt do). Its just one more line of SQL, so I opted to error on the safe side and make the entries.