Multiple Triggers Cause Event

Half-Life HL
Multiple Triggers Cause Event by Anonymous
Posted 20 years ago2004-09-26 05:05:06 UTC • Examples • Half-Life
Loading...
Screenshot Thumbnail
Name
Multiple Triggers Cause Event
By
Anonymous Anonymous
Type
Map
Engine
Goldsource
Game
Half-Life
Category
Examples
Included
BSP, RMF/VMF
Created
20 years ago2004-09-26 05:05:06 UTC
Updated
20 years ago2004-10-05 02:54:22 UTC
Views
3112
Downloads
858
Comments
22
Download

Someone asked in the forums how to cause an event by having two players stand on 2 different trigger_multiples. This exapmle shows how it can be done.

I used a scientist to simulate another player and left the "guts" of my setup in plain view to better demonstrate how it works (although it may be desirable to hide them from view in a real map).

22 Comments

Commented 20 years ago2004-09-27 12:53:52 UTC Comment #4115
another good example thnku
Commented 20 years ago2004-09-27 12:56:22 UTC Comment #4116
The multimanagers have to trigger a multisource, and this multisource will activate it's target once all things that target him do so. Go and read up on that entity, really handy now and then.

From the look of that screenshot, you did something way more complex. Cool, but unnecessary.
Commented 20 years ago2004-09-27 13:58:36 UTC Comment #4117
Hmm... but couldn't the same player go to each of the trigger_multiples himself and trigget the event?
Commented 20 years ago2004-09-27 19:24:36 UTC Comment #4123
Yeah, I'm not unfamiliar with the multisource... the point of this example map is to get around one of its shortcomings.

The trigger_multiple will toggle the on/off state of the multisource each time it resets. That would allow ONE player to touch each trigger_multiple and activate the multisource... or allow the multisource to be activated by two players who activated the triggers at separate times.

I found the way used in my example map to be a somewhat simple workaround to this shortcomming of the multisource. Using the example I provided, two players need to be standing on separate trigger_multiples at the exact same time in order to trigger the event.
Commented 20 years ago2004-09-29 05:04:44 UTC Comment #4151
Read up on the multisource before talking about it's 'shortcomings'. You are clearly not familiar with it. When you ue two buttons that target the multisource, the multisource will only activate it's target once both buttons are 'active'. And since you can set buttons to reset after a while...

Get the idea?
Commented 20 years ago2004-09-29 13:21:38 UTC Comment #4158
Captain P,
I assure you that I am aware of the problems regarding targetting a multisource with a TRIGGER_MULTIPLE (yes... that would be a shortcomming). Your original post says nothing of using buttons (btw doors work too) to target the multisource. Actually, in your first post here, you mentioned using multimanagers to target the multisource... which is completely unnecesary.

If I did what you suggest in BOTH of your posts, I would use more entities than my example map uses (thus making your way more complex...)

My way: 2 trigger multiples, 2 func_doors, an env_lazer, and a func_button. Total: 6 entities.

Your way: 2 trigger_multiples, 2 func_buttons, 2 multimanagers and a multisource. Total: 7 entities

ACTUALLY, as anyone who follows the general mapping forums would know, SlayerA provided a solution which uses ONE less entity than I did with my example(not WAY less complex... but none the less, less complex)

Even though the multimanagers you suggested are entirely not needed for this to work, I wont tell you to "read up on them because you are clearly not familiar with them"... instead, I'll just thank you for trying to help fellow mappers solve their problems.
Commented 20 years ago2004-09-30 01:37:42 UTC Comment #4167
Correct, 'multimanagers' in my first post had to be 'trigger_multiples'. Sorry for that misstake.

I've finally been able to do some testing myself and trigger_multiples targetting a multisource do work, although there is a little thing to keep in mind.
A multisource will trigger it's target once all entities that target this multisource are 'active'. For example, 3 buttons target a multisource. All 3 need to be activated before the multisource will trigger it's target. Should one of 3 buttons reset before all 3 are pushed, nothing will happen as the multisource requires all of them to be active at the same moment.
Trigger_multiples behave a bit different than buttons. A button goes to non-active once it resets. A trigger_multiple doesn't... you can only use it again after it is reset, but it's state, as recognized by the multisource, doesn't change when it resets. Instead, you have to trigger it again.
This may cause some confusion at first but it's really simple once you get how it works.

So, using trigger_multiples has some shortcomings indeed, from the side of the trigger_multiples, but this is easily avoided by triggering func_buttons with those trigger_multiples, effectively combining their possibilities. I made an example map for you, where you can either walk trough the trigger_multiples and so activate the buttons, or push the buttons yourself.

My way: 2 trigger_multiples, 2 func_buttons and 1 multisource. 5 entities total. Probably the same method as SlayerA provided.

http://www.websamba.com/captainp-home/custom/mt.zip
Commented 20 years ago2004-09-30 14:02:52 UTC Comment #4174
I'm glad you were able to experiment and discover for yourself the shortcommings involved with targetting a multisource with a trigger_multiple. Now you can see that my 6 entity setup is not "way more complex" than the 5 entity setup previously suggested by SlayerA... and now yourself.

On top of what you mentioned, and as I mentioned before, entites other than buttons can be used to target the multisource... like doors, etc.
Commented 20 years ago2004-10-01 06:38:44 UTC Comment #4181
Actually, you have created an AND gate using geometry... A good way to explain how a multisource works actually. In fact, it's an AND gate too, but then done by coding.

I'd say, using a multisource is better as it's specifically designed for these situations, but you could use this map to illustrate how a it works. Fun...
Commented 20 years ago2004-10-01 15:56:51 UTC Comment #4188
"I'd say, using a multisource is better as it's specifically designed for these situations"

I agree... because if you do it with the multisource, you use one less entity.
Commented 20 years ago2004-10-14 09:04:45 UTC Comment #4502
I'd say you just wasted your time talking about nonsense when everyone with a brain won't look at your piece of shit map, and anyone without a brain will downlaod it and not have a clue what to use it for, how about you take this crappy, ill textured, badly mappe, square, ugly, puke colored heap of fucking rotting cunt and fuck off.
Commented 20 years ago2004-10-15 21:45:44 UTC Comment #4538
lol jealousy, jealousy, jealousy... poor noob :D
Commented 20 years ago2004-10-16 06:01:42 UTC Comment #4549
sorry, I didn't read taht as it was far too complex for a noob like me to understand, I'll hazard a guess and answer your question:

Like i said, the guy came at ME, not the otehr way round, so what was I supposed to do?! I kicked him in the head (karate) and rammed the metal pole into his eye.

Last time he tried to sell ME a big issue

And on another note:

I'm 21, how old are you?
Commented 20 years ago2004-10-16 16:09:50 UTC Comment #4554
have you seen a doctor yet? :D
Commented 20 years ago2004-10-18 09:51:50 UTC Comment #4576
well, :D how old are you .. ? :D
Commented 20 years ago2004-10-18 11:58:29 UTC Comment #4584
my mom says not to give personal info to gay men on the net :D
Commented 20 years ago2004-10-18 16:52:00 UTC Comment #4598
:D

yeah

:D

but

:D

that's

:D

far

:D

from

:

the

:D

point

:D

,

:D

you're

:D

just

:D

too

:D

afraid

:D

to

say

:D

for

:D

some

:D

reason

:D :D :D :D

is it because you're like, 15, or because you don't want to give out too much about yourself, you'd rather just sit on the sidelines and point the finger?

You truly are brainless.
Commented 20 years ago2004-10-18 18:26:59 UTC Comment #4603
yeah, you show so much maturity... :D
oh, and i called you out point blank... not from any "sideline"
Commented 20 years ago2004-10-19 14:04:07 UTC Comment #4656
point blank? you're hiding behind a mask, what part of point blank allows you to hide in the shadows and hurl allegations of insanity at people.

I have a solution:

So at 6:30am on January 14th, I woke up to the doorbell buzzing. Not a short lived buzz. Someone had their thumb pressing the button and holding it there. "Fucking drunkard" I thought, and rolled over, intent on ignoring it. It then started a rythmic buzz buzz buzz buzz, over and over again. After about 5 minutes battling to get back to sleep, I gave up and got up. Put my pants on, grabbed my sweatshirt, and stumbled off toward the door.

As I walked down the steps I heard them talking to the nextdoor neighbor, asking him where the landlord lived. I reach the door just as the neighbor's door closes. I compose myself to deal with whatever is behind the door, and open it.

Immediately there's a flashlight in my eyes. "Are you Chris Toshok?" "Uh, yes" "Mr. Toshok, we're with the FBI. We have a warrant to search the premises." I looked down out of the glare of the flashlight and saw the FBI badge of the long haired blonde woman standing in front of me. I also saw two people behind her, bodies turned sideways so as to present less of a target. Guns drawn? It was too hard to tell really with the glare of the flashlight, but I'm assuming yes.

I mumbled something about turning on the light so I could see the warrant (pages 1 2 3 4 5)they'd thrust into my hands and turned and groped on the wall for the switch. They all tensed. The light came on, and I looked over the warrant for a second.

"Please come out here Mr. Toshok," and a hand on my arm pulling me onto the porch. Once I was out on the porch several agents started up the stairs. I said that my roommate was still asleep in bed. They asked his name, I said "Peter". They continued up the steps, yelling his name. "Peter, this is the FBI." "PETER" "PETER, are you awake? this is the FBI"

I didn't watch it happen but apparently Peter awoke, naked, to a doorway full of FBI agents with guns out, yelling at him to get up. He asked if he could get some clothes on. They said yes. He asked if they could turn on the light so he could see. So Peter got to get dressed under the watchful gaze of government employees. Must have been fun.

They took Peter to the back of the house, and took me back upstairs to the front of the house, and proceeded to start going through everything in my room and the office.

I was questioned by the FBI agent in charge and a Secret Service agent at length about the Hungry Programmers, people I used to live with, whether particular people had the capacity/knowledge to do what they were investigating, etc. During the questioning she says "Now we're going to take all your computers." She sees the look on my face and says "Yeah, this is going to be hard for you." I said "uh, when will I get them back?" She said it depends, that they'd try to have them all back as soon as possible, but it depends on if they find anything suspicious on them. If they found contraband (kiddie porn, talk of drugs, or stuff they were actually looking for), that particular computer would never be coming home.

After the questioning I basically sat in the front room on a folded futon mattress, with at least one agent with me at all times. Sometimes two. At one point I said I really needed to brush my teeth and the SS agent assigned to me at the time walked with me back to the bathroom and stood behind me watching me in the mirror as I brushed my teeth. On my way back down the hall I looked into my room and saw 3 FBI agents rifling through my belongings. One looking at the condoms and stickers in my nightstand, one going through my underwear/sock drawer, and one looking through my books.

After a lot more sitting in silence in that room, interspersed with tidbits of conversation (an fbi agent asking me about the guitars, talking about the piano lessons in his youth, and how he was kicked in the chest by a horse.) I must say, the SS agents were a lot nicer than the FBI agents. One in particular was pretty cool - we joked a lot about just how absurd the whole thing was.. He asked how I was doing, I said I'd had better mornings, to which he responded "well you'll definitely have one unique experience more than most people." I definitely have to agree. I know of very few others that have been through something like this. The blonde FBI agent was nice (and annoying) enough to tell me repeatedly that the judge would go easier on me (and they could all go home earlier) if I would just tell them where the stuff was. If I had it, of course. But if I denied having it, they'd really throw the book at me when they found it.

After more waiting, the FBI agent in charge comes into the room and explains that they aren't actually pressing charges against me, so I'm not being detained. I can leave if I want, or walk around the house, etc. This is a relief. I go grab my shoes and socks (my feet were freezing by this time). After a few more minutes of listening to the bumbling idiots in the next room arguing over how to turn off my machines, I decide a walk might be nice. I say I'm leaving to go walk around, that I'll be back to look over the list of equipment they're seizing. I ask if they'll let me take my cell phone so they can call me if I need to be back, etc.. They said no. I wasn't to take any property off the premises. Luckily, I still had my car keys. I walked over to my car and drove off.

Drove around for a while, then decided I'd stop by Seth's house and tell him what was going on. Davel answered the door, bleary-eyed. I apologized for waking him up.. I said "I would have called, but the FBI wouldn't let me use my cell phone." He said "what???".. I handed him the search warrant. He said "ohhh, god, come in." and walked me up the stairs.

I broke the news to Seth and he looked as shocked as I felt when I opened the door at 6:30. Got on ICB and spread the word that the wolves were circling, and everyone pretty well freaked out.

I hung out with them for a while, then figured I'd better be getting back so I got back in the car and returned home. It was probably around 10am at this point. 3.5 hours into the raid. I got there as agents were walking laps up and down the outside steps, carrying full boxes of my possessions into their van. I was too late to go over the actual stuff they were confiscating. suck. I walked upstairs, and found the long haired blonde agent and the (admittedly very cute) asian evidence photographer still there, finishing up. Taking photos of the rooms in their condition post-raid, writing down which exposures corresponded to which room.

The blonde agent handed me the seizure receipt to look over and sign. It looked ok to me, but I really had no idea at the time that some items they'd taken weren't on the list.

We joked with the agents some before they left. Asked them for their business cards, which they declined to give us, saying they would likely be plastered all over the web. Wise women. We asked if we could get a picture of them or their badges, which they also denied us. Too bad. Peter walked them to the steps, and I walked into the office to assess the emptiness.

There were a few times in college when the computer labs would be closed during the day, due to a bomb threat or a gas leak or whatever. When this happened all the geeks would wander around outside, eyes squinting in the unaccustomed glare of the mid-day sun, looking like zombies. You could always spot a geek on such a day by the way they walked with a certain slowness in their step. Not a leisure slowness, a dead slowness.

Today was like that for me. I'd lost upwards of 9 machines, and lots of misc equipment besides. Machines that, according to most people familiar with this stuff, I may as well write off as gone regardless of whether or not they ever find anything on them. Thankfully there were many people around that were willing and able to find the humor in such a preposterous day. I've been running on laughter all day, unwilling to think about the fact that this all might end with me in court, or even in jail. I mean, I did nothing illegal, how can I end up in jail? Leila forced me to at least acknowledge the gravity of what was going on, but thankfully didn't force me to dwell on it. I'm hoping I can keep myself laughing about it all until I pass out. The drinking might start rather early tomorrow.

I don't think the word "surreal" ever described a day better for me.
Commented 20 years ago2004-10-20 17:33:29 UTC Comment #4667
"you're hiding behind a mask"

lol who's hiding? i'm right here :D

"hurl allegations of insanity at people"

if the shoe fits... :D
Commented 20 years ago2004-11-05 23:41:21 UTC Comment #4964
sup man you got email or msn i dont speak to many mappers and i appriciate a comment you made on a map of mine, my emails rend0us@aol.com as well as my msn contact tx peace
Commented 18 years ago2006-04-15 13:32:58 UTC Comment #11507
rofl

You must log in to post a comment. You can login or register a new account.