Full Version : Request: Filters
xmlspawner >>SpawnEditor 2 Discussion >>Request: Filters
<< Prev | Next >>
Allmight- 09-11-2006
Someting that would help out alot is to be able to filter out spawns. This is especially useful when spawning areas where there area lot of spawners placed above eachother.
So to be able to filter out spawns based on Z is one of the most useful filters. But i can think of other filters that would be nice as well. But for now, my primarily wish is a Z filter.
ArteGordon- 09-13-2006
this is exactly what the Display Filter does and you can specify arbitrary property tests to filter things out, but one thing that wont work is Z filtering (Z is not an available property on edited spawners), and that is because Z is normally not specified in the spawn description but is calculated when the spawner is actually placed into the world based on the valid surface available at that X,Y location.
Allmight- 09-13-2006
Hmmm ok. Too bad, cause Z is one of the most needed filters. When spawning buildings with several levels, Blackthorns castle, Yew Crypts and so on, it gets hard to se which spawner is on which Z since they overlap eachother everywhere. The only way to make sence of such situations atm is to include the Z in the spawners name, but that tends to clutter down the names instead.
But if it can't be done, it can't. Thanks for your responce
ArteGordon- 09-13-2006
For spawners where Z is actually specified, then it can be done. When you save spawners that have already been placed using [xmlsave, then there is Z information and you can also manually specify it when editing spawners (take a look in the XY information panel).
I didnt happen to make Z an available property for testing in the editor simply because it generally isnt assigned until placement (that's what the -32768 value indicates), but there is no reason that it cant be made available, I just need to add an accessor for it, a very minor mod.
Once available, then you could use the property test option with something like "Z>5" in the display filter and it would work.
Allmight- 09-13-2006
Sounds great. Yeah, i know Z is not set automatically, but i set it manually in many spawns where i spawn several floors of a building, like Blackthorns Castle in Ilshenar for example. If i dont, all spawns end up on the same floor.
So in circumstances like that, being able to show spawners for a given Z is very helpful.
ArteGordon- 09-14-2006

QUOTE (Allmight @ September 13, 2006 07:30 pm)
Sounds great. Yeah, i know Z is not set automatically, but i set it manually in many spawns where i spawn several floors of a building, like Blackthorns Castle in Ilshenar for example. If i dont, all spawns end up on the same floor. So in circumstances like that, being able to show spawners for a given Z is very helpful.

yeah, I've added it for the next release so you will be able to test for Z in the filters.
Allmight- 09-14-2006
Thanks. Look forward to it