I just started mapping for Portal 2 and I am having some difficulties. I am trying to have a laser catcher activate a door (I do have the catcher setup because it receives lasers from the launcher and it changes colors) but it doesn't do what I want.
I also have the 2 logic relays for onpowered and offpowered with the targets and inputs and all that stuff, but the door still won't open.
Any ideas how to make it work? (I hope you have enough info)
1
Re: Portal 2 Laser Catcher to activate door
Posted by Niborius on Sat Jul 28th at 4:07pm 2012
Posted by Niborius on Sat Jul 28th at 4:07pm 2012
I don't have much time at the moment as I am not at home right now, but I think that logic_relays are not necessary. I think you can make in-/outputs on objects like the door and the laser as well. Did you use a preset for the door?
When I'm back from Belgium I'll have a look at my own map and see how I did it there, but that'll be a week from now.
Hope it works out!
When I'm back from Belgium I'll have a look at my own map and see how I did it there, but that'll be a week from now.
Hope it works out!
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: Portal 2 Laser Catcher to activate door
Posted by Necromancer on Sat Jul 28th at 7:02pm 2012
Posted by Necromancer on Sat Jul 28th at 7:02pm 2012
I used a preset for the door. Also, I may be wrong about this, but I think the relays may be necessary, because they are used in the sample map. Does the actual door need some kind of relay too?
There is for the laser, which targets my relays. (I think I am remembering that correctly, I don't have it in fornt of me now though)
Well, anyway I'll try what you said. I am still trying to get this new input/output thing down for all of the different stuff.
Quote
I think you can make in-/outputs on objects like the door and the laser as well.
There is for the laser, which targets my relays. (I think I am remembering that correctly, I don't have it in fornt of me now though)
Well, anyway I'll try what you said. I am still trying to get this new input/output thing down for all of the different stuff.
Re: Portal 2 Laser Catcher to activate door
Posted by Necromancer on Sun Jul 29th at 4:00am 2012
Posted by Necromancer on Sun Jul 29th at 4:00am 2012
I got it to work today. I think one of my relays targeted a weird instance, because it had relay in the name (it was something like door_open_relay; trigger) but when I remade the triggers it did not say this, and it worked.
Also, I think you may be correct Niborius about not needed relays. (I have not officially tested it yet though) but it seems they may not be needed. I kept them this time since I had them already, but I'll try without them next time if I remember.
Also, I think you may be correct Niborius about not needed relays. (I have not officially tested it yet though) but it seems they may not be needed. I kept them this time since I had them already, but I'll try without them next time if I remember.
Re: Portal 2 Laser Catcher to activate door
Posted by Niborius on Sun Jul 29th at 9:03am 2012
Posted by Niborius on Sun Jul 29th at 9:03am 2012
The in-/output system is usually not that difficult, but with instances/presets there seem to be some custom commands sometimes (like door_open_relay; trigger) which can make it more difficult. But following a tutorial step by step should usually do it 
Again, when I'm back I'll check how I did it. Hope they'll work for you in the meantime!
Again, when I'm back I'll check how I did it. Hope they'll work for you in the meantime!
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: Portal 2 Laser Catcher to activate door
Posted by Necromancer on Mon Jul 30th at 3:13am 2012
Posted by Necromancer on Mon Jul 30th at 3:13am 2012
I looked at one of the sample maps that had a box dropper where the box is destroyed when it is dropped in water, and I found out that the input via field (or whatever its called, it's the one below the input and output field) said "SilentDissolve" and it was in red and did not appear in the drop down box, but it does work though. So, do you know of any other special commands like this? Thanks.
Re: Portal 2 Laser Catcher to activate door
Posted by Niborius on Mon Jul 30th at 11:56am 2012
Posted by Niborius on Mon Jul 30th at 11:56am 2012
I think the instance makes a unique command, so I do not think that there are any other of those commands. There are however different kinds of instances, like box_dropper_multiple (or something like that) which you must use if you have more than one box dropper in the level. (So that may already be the answer to a future question when you wonder why your second box dropper is not working properly, like it did for me
)
I'd have a look at this site https://developer.valvesoftware.com/wiki/Main_Page since you can find anything mapping related there (Not all articles are about Portal 2 though, but I believe everything you need to know is in it)
I'd have a look at this site https://developer.valvesoftware.com/wiki/Main_Page since you can find anything mapping related there (Not all articles are about Portal 2 though, but I believe everything you need to know is in it)
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: Portal 2 Laser Catcher to activate door
Posted by Necromancer on Mon Jul 30th at 7:28pm 2012
I did read about this in the tutorial, but do you know why they made it so that you have to specify mutliple. Because you wouldn't have to have multiple doors or anything?
Also, do you know if this applies to any other instances or just the box dropper?
Posted by Necromancer on Mon Jul 30th at 7:28pm 2012
Quote
There are however different kinds of instances, like box_dropper_multiple (or something like that) which you must use if you have more than one box dropper in the level.
I did read about this in the tutorial, but do you know why they made it so that you have to specify mutliple. Because you wouldn't have to have multiple doors or anything?
Also, do you know if this applies to any other instances or just the box dropper?
Re: Portal 2 Laser Catcher to activate door
Posted by Niborius on Mon Jul 30th at 7:49pm 2012
Posted by Niborius on Mon Jul 30th at 7:49pm 2012
This is just for the box droppers.
What happened to me when I forgot about this is that one box dropper would drop 2 boxes simultanously. This was fine when I followed the tutorial when using the box_dropper_multiple.
It's probably because the doors are much more simple than the box droppers
What happened to me when I forgot about this is that one box dropper would drop 2 boxes simultanously. This was fine when I followed the tutorial when using the box_dropper_multiple.
It's probably because the doors are much more simple than the box droppers
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: Portal 2 Laser Catcher to activate door
Posted by Necromancer on Mon Jul 30th at 7:59pm 2012
1) Would that even happen when you give both box droppers a different fix up name?
2) Also, what is the purpose of the @ sign before the fix-up name? Because I have never used that and everything has been working fine so far.
Posted by Necromancer on Mon Jul 30th at 7:59pm 2012
Quote
What happened to me when I forgot about this is that one box dropper would drop 2 boxes simultanously.
1) Would that even happen when you give both box droppers a different fix up name?
2) Also, what is the purpose of the @ sign before the fix-up name? Because I have never used that and everything has been working fine so far.
Re: Portal 2 Laser Catcher to activate door
Posted by Niborius on Mon Jul 30th at 8:20pm 2012
Posted by Niborius on Mon Jul 30th at 8:20pm 2012
Yea I think it will. But using the box_dropper_multiple works the same, so it shouldn't be too much trouble.
I think the @ sign also has something to do with the dropper being an instance. If I'm correct the instance is actually being loaded from another map, one with only the preset of the box dropper, which is what makes it more complicated.
You shouldn't mess too much with the instances unless you need to and read about it in the wiki.
Again, good luck, and I hope the map-loading issue will be fixed!
I think the @ sign also has something to do with the dropper being an instance. If I'm correct the instance is actually being loaded from another map, one with only the preset of the box dropper, which is what makes it more complicated.
You shouldn't mess too much with the instances unless you need to and read about it in the wiki.
Again, good luck, and I hope the map-loading issue will be fixed!
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: Portal 2 Laser Catcher to activate door
Posted by Necromancer on Mon Jul 30th at 8:26pm 2012
Yes, that is true.
Oh, there is not a loading problem. (I was just saying that when there are leaks it does not load. Also, I am just trying to get some new information about some of these things.
And I am actually starting to be able to make some cool things now. (At least considering it's my first map)
I may post it when it's finished to see what you (or anyone) thinks about my first attempt at a Portal 2 level. I am sure it probably needs work, but I still like it though.
Posted by Necromancer on Mon Jul 30th at 8:26pm 2012
Quote
If I'm correct the instance is actually being loaded from another map
Yes, that is true.
Quote
Again, good luck, and I hope the map-loading issue will be fixed!
Oh, there is not a loading problem. (I was just saying that when there are leaks it does not load. Also, I am just trying to get some new information about some of these things.
And I am actually starting to be able to make some cool things now. (At least considering it's my first map)
I may post it when it's finished to see what you (or anyone) thinks about my first attempt at a Portal 2 level. I am sure it probably needs work, but I still like it though.
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0138 seconds.

Snarkpit v6.1.0 created this page in 0.0138 seconds.


