"Invalid Trianlges" ingame, fine in editor
Ok, I'm really frustrated right now. After playing around with the editor the last couple of days I actually thought "hey, why not try creating a small map" again.
Startet with a small room, played around with textures, props, etc. to get a reference for the look for the rest of the map, and it worked fine...
Then I started working on the basic greybox/redbox layout, added sme corridors, etc. - And that broke the map.
The game shows a "Warning: 567 invalid triangles" when loading the map, and when spawning, there are planes all over the place, vertices connected to other vertices on the other side of the map!
A quick forum search turned out "restart the editor, load and safe the map" as possible solution. Tried it a couple of times, didn't work.
I went on a gradualy removed all the greybox areas where I could see the "invalid triangles" connect to in-game with wireframe. Didn't help either. The number of invalid triangles changes (goes down as I remove more and more geometry), but so does the "source". Everytime I make a small change (even just adding a plane somewhere in the void) the number of invalid triangles changes and the area affected changes.
Now I'm back to the room I started with, and actually removed some of the previously working geometry, and it's still invalid. The affected geometry seems completely random each time I cange and safe (but mostly "clustered" at one secion of the room).
Seriously, WTF?
Startet with a small room, played around with textures, props, etc. to get a reference for the look for the rest of the map, and it worked fine...
Then I started working on the basic greybox/redbox layout, added sme corridors, etc. - And that broke the map.
The game shows a "Warning: 567 invalid triangles" when loading the map, and when spawning, there are planes all over the place, vertices connected to other vertices on the other side of the map!
A quick forum search turned out "restart the editor, load and safe the map" as possible solution. Tried it a couple of times, didn't work.
I went on a gradualy removed all the greybox areas where I could see the "invalid triangles" connect to in-game with wireframe. Didn't help either. The number of invalid triangles changes (goes down as I remove more and more geometry), but so does the "source". Everytime I make a small change (even just adding a plane somewhere in the void) the number of invalid triangles changes and the area affected changes.
Now I'm back to the room I started with, and actually removed some of the previously working geometry, and it's still invalid. The affected geometry seems completely random each time I cange and safe (but mostly "clustered" at one secion of the room).
Seriously, WTF?
Comments
I wish there was ANY information on what causes this, so I could actually try and fix it in the map. Right now it just seems like a random editor fsckup.
QQ
If you get the reflections problem, you need to clear your temp folder where the reflection stuff is stored for the game.
- started the editor
- loaded ns2_redline.level
- saved the map as ns2_stopbreakingmymapyoustupideditor.level
- closed the editor
- restarted my computer (so nobody can pull a "have you tried turning it off an on again")
- started the editor
- loaded ns2_stopbreakingmymapyoustupideditor.level
- saved as ns2_redline.level
- both maps give me the same 271 invalid triangles. Yay...
There are no reflection probes in the map yet, so there should be no data for that, but if you point me to the right diretory, I'll double check.
close editor
start editor
load map
click on random faces / move camera / but dont really change anything
save map
-> fixed
I actually ran into a situation where the map would be messed up WITHOUT the console displaying the "invalid triangles" message when loading. Very weird.
I sent my map file to a friend and had him open-safe it. His file does work.
Confusing, irritating, demotivating...
Thanks for all the feedback though.