Call of Duty 5: Portals Tips
Advanced portalling Video
Link to the prefab map used in this video HERE
Tips regarding the prefab
- You will notice that we no longer use the 8 unit portal brush walls, its much easer to simply use 1 single brush then portal the required face.
- At one point the portal brush goes into a brush (the small side building), this is fine so long as the brush is solid. The portal will seal as soon as it hits the structural brush. Great for when buildings are at an angle.
- T-junction is visible at the back of the house to show how much easier it is to deal with when only using 1 brush per portal is used as apose to the 8 unit thick brushes.
The prefab HERE is using the alternate method described above. Better and faster!
More portal optimization
We could improve performance even further by having the portals at an angles away from the players path (as in attached demo) This way the player doesnt see into the next portal until he's practically around the corner.
When leaving the house you will notice that the player can see directly into the next cell. Even when still in the house.
You will then see that when the player leaves the house and turns right he can see into the next cell.
The solution is to cut or create your portal faces so that they face away from the most frequently used paths.
Notice that because the portal face is now angled away from the door the cell is not draw is quickly.
and notice that when leaving the house and turning right... that cell isnt draw either.
Attached is the updated .map for you to use >> HERE
Thanks to Paulo88 & BlackJack Jonny!
--Zeroy 12:06, 18 January 2011 (UTC)