Game Development Community

Difs In Difs

by Orion Elenzil · in Torque Game Engine · 10/25/2007 (3:03 pm) · 4 replies

I thought it was a no-no to have a zoned DIF inside another zone DIF,

but i just put a DIF with two zones inside a big shoebox-like dif with one zone,
and didn't get the "There should be one and only one zone for an interior that manages zones" error.

what's the story.

#1
10/25/2007 (3:12 pm)
It will throw errors only in a case if engine can't "find" the zone for the object.
You can have these two DIF objects there, run around and not see that message.. But once you get into "bad point" errors will come.
#2
10/25/2007 (3:30 pm)
I've tried altering their creation order, no diff. (ha ha)
#3
10/25/2007 (3:35 pm)
Do DIF's zones overlap?
We are trying to avoid overlapping difs (if both have zones) in our game. But sometimes, even if the bound boxes of two difs (with portals) are overlap (no visible geometry overlap) - the errors in there..
Are you sure both of your DIFs have zones? :) joking
#4
10/25/2007 (4:45 pm)
Actually, never mind.
i don't get the zone errors but i do get rendering weirdness,
such as players in the Inner zone only being rendered when in front of portals showing the outer zone.
oh well, it was a nice idea..