Game Development Community

Error * Trigger must have....

by Roi Hojgaard · in Constructor · 07/28/2007 (11:21 pm) · 1 replies

Been modeling my level all day, and exported frequently using map2dif plus. It has worked without a hitch.

But now suddenly, I get this error in the "Execute Script" window:

(...)
Parsing mapfile...
* Error * Trigger must have one and only one brush (name: MustChange has 0) done.
Creating BSP...Cleaning Up ...
(...)

And the export fails. I have tried backtracking piece by piece, everything I have modeled - deleting, trying again, deleting, trying again - to no avail. Even after I deleted the last piece, I still get the error.

So, what does this error mean? How to fix?

Thanks

#1
07/29/2007 (12:00 am)
Heey, I managed to recover! :D

By saving the file as .MAP, and opening it, I found two suspicious instances:

{
"classname" "portal"
"ambient_light" "0"
}
{
"classname" "trigger"
"name" "MustChange"
"datablock" "NULL"
}

When I deleted these two, and reloaded the file, the export worked again!

Now I just wonder, how ever they got into the map file...