Make player drop the portal gun?
Quote from Logic on May 11, 2012, 8:07 amIs 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
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
Quote from UsCobra11 on May 11, 2012, 8:23 amTrigger_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.
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.
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
Quote from Logic on May 11, 2012, 8:37 amUsCobra11 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 :/
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 :/
Quote from UsCobra11 on May 11, 2012, 8:45 amDo 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.)
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.)
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
Quote from soptipp1 on May 11, 2012, 8:47 amMake sure to set the keyvalue 'Kill Weapons' to yes and the portal gun should disappear entierly.
Make sure to set the keyvalue 'Kill Weapons' to yes and the portal gun should disappear entierly.
Quote from UsCobra11 on May 11, 2012, 8:50 amsoptipp1 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
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
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
Quote from Logic on May 11, 2012, 8:57 amUsCobra11 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 usefulYes, 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
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
Quote from soptipp1 on May 11, 2012, 9:05 amQuote: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 usefulI 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...
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...
Quote from UsCobra11 on May 11, 2012, 9:11 amLogic- Glad it works!
sotipp- Hmm, strange. Try to test it out right now, maybe something went wrong.
Logic- Glad it works!
sotipp- Hmm, strange. Try to test it out right now, maybe something went wrong.
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
Quote from soptipp1 on May 11, 2012, 9:16 amWell it doesn't matter anyomore, this was a couple of months ago and I fixed it another way.
Well it doesn't matter anyomore, this was a couple of months ago and I fixed it another way.