.:`=-~rANdOm~`-=:. Game Servers

Technology (Read Only) => Mapping => Topic started by: coolzeldad on September 18, 2010, 03:07:07 PM

Title: plugs easy + advanced(tutorial)
Post by: coolzeldad on September 18, 2010, 03:07:07 PM
ORIGINAL THREAD BY jimonions

in this tutorial ill be showing how to make an advanced plug system and an easy trigger for certain objects. for simple one skip all the first stuph.

and this is my conclusion, dont try to do this you will screw something up and get all pissy, heres the vmf. You can use this counter for whatever your doing but not the building. you can use the fence if you want but  I wouldnt recommend it since it takes along time to compile even for short maps like this.
http://www.megaupload.com/?d=9MMDAX4V (http://www.megaupload.com/?d=9MMDAX4V)


heres what it looks like
(http://lh4.ggpht.com/_BEnVMFVvJZk/S66pS8ruiWI/AAAAAAAAALA/6pwWY7YNZb8/s912/batter_plug_tut1.jpg)

with this math_counter entity you can choose whatever you want to happen when all 3 plugs are in. mine an alarm sounds and the lol sign rises 500 inches into the air.
(http://lh3.ggpht.com/_BEnVMFVvJZk/S66pTvseJeI/AAAAAAAAALE/3v8L_S10GuE/s912/batter_plug_tut2.jpg)

(http://lh4.ggpht.com/_BEnVMFVvJZk/S66pUOCtW3I/AAAAAAAAALI/BHCK2PfLNNk/s912/batter_plug_tut3.jpg)

Simple Trigger With Filter
this is a smple one, very easy to do. firs mae a doll or melon it doesn rly matter but for this one were using a doll. name it stupid_baby_doll.
(http://lh3.ggpht.com/_BEnVMFVvJZk/S66zWw3BVeI/AAAAAAAAALQ/yrEwlv1Y-YU/s912/trigger%20and%20filter%201.jpg)

next make a trigger box with the trigger texture applied. tie it to trigger_multiple entity.
(http://lh4.ggpht.com/_BEnVMFVvJZk/S66zXkKr6TI/AAAAAAAAALU/2d1niCg3KQQ/s912/trigger%20and%20filter%202.jpg)

put this output in
 on start touch/ stupid_baby_doll_filter/ Test activator/
(http://lh5.ggpht.com/_BEnVMFVvJZk/S66zYWwl19I/AAAAAAAAALY/lF4jPotivzo/s912/trigger%20and%20filter%203.jpg)

make sure only physics objects is tagged in the flags tab.
(http://lh4.ggpht.com/_BEnVMFVvJZk/S66zZAQB0zI/AAAAAAAAALc/xF7JErP-KUM/s912/trigger%20and%20filter%204.jpg)

place a filter_activator_name and give it the following options.
name: stupid_baby_doll_filter
filter name: stupid_baby_doll
(http://lh4.ggpht.com/_BEnVMFVvJZk/S66zZs7rkaI/AAAAAAAAALg/1sj-MDSK4KU/s912/trigger%20and%20filter%205.jpg)

put in this output
onpass/ lol_sign_durp/ open
(http://lh6.ggpht.com/_BEnVMFVvJZk/S66zafiyDmI/AAAAAAAAALo/ZGuRWOf-yUo/s912/trigger%20and%20filter%206.jpg)

name the sign lol_sign_durp
(http://lh3.ggpht.com/_BEnVMFVvJZk/S66za6fdOnI/AAAAAAAAALs/E5WRz3IKBgo/s912/trigger%20and%20filter%207.jpg)

make sure nothing is checked in the flags tab.
(http://lh6.ggpht.com/_BEnVMFVvJZk/S66zbkYx50I/AAAAAAAAALw/269p_5YNGiw/s912/trigger%20and%20filter%208.jpg)

and there you have it. Ingame only that doll will trigger the sign. nothing else will, even another doll.
(http://lh3.ggpht.com/_BEnVMFVvJZk/S662aKK0AUI/AAAAAAAAAL4/vFhxuwSsf7M/s800/tut_plug_simple0002.jpg)

or a melon...
(http://lh6.ggpht.com/_BEnVMFVvJZk/S662agVJQEI/AAAAAAAAAL8/FtIjBGXsaFM/s800/tut_plug_simple0004.jpg)

have fun hope this tut halped. +1 cheer if you liked this!
Title: Re: plugs easy + advanced(tutorial)
Post by: Astropilot on December 02, 2011, 06:56:38 PM
Pretty neat. May use it on my first map.