Bad I/O link Created 9 years ago2015-04-03 17:50:40 UTC by Striker Striker

Created 9 years ago2015-04-03 17:50:40 UTC by Striker Striker

Posted 9 years ago2015-04-03 17:51:26 UTC Post #325196
Hey guys, I'm having a bit of a problem with the env_alyxemp entity. I'm recreating that sequence where alyx is shooting her emp gun at a button, but I can't seem to turn off the effect afterwards.

It gives me this error:
User posted image
I don't understand, the rest of the outputs work. The "Stop" input of the env_alyxemp gives this error though. I decompiled a hl2 map and they do it the same.

What's happening here?
Striker StrikerI forgot to check the oil pressure
Posted 9 years ago2015-04-03 18:30:37 UTC Post #325197
What's your I/O setup?
Why are you using a relay?
Tetsu0 Tetsu0Positive Chaos
Posted 9 years ago2015-04-03 18:40:44 UTC Post #325198
Well, Valve used a relay too. I initially didn't use one, but I thought there might be a bug with my initial setup.

I use a trigger_multiple to trigger a scripted_sequence which brings alyx in front of a wall, makes her do an animation and then on the beginning of the sequence triggers the relay.
The relay triggers the env_alyxemp, parenting it to alyx, then after 0.2sec parenting it to Alyx's righthand attachment. After that, it starts a discharge with a parameter of 0.5, then a discharge at a delay of 0.6 from the discharge trigger.
Then it stops it after 3 seconds.
Striker StrikerI forgot to check the oil pressure
Posted 9 years ago2015-04-03 19:21:51 UTC Post #325199
Hmm
I just tested it and it works fine for me.
Try triggering it like this:
User posted image
I'm not sure why you're using a trigger_multiple, or even a relay for that matter, but the above image works.

You need to send a value along with the Startcharge and stop functions. So OnTrigger|StartCharge|3 will charge it over the course of 3 seconds. The StartDischarge just starts the beam effect, and the Stop function should look like this:
OnTrigger|Stop|3. It doesn't stop as soon as it's triggered, it waits the seconds you send to it in the parameter field.

Also make sure your alyxemp has a target
User posted image
Tetsu0 Tetsu0Positive Chaos
Posted 9 years ago2015-04-03 19:37:11 UTC Post #325200
Now it works! Thanks, man. :crowbar:
Striker StrikerI forgot to check the oil pressure
Posted 9 years ago2015-04-03 21:24:38 UTC Post #325201
Good!
Glad it works.
Now release the map for all to see!
Tetsu0 Tetsu0Positive Chaos
Posted 9 years ago2015-04-04 17:04:44 UTC Post #325203
It's a WIP :P. [EDIT] I hate this. Half-way done and 42 minutes a compile.
Striker StrikerI forgot to check the oil pressure
Posted 9 years ago2015-04-04 17:42:11 UTC Post #325204
Use the cordon tool and only compile what you're currently working on.
Tetsu0 Tetsu0Positive Chaos
Posted 9 years ago2015-04-04 22:25:55 UTC Post #325205
Yep, I'm using it.

le teaser:
User posted image
I have now been working on this 14 hours str8.
Striker StrikerI forgot to check the oil pressure
Posted 9 years ago2015-04-05 19:51:20 UTC Post #325210
14 hours str8 m8? Must r8 8/8.
Ghost129er Ghost129erSAS1946 Certified Nuisance
You must be logged in to post a response.