Removing coop PortalGun?
Quote from Darkylight on July 4, 2011, 2:42 pmHey People, I'm making a map where the two players start without the portalgun, like in the tutorial from coop. I tried decompiling and searching but I cant make the portalgun dissapear... Any help?
Hey People, I'm making a map where the two players start without the portalgun, like in the tutorial from coop. I tried decompiling and searching but I cant make the portalgun dissapear... Any help?
Quote from Skotty on July 4, 2011, 2:54 pmMaybe a trigger_weapon_strip will help. Just create one at the player spawn and set "Kill Weapons" to "Yes".
Maybe a trigger_weapon_strip will help. Just create one at the player spawn and set "Kill Weapons" to "Yes".
Quote from Darkylight on July 4, 2011, 4:34 pmYeah but I need to make the trigger actuing with some delay after the portalgun appears. I need to make it like in the original maps, without portalgun.
Yeah but I need to make the trigger actuing with some delay after the portalgun appears. I need to make it like in the original maps, without portalgun.
Quote from Rubrica on July 4, 2011, 4:46 pmAs long as your trigger is set to 'OnMapSpawn' the player probably won't notice they even had a portalgu. To begin with- if your map fades in from black at the start, they definitely won't.
As long as your trigger is set to 'OnMapSpawn' the player probably won't notice they even had a portalgu. To begin with- if your map fades in from black at the start, they definitely won't.
Quote from Quargos on July 5, 2011, 10:31 amopen up the Co-op spawn instance and modify the spawn entitys, there is some sort of property for whether they spawn with a gun or not, can't remember what it is though.
open up the Co-op spawn instance and modify the spawn entitys, there is some sort of property for whether they spawn with a gun or not, can't remember what it is though.
Quote from Skotty on July 5, 2011, 2:19 pmDarkylight wrote:Yeah but I need to make the trigger actuing with some delay after the portalgun appears. I need to make it like in the original maps, without portalgun.Just scale the trigger brush over the whole spawn area and leave it activated?
Just scale the trigger brush over the whole spawn area and leave it activated?
Quote from Darkylight on July 6, 2011, 7:22 amSkotty wrote:Darkylight wrote:Yeah but I need to make the trigger actuing with some delay after the portalgun appears. I need to make it like in the original maps, without portalgun.Just scale the trigger brush over the whole spawn area and leave it activated?
If I do it, it make not funcional.
Just scale the trigger brush over the whole spawn area and leave it activated?
If I do it, it make not funcional.
Quote from Skotty on July 6, 2011, 8:11 amHa found it. It's so easy.
Create a env_global and copy into the text field "Global State Set" portalgun_nospawn
It's not in the FGD so it won't appear in the choosing-field. Just write it in the text field and it should work - not tested.I recommend to download my latest improved FGD files to use a lot of Portal 2 features not featured in Hammer. Improved FGD files
Ha found it. It's so easy.
Create a env_global and copy into the text field "Global State Set" portalgun_nospawn
It's not in the FGD so it won't appear in the choosing-field. Just write it in the text field and it should work - not tested.
I recommend to download my latest improved FGD files to use a lot of Portal 2 features not featured in Hammer. Improved FGD files
Quote from Darkylight on July 6, 2011, 1:38 pmSkotty wrote:Ha found it. It's so easy.Create a env_global and copy into the text field "Global State Set" portalgun_nospawn
It's not in the FGD so it won't appear in the choosing-field. Just write it in the text field and it should work - not tested.I recommend to download my latest improved FGD files to use a lot of Portal 2 features not featured in Hammer. Improved FGD files
First I tried decompiling valve maps but its not funcional. I did it.
Create a env_global and copy into the text field "Global State Set" portalgun_nospawn
It's not in the FGD so it won't appear in the choosing-field. Just write it in the text field and it should work - not tested.
I recommend to download my latest improved FGD files to use a lot of Portal 2 features not featured in Hammer. Improved FGD files
First I tried decompiling valve maps but its not funcional. I did it.
Quote from Skotty on July 6, 2011, 3:13 pmTried it with env_global and it really doen't work. But in the decompiled map I can't see any other posibility to remove the gun at the beginning.
Tried it with env_global and it really doen't work. But in the decompiled map I can't see any other posibility to remove the gun at the beginning.