Please or Register to create posts and topics.

Make player drop the portal gun?

Is there a way to make the player loose his portal gun? Well, there must be since it's in the campaign, but how do you do it?

I though logic_playerproxy would have had something I could use, but it didn't seem to have anything regarding dropping the portal gun :/

If there is a way to make the portal gun to a physics object in the process that would help as well :)

Never use Logic to solve a puzzle, he's an idiot...

Trigger_weapon_strip, I believe
I don't know how to make it fall or anything like that, like when you do in the end of Chapter 1 in portal 2.

My Hammer Maps
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
UsCobra11 wrote:
Trigger_weapon_strip, I believe
I don't know how to make it fall or anything like that, like when you do in the end of Chapter 1 in portal 2.

Hmmm, it works. But you can still see the front of the portal gun if you move the screen around a bit :/

Never use Logic to solve a puzzle, he's an idiot...

Do you mean it gets stuck on the screen? When I use it, it falls out my hands and onto the ground (ta-da! Physics object is done for you.)

My Hammer Maps
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal

Make sure to set the keyvalue 'Kill Weapons' to yes and the portal gun should disappear entierly.

soptipp1 wrote:
Make sure to set the keyvalue 'Kill Weapons' to yes and the portal gun should disappear entierly.

If I read it right, I believe Logic wants the portal gun to become a physics object.. fall onto the ground, fall somewhere (correct me if i'm wrong). It does that for you, but if you kill weapons then you'd have to create something yourself. I'm not fully aware of what he is trying to do, but the automatic physics object given from the weaponstrip is quite useful

My Hammer Maps
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
UsCobra11 wrote:
If I read it right, I believe Logic wants the portal gun to become a physics object.. fall onto the ground, fall somewhere (correct me if i'm wrong). It does that for you, but if you kill weapons then you'd have to create something yourself. I'm not fully aware of what he is trying to do, but the automatic physics object given from the weaponstrip is quite useful

Yes, you are correct. I want the portal gun to become a physics object upon drop.

I accidentally used the wrong thing (a player_weaponstrip instead of trigger_weapon_strip).

It works great! Thanks :)

Never use Logic to solve a puzzle, he's an idiot...
Quote:
If I read it right, I believe Logic wants the portal gun to become a physics object.. fall onto the ground, fall somewhere (correct me if i'm wrong). It does that for you, but if you kill weapons then you'd have to create something yourself. I'm not fully aware of what he is trying to do, but the automatic physics object given from the weaponstrip is quite useful

I had a problem a while ago where I tried to remove the portal gun and it was still visible. Thought that was the problem here. A bit strange though, the portal gun never dropped as a physics object when I used trigger_weapon_strip...

Logic- Glad it works!
sotipp- Hmm, strange. Try to test it out right now, maybe something went wrong.

My Hammer Maps
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal

Well it doesn't matter anyomore, this was a couple of months ago and I fixed it another way.