Fujikanaeda
12-16-2007, 02:57 PM
So, I'm working on a new game variant, but it requires a lot of open space, an optimization nightmare, I know! The only enclosed parts of the particular map I'm working on are the actual Red and Blu respawns. However, for overall effect, I've thrown in a couple of windows for each of the respawns so that players can view the "field of battle" before entering.
I've covered up these windows with func_areaportalwindow brush entities and tied these properly, along with adding a func_areaportal tied to a trigger_multiple on the actual exit of the respawns. Should this method give me any decrease in vvis compile time? I tried hinting off these respawns to try to reduce the compile time, but it still seems to take something on the order of three forevers (I left it running for 6 hours and it hadn't finished) for PortalVis to finish off. In order to actually get a compile going on it at this point, I've got to run a fast compile with vvis, which doesn't seem to have any noticeable errors.
Prior to adding these respawns, the dimensions of the wide, open space was the same, and I was able to get quick compile times (2-5 minutes, if that). It seems that only after I added my respawn areas that the vvis compile time went up exponentially, and these respawn areas are relatively small spaces! Does anyone have any ideas on why the vvis compile time went up so dramatically with such little change? Should I implement a different method of cutting off the leaves for the respawn rooms? (Note: I have read the optimization articles and implemented many of these techniques but have not had any success in speeding up compile times)
Another note: has anyone had any success with implementing dynamic cameras into TF2? I've been toying around with this, because it seems that the point_camera and func_monitor entities are missing from the TF2 fgd, by making entities for them and adding in their keys and values by hand but I haven't had any success. Has anyone been able to implement a workaround?
Thanks!
I've covered up these windows with func_areaportalwindow brush entities and tied these properly, along with adding a func_areaportal tied to a trigger_multiple on the actual exit of the respawns. Should this method give me any decrease in vvis compile time? I tried hinting off these respawns to try to reduce the compile time, but it still seems to take something on the order of three forevers (I left it running for 6 hours and it hadn't finished) for PortalVis to finish off. In order to actually get a compile going on it at this point, I've got to run a fast compile with vvis, which doesn't seem to have any noticeable errors.
Prior to adding these respawns, the dimensions of the wide, open space was the same, and I was able to get quick compile times (2-5 minutes, if that). It seems that only after I added my respawn areas that the vvis compile time went up exponentially, and these respawn areas are relatively small spaces! Does anyone have any ideas on why the vvis compile time went up so dramatically with such little change? Should I implement a different method of cutting off the leaves for the respawn rooms? (Note: I have read the optimization articles and implemented many of these techniques but have not had any success in speeding up compile times)
Another note: has anyone had any success with implementing dynamic cameras into TF2? I've been toying around with this, because it seems that the point_camera and func_monitor entities are missing from the TF2 fgd, by making entities for them and adding in their keys and values by hand but I haven't had any success. Has anyone been able to implement a workaround?
Thanks!