Right, so this is a simple addition to the loadspawn2 function in zone.cpp. I got bored with what I was doing, so I'm working on it now. It'll load up a certain set of spawns based on the qglobal of the zones shortname. It'll require an additional field in the spawn2 table, but other than that everything else is code, and spawn2 will continue to work like normal after adding this.
You'll have to manually add new levels of spawns per level range you want. My question is this: How do you want it set up? Do you want it to check against the "value" field in quest_globals for the level range to spawn?
|