Tutorials

Camera Cycler



Multiple monitors and camera cycler tutorial

In order for this to work in CS:S follow instructions here:
http://www.editlife.net/files/customfgd.php

Download this file: http://www.interlopers.net/downloads/files/Camera_cycler.zip then open the "Camera_cycle.vmf" into Hammer to use as reference.

I set up 4 'point_camera' entities and four 'func_monitor' brushes (Appearently there must be a trick to get 4 seperate monitors working using same dev/dev_xxx texture. In order for me to get them working I had to use 4 different monitor textures).

Here is a list of all entities and brushes required. Notice their names, they will be used later on and must match exactly.

4 - func_monitor brushes (all named 'monitor' without the quotes)
4 - point_camera entities (Cam1, Cam2, Cam3, Cam4)
1 - logic_case entity (cycler)
1 - logic_auto entity
----------------------------------------------------------------

1. Start out by positioning your point_camera entities and naming each one like noted...Cam1, Cam2, etc..

news post image

2. Make your monitors, name them all the same name 'monitors' (see example map).
3. Create the logic_case entity. Open object properties (alt+enter). Make logic_case name: cycler
4. Name each Casexx number (In the class info tab) like so: Case01 = 01 all the way through to Case04 = 04) see example map.

news post image

5. Click the Outputs Tab and 'Add' outputs for each camera (4 cameras = 4 Casexx #'s):

news post image

(OnCase01)
Output: OnCase01
Target: monitor
Input: SetCamera
Parameter Override: Cam2
Delay: 0.00

Output: OnCase01
Target: Cam1
Input: SetOn
Delay: 0.00

Output: OnCase01
Target: cycler
Input: InValue
Parameter Override: 02
Delay: 4.00
----------------------------------------------------------
(OnCase02)
Output: OnCase02
Target: monitor
Input: SetCamera
Parameter Override: Cam3
Delay: 0.00

Output: OnCase02
Target: Cam2
Input: SetOn
Delay: 0.00

Output: OnCase02
Target: cycler
Input: InValue
Parameter Override: 03
Delay: 4.00
----------------------------------------------------------
(OnCase03)
Output: OnCase03
Target: monitor
Input: SetCamera
Parameter Override: Cam4
Delay: 0.00

Output: OnCase03
Target: Cam3
Input: SetOn
Delay: 0.00

Output: OnCase03
Target: cycler
Input: InValue
Parameter Override: 04
Delay: 4.00
----------------------------------------------------------
(OnCase04)
Output: OnCase04
Target: monitor
Input: SetCamera
Parameter Override: Cam1
Delay: 0.00

Output: OnCase04
Target: Cam4
Input: SetOn
Delay: 0.00

Output: OnCase04
Target: cycler
Input: InValue
Parameter Override: 01
Delay: 4.00
----------------------------------------------------------

4. Create the logic_auto entity.

news post image

Output: OnMapSpawn
Target: cycler
Input: InValue
Parameter Override: 01
Delay: 0.00

----------------------------------------------------------


Logic auto gets it all fireing. Then each Case# in 'cycler' fires the next one and is looped by the last Case# calling the first.

If all is set up correctly you should see the same thing on all 4 monitors rotate throught each camera angle.

If anyone notices anything missing please let me know so I can fix it!

Hope this helps someone.

showNOmercy

View comments ( 2 )

Back to top