Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 253 Guests
Online:

LATEST FORUM THREADS

»
New BF2 Mod
BF2 General

Tutorials

»
Left 4 Dead
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Clip Brushes
Versions: You must be logged in to view history.
You can use these to cover geometry that players can get stuck on. These brushes insure that the players cannot get stuck or access areas of your map

Looking around the tutorial_standards.vmf level in Hammer, you may have noticed that some of the brushes placed do not actually render in the game version of the level.

Similar to the trigger_changelevel brush that you created in the checkpoint tutorial, all trigger brush entities are invisible in the game.

There are also clip brushes that can block survivors and infected.

Using a clip brush.

You can use these to cover geometry that players can get stuck on. The railings for the stairs in tutorial_standards.vmf are a good example of this.

To make a clip brush, simply create a brush and attach the tools/toolsclip texture to it.

The tools/toolsclip texture.

Brushes with this texture applied to them will block all players, npc's, and physics objects. They will not block bullets.

You can also just block players by using the tools/toolsplayerclip texture.

The tools/toolsplayerclip texture.

This is handy for above walls and fences that you want infected to climb over but you don't want players to accidentally get knocked over.

Using a player clip brush.

The exterior area shown here from tutorial_standards.vmf is a good example of this.

Nav Blockers

Sometimes, you may want to block the nav mesh without adding a clip brush. You might even want to block the nav for just survivor bots or just infected. You can use a brush entity called a func_nav_blocker to block the nav.

In the tutorial_standards map, a func_nav_blocker brush entity has been used to keep the survivor bots from trying to use the ladder nav before the ladder has been raised.

An example of a func_nav_blocker in the tutorial_standards map.

To create a func_nav_blocker:

  1. Use the Block Tool to create a brush along the area of the floor that you want to block the nav.
    Note:
    If you choose to rotate a brush at an angle between 0 and 90 degrees, the nav will be blocked along the bounding box of the func_nav_blocker.
  2. Apply the "tools/toolstrigger" texture to the brush.
  3. Use Tools > Tie to Entity to turn the brush into a brush entity and open the brush properties.
  4. Change the Class to "func_nav_blocker".
  5. Change the Name to something unique. In this case, I've used "ladder_nav_blocker".
  6. Change the Team(s) to block to "Survivor". If you want to block infected only, then change it to "Infected".
The func_nav_blocker properties.

You can also unblock the nav that a func_nav_blocker is blocking by sending an input to it.

The outputs tab to tell the func_nav_blocker to unblock.

Add an output with the following:

  • My output named: "OnFullyClosed" (This is set up for the ladder that gets raised.)
  • Target entities named: "ladder_nav_blocker"
  • Via this input: "UnblockNav"

 


That's it for this this tutorial, Hope it helps

Source http://developer.valvesoftware.com/wiki/Main_Page

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»