Isolation method

From Valve Developer Community
Revision as of 07:47, 6 May 2006 by Ts2do (talk | contribs) (spelling)
Jump to navigation Jump to search
Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

Introduction

The half and half method as it has been called is a simplistic approach to pinpointing general errors.

It is often used when no information is given in an error such as the "cluster protal saw into cluster" error. Despite relating to a very specific point in the map no information is given as to where that point is. Half and half is one of the standard approaches to finding this type of error.

The method

The method is simple and systematic. It uses the Cordon Tool to compile only part of the map at a time.

It starts by isolating half the map with the cordon tool and recompiling. If at least one of the errors being tracked was found you half that area. If no errors being tracked were found you move over to the other half of the area. The approach is then repeated in the same manner until at least 1 error has been pinpointed.

Fixing the error

After you've found the error it often becomes the problem of finding out whats wrong within that area. The simplest approach is to back up your map at this point. Then delete the area object by object recompiling each time. As soon as an error goes away return to your backup and try deleting the last deleted object and recompiling. If the error goes away you've found the cause. Leaving the object deleted or trying to find the problem is entirley situational and up to the mapper. But you now know the cause and can stop the error.

Conclusion

With generic errors this is often the best approach to take. Depending upon your computer and map multiple recompiles may be time consuming but it will only get faster each time. Plus the ability to fix errors yourself and not wait for two days on a forum is always a benefit. The half and half method is one any mapper should be familiar with.