Conjoint Gaming [Game On]

CG Technical Area => Maps Area => Topic started by: myLord on August 11, 2010, 11:18:25 PM

Title: Problems with area portals
Post by: myLord on August 11, 2010, 11:18:25 PM
I placed area portals in all the doorways and windows of my map, and I don't think that they are working...
Also, now there is a major problem with the water.

http://img830.imageshack.us/i/hl220100811171712.mp4/ (http://img830.imageshack.us/i/hl220100811171712.mp4/)
http://img713.imageshack.us/i/hl220100811171809.mp4/ (http://img713.imageshack.us/i/hl220100811171809.mp4/)

IrishBandit told me about this thing called "optimization", that has to do with cleaning up your map so it won't lag and you won't get map errors and such.  So I watched a few tutorials about optimization and I was told if I put brushes with the Area Portal texture and make them a func_area_portal entity at every opening of a room it would only render what I could see through the area portal, thus reducing lag. heres a vid describing that, and the manual way to do it... which I just might have to try, even though it will be an extreme challenge, considering my map is pretty messy...

Source SDK Tutorial - Optimizing (http://www.youtube.com/watch?v=Ne59X-e-R9Y#ws)
Title: Re: Problems with area portals
Post by: IrishBandit on August 12, 2010, 12:44:35 AM
For that door, you need to have a func_areaportal there and link it up with the door entity.
for the water, you may have a leak, check for leaks by going to Map>load pointfile; a red line will go from an entity to a leak, seal the hole and load it again fix the leak; repeat until it comes up with an "open" window, close that and all your leaks are sealed.

I suggest these 5 tutorials
Hammer Tutorial #21 optimization Part 1- Func _detail and Skybox (http://www.youtube.com/watch?v=O44wZitRJwo#ws)
Hammer Tutorial #21 optimization Part 2- Solving Leaks, Fish bowl therey (http://www.youtube.com/watch?v=UdC_8ROx6yQ&feature=related#ws)
Hammer Tutorial #21 optimization Part 3- Hint and Skip (http://www.youtube.com/watch?v=31hZH-RCwGM&feature=related#ws)
Hammer Tutorial #21 optimization Part 4- Area Portals (http://www.youtube.com/watch?v=uOOJkk8-OUw&feature=related#ws)
Hammer Tutorial #21 optimization Part 5- Occluders (http://www.youtube.com/watch?v=xhJPAeKB7-0&feature=related#ws)
Title: Re: Problems with area portals
Post by: Global_Meltdown on August 12, 2010, 10:49:11 AM
Great Videos I think I'm going to sticky this!
Title: Re: Problems with area portals
Post by: IrishBandit on August 16, 2010, 10:30:05 PM
A non-optimization - related thing

Don't use dx80 water textures, they look horrible and the normal ones refract and reflect.
SimplePortal 2.3.5 © 2008-2012, SimplePortal