Please or Register to create posts and topics.

Removing coop PortalGun?

Page 1 of 2Next

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?

Maybe a trigger_weapon_strip will help. Just create one at the player spawn and set "Kill Weapons" to "Yes".

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.

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.

Image
ImageImageImageImage

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.

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?

Skotty 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.

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

Skotty 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.

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.

Page 1 of 2Next