Please or Register to create posts and topics.

energy Ball in Portal 2?

PreviousPage 3 of 4Next

The func_instance that is the ball catcher has a keyvalue called $relay. There you can type in the name of a logic_relay. Just name it @Ballcatcher_Relay (keep the @!).
Now create a logic_relay with the name @Ballcatcher_Relay.
Now add to this logic_relay any output you want to get fired if the ball catcher has cought a ball.

(You can see this just by looking in my example VMF I made extra for you. Just look in and try to understand.)

Hey Skotty, just wanted to say, these are some great instances! thanks alot, you did a good job with these =D



Also, I made a map just for you! Sunset
Click Here to view my Workshop and play my puzzlemaker maps
Skotty wrote:
The func_instance that is the ball catcher has a keyvalue called $relay. There you can type in the name of a logic_relay. Just name it @Ballcatcher_Relay (keep the @!).
Now create a logic_relay with the name @Ballcatcher_Relay.
Now add to this logic_relay any output you want to get fired if the ball catcher has cought a ball.

(You can see this just by looking in my example VMF I made extra for you. Just look in and try to understand.)

All that was already configured well with the VMF file you sent, the problem is with my door. I do not know how to make my door opening only when the energy ball hits the ball catcher and you didn't explain in the above post. What should I add to my door to do this ?

You just have to set in the @Ballcatcher_Relay an output called "OnTrigger door open".

I don't understand what to set on the "Output" category. Also, my output name is grey and cannot type anything there. I don't find any "OnTrigger door open" on scrolling menus. Can you help me ?
Image

Okay, to start with, to change anything in an output, click on it first in the list. This is why you couldnt type anything in, you hadnt selected the output. ( or, on second thoguhts it could be because you were trying to send it from a func_instance.)
Secondly, dont have the output from the func_instance, create a new entity, a logic_relay and name it @Ballcatcher_Relay. This is where you should send your outputs from.
Thirdly, here is what it should look like:

vbbxbnjwadfkjyagsBNfdjebvsN fgkaJNkjewdbshzfbszkfsjnelvfbasevjLBEVBZSEFBSZFSZB FBHEDFLHB.jpg

Fourthly, you shuld look at doing some basic tutorials on i/o, there are plenty out there.
Lastly, good luck!

Image
I think in terms of boolean variables. Generally, it makes things easier.

Thank you, but the problem is I cannot choose something else that a func_instance (the 3D model disapear in Hammer for a small red square if I choose as example logic_relay).
I don't see how to process then. I can choose my door and "open" but "ontirgger" still impossible yet for me.

okay, if ive understood you right youre changing the func_instance to a logic_relay right? dont. add the logic relay as a new entity.

Image
I think in terms of boolean variables. Generally, it makes things easier.

Oh I got it sorry, I've added that correctly now and the door opens sucessfully when the energy ball meets the ball catcher, this is nice ! Thanks for help guys but I'd like to know one more thing now, about the sound ised.
Skotty has sound from Portal 1 of all the energy ball system but I do not hear them. I just wanted now, to know how to play these custom samples for have the same sounds as Portal 1. I got them as audio file thanks to Skotty but now the wuestion is how to play them while playing on the map ?

They are played, but you can't hear them. Thats normal because they made some technical change of the soundcache in Portal 2 I personal hate.
However, if you make a VPK file for your map or put the sounds into the BSP it should work.

If you want to hear them right in your game, look in the forums for something like soundcache update.

PreviousPage 3 of 4Next