triggers

Avatar
Gadgetboy
8 Posts
Posted Jan 16, 2008
can some one explain how i make triggers?
Advertisement
Registered users don't see ads! Register now!
Avatar
Ricotez
738 Posts
Posted Jan 16, 2008
Replied 1 hour later
Well, I presume you know how to create brushes.

  1. Chose the tools/tooltrigger from the texture menue
  2. Create a brush the size of your trigger, make sure the tooltrigger texture is applied to it.
  3. With the select-tool, right-click on your brush in one of the sideview windows (not the 3D-view), and select "Tie to entity"
  4. Your brush is now an entity. In the dropdown-list at the top of the properties-window, choose either trigger_once for a single-use trigger, or trigger_multiple for a multiple-use trigger.

In order to use your trigger, you need knowledge of Input/Output-systems, you can find more information about triggers, I/O, Hammer and the Source-engine on:

The Valve Developer Community

Avatar
Gadgetboy
8 Posts
Posted Jan 16, 2008
Replied 7 minutes later
Really curious how you were able to make a blank post! --GLaDOS
Avatar
Gadgetboy
8 Posts
Posted Jan 16, 2008
Replied 24 minutes later
i can't find the page on triggers
Avatar
msleeper
4,095 Posts
Member
Posted Jan 16, 2008
Replied 33 minutes later

http://developer.valvesoftware.com/wiki/Trigger

Avatar
dvlstx
183 Posts
Posted Jan 16, 2008
Replied 33 minutes later
ok, so how a trigger works is this.

1.You make your trigger, (a trigger once, to only be able to be 'tripped' one time, or a trigger multiple, able to be 'tripped' infinite tiems.)

2.You a)check flags for what you want to 'trip' this trigger,
b)if you need to, make and set a filter for your trigger.

3.Set its Outputs. (Use OnStartTouch if you want this trigger to send an output when a valid item touches it, OnEndTouch(All) if you want this trigger to send an output when a valid item, onendtouch, stops touching it, or when no more valid items are touching it, onendtouchall.)

I know this isn't the best tutorial, but the best way to learn Hammer, and its features, it to just make a small map, put a trigger in it, walk into the trigger, and tweak it until you figure it out and it works. Eventually, it'll just click, and you'll be like OMFGEEZUS!!! IGETTHISNOWWWWW!!!!!:DDDD

hope it helped,
dvlstx

Avatar
Gadgetboy
8 Posts
Posted Jan 16, 2008
Replied 27 minutes later

msleeper wrote:
http://developer.valvesoftware.com/wiki/Trigger

wrong page genius

Avatar
Syon
44 Posts
Posted Jan 16, 2008
Replied 2 hours later

Gadgetboy wrote:
wrong page genius

You asked how to make triggers: Ricotez told you exactly how to do it.

You asked for the page on triggers: msleeper gave you the page on triggers.

Avatar
Gadgetboy
8 Posts
Posted Jan 16, 2008
Replied 16 minutes later

Syon wrote:
You asked how to make triggers: Ricotez told you exactly how to do it.

You asked for the page on triggers: msleeper gave you the page on triggers.

yes i asked for that not the info on the element i asked how do i make it work?

Avatar
MrTwoVideoCards
584 Posts
Posted Jan 16, 2008
Replied 37 minutes later
SUPER ANGRY NOOB WITH ATTITUDE!
Avatar
Nacimota
345 Posts
Posted Jan 16, 2008
Replied 15 minutes later

Gadgetboy wrote:
yes i asked for that not the info on the element i asked how do i make it work?

And isnt that what you got in the second post of this thread?

Advertisement
Registered users don't see ads! Register now!
Avatar
msleeper
4,095 Posts
Member
Posted Jan 16, 2008
Replied 16 minutes later
You got the answer to your question - how to make a trigger, and where to find the page on triggers on the Valve wiki (which took all of 3 seconds to do a Search) - so keep your asshole attitude to yourself.

Locking this thread.