Navigation
Home
Reviews
Maps
Other Downloads
Skins
Staff
Basic Tutorials
Spray Tutorial
Expert Tutorial
The Game
FORUM
FAQ
Links
Mirror Sites
CS-MAPS Mirrors
USA Mirror
Advert
Donate
Web Rings
CS-MAPS web Rings
Enter The Counter-Strike TOP 100 sites | www.cstop100.com and Vote for this Site!!!

Counter-Strike TOP 100 sites Vote for Us!
Buttons
CS-Nation - Counter-Strike Coverage
INTERLOPERS.NET
Welcome to cs-maps, all your map belong to us.
The largest collection of Counter-Strike maps online.
Destroyable Cameras.

Cameras Part II.I

Now, this is simple enough to do, with a bit of entity work. Now, when the camera itself (the brush based model) is destroyed, the button can still activate the trigger_camera entity. Well, here I will show you how to get around this and to add a new twist to your lovely cameras!

First of all, here I have the layout shown in my first Camera Tutorial:



Here, I have the camera model, an info_target, a trigger_camera and a func_button. They have been set up exactly as in the other tutorial. Each has the following information set:

func_button with 2 flags set, these being 'Don't Move' and 'Toggle'
Name - button
Target - cam1

trigger_camera:
Name - cam1
Target - cam1_targ

info_target:
Name - cam1_targ

What we want to do is change the buttons target when the model is destroyed, so in effect, the trigger_camera is always looking at the info_target, but the button will no longer look at it.

Next stage is to set up a routine that will disable the func_button from viewing the camera. Insert 3 entities, and set them as follows:
Set one up as a trigger_changetarget with the following attributes:
Name - camera_changed
Target - button
New Target - cam1_changed

Set a second trigger_changetarget up as follows:
Name - round_restart
Target - button
New Target - cam1_targ

The last entity is to be set as an info_null. It only has one attribute to fill in:
Name - cam1_changed

Note: If you don't have this entity as an option, an info_target will also do the job.
You should have something like this:



Next, draw in a new brush that would be suitable to be destroyed, like a radar dish or use the camera brush based model itself. Here, I am using an electricity box that powers the button:



Ok, now set the chosen object as a func_breakable (electricity box in this case), and give it the following values:

Target On Break - cam_changed
Strength - 300
Material Type - Metal

Now, what will happen is when the box is destroyed, it will target the trigger_changetarget and set the button to view the info_null. This will disable the button from viewing the trigger_camera. So it will appear as if the camera has been knocked out, but the entity is still viewing the area, it just can't be viewed by the player!

Now, this works, but we need this to be reset at the beginning of every round don't we? So, what entity resets at the beginning of every round? A func_door!

Make a brush anywhere, preferably outside of the map (where a player won't ever go to). 
Tie it to an entity and set it up as follows:

Target - round_restart

Flag: Don't Link - Check this flag.

Making sure this is outside of where a player is going to move is because once the door is touched by a player, it'll reset the button to its normal state by targeting the second trigger_changetarget that we set up. However, if its not touched, it'll happily reset at the beginning of every round for us. Nice of them or what!

The GOD.

 

Comments?

Map Stats
Total Type
140 Assasination
1903 Hostage Rescue
1677 Defuse (Bomb)
64 Escape
2017 Other types
53 Skins
297 Map Wads
1874 Way Points

8025Total
Downloads
Total downloads
16,313,436
Uploads
10 Most Recent

Fy_IceV1
(117.09 Kb)
On 2004-01-24

es_losangeles
(22 b)
On 2004-01-24

as_rising_sun.wad
(22 b)
On 2004-01-24

de_warehouse
(116.55 Kb)
On 2004-01-14

de_snowjob_b1
(5.18 Mb)
On 2004-01-14

de_memorial
(1.89 Mb)
On 2004-01-14

de_isolation2
(5.27 Mb)
On 2004-01-14

de_fortaleza.rar
(35.21 Kb)
On 2004-01-14

de_camufled2.rar
(24.5 Kb)
On 2004-01-14

fy_paracube1
(344.74 Kb)
On 2004-01-14
Site Design © 2002 Jolt.co.uk. Content 2003 by Mike Lee & Owen Pellow All rights reserved.