Tutorials

CS Source Bomb-Site - Detailed



This tutorial will show you how to make the surrounding area of a bombsite break upon explosion of the bomb. It will also show how to place a decal in you bombsite. If you are unsure of how to make a basic bombsite, be sure to read the http://forum.interlopers.net/viewtopic.php?t=1774basic bombsite tutorial

We are going to start with a simple bombsite and make it a little more realistic.

news post image


First we will apply a decal. Move the "func_bomb_target" brush to the side for the time being to make it easier for applying the decal. Press SHIFT+O and click where you want to apply the decal in the camera view.

You should see something similar to the image below.

news post image


While the entity is still selected, press ALT+ENTER to bring up the properties box. Click on "Material" and type this in the empty field "decals/target" then close the dialog box.

Adjust the size of the decal in the 2D view by dragging out the handles in the same way you would adjust a brush size. I would suggest 64x64 for the size with this particular decal. It is shown in the image below.

news post image

Now that you have applied a decal to show players where the bombsite is, we are going to make the explosion more realistic, by making certain parts of the surrounding area break on explosion.

First select what items you want to break upon explosion. In this example I am going to be using the surrounding boxes. Select the boxes (you can select mulitple items if you hold down CTRL while you click) and press CTRL+T. From the list choose "func_breakable" as the class and give it the following key values:

Name: bomb_a_boxes
Strength: 1
Material Type: Wood (provided it is wood that you are trying to break)
Explode Magnitude: 300

Now drag the "func_bomb_target" back to into position and while the brush is selected, press alt+enter. When the dialog box appear, click on the "Output" tab and fill in the fields as shown below.

news post image

Important Note: If you are going to make a second bombsite, make sure to change the properties for the box explosion to the following

Name: bomb_b_boxes
Strength: 1
Material Type: Wood (provided it is wood that you are trying to break)
Explode Magnitude: 300

Also be sure to change the "Output" settings of the "func_bomb_target" so it will cause the boxes at the appropriate bombsite to explode.

Example map:

http://www.interlopers.net/downloads/ma ... detail.zip

Contributed By Cr4ig

View comments ( 7 )

Back to top