Talk:Navigation Meshes (L4D)

From Valve Developer Community
Revision as of 16:33, 14 July 2009 by TheFixer333 (talk | contribs)

Jump to: navigation, search

Well, I tried. Have no idea how to use this wiki efficiently, but hopefully this article will be useful if not well worded. --Alfonzo 07:03, 25 March 2009 (UTC)

If anything, it's a good start, lots of useful info. Btw, did you see this page? There's a lot of similar content there as well, you can add it into this page here if you want. --brandished 17:07, 27 March 2009 (UTC)


Should we try to use usage-examples for every attribute? Is this a good thing? Or does it over-complicate (or make lengthy) the descriptions on this page? What do people prefer? Any guidance would be appreciated. --TheFixer333 16:33, 14 July 2009 (UTC)

NO_MOBS

It is actually used quite often, but only where needed. I explained a bit of this... also, sometimes maps just don't need too much of it since the director already spawns mobs (and infected in-general) in intelligent locations. I've kept and explained more detail about how the previous 'pipes' example works, as well.--TheFixer333 16:33, 14 July 2009 (UTC)

HUGE .nav file generated

Does someone already faced this problem when the .nav file is like 5 MB wide after the nav_generate and 90 MB after the nav_analyze? It's a hell of a big .nav file, I'm surprised it doesn't cause any trouble to load it, but I'm also surprised that the file grew 18 times during the nav_analyze. It's a large map with a rough terrain, using many displacements and a great playable surface, but still... is there a way to optimize it? Am I missing something? I don't feel like merging all of these thousands of little squares at hand... Left 4 Dead maps like the last map of Death Toll (garage, town, boathouse) are similarly complex and the .nav file doesn't exceed 20 MB if I remember correctly. --NykO18 14:59, 15 April 2009 (UTC)

Merging areas together really is the best option, especially if they each have multiple attributes each. You can also try to remove any extraneous areas which are way past the boundaries of the paper where infected can spawn. Sometimes it generates a bit too far out. --Remmiz 16:55, 15 April 2009 (UTC)
Yep, I was afraid of this. I'm doing a little lifting right now. There's something like 6,000 nav squares on l4d_smalltown05_boathouse and 11,000 on our map, so I'm aiming to reduce it by approximately 3 or 4,000. I'll report there once done... even if zip-compressed .nav files can be reduced by 700% --NykO18 17:01, 15 April 2009 (UTC)