Portal Gun Pedestal Instance

Quote from ChickenMobile on July 11, 2011, 7:18 amThis is a instance I made of the Pedestal which the Portal gun sits on.
Please note that this is not just a couple of props but a fully working dynamic prop with animations for putting the gun down and back up from inside the ground.
I put a couple of values in so that you can edit it to your liking (for example make the portal gun up at spawn or disable the prop going down after you pick the gun up).
- This includes an I/O proxy to help you pick the right outputs
- This can be set to look broken (Sparks and has no Portal Gun)
- This can be lifted from or closed into the ground using an output
- This can be changed to look like a blue or orange coop portal gun
- This can spawn a one portal (or no portal), portal_gunReplace Values:
- $DisableClose Boolean -> Set this to disable the gun going down after you pick up the gun
- $DisableClose Boolean -> Set this to disable the gun going down after you pick up the gun
- $StartingTeam Integer -> Used for telling which team the gun starts for (0 is for SinglePlayer, 2 is for Blue, 3 is for Orange)
- $StartUp Boolean -> Set this if you want the Pedestal to spawn up at start of map
- $HandleSpeed Float -> Sets how fast (or slow) the handles of the pedestal will open or close
- $DoesntSpark Boolean -> Set this if the pedestal doesn't spark
- $HasPortalGun Boolean -> Set this if there is a Portal Gun on the pedestal
- $Skin Integer -> Changes what color the portal gun is (0 is Normal, 1 is Blue, 2 is Orange)
- $CanFirePortal1 Boolean -> Set this if the portalgun can fire Blue Portals
- $CanFirePortal2 Boolean -> Set this if the portalgun can fire Orange Portals
Since I found out that not every mapper knows names of simple value types I put an explanation:
- 'Boolean' indicates a value that can only have a 1 or 0 option. 'Set this' indicates putting a '1' as the value.
- Integer indicates a value that can have a number as its' option.
- Float indicates a value that can have a decimal place. e.g. '0.5'
Please read above what values to set before complaining that there is no portal gun spawning!!!
Feel free to use in your map!
File Name: Portalgun_pedestal.7z
File Size: 4.45 KiB
Click here to download Portal Gun Pedestal Instance
This is a instance I made of the Pedestal which the Portal gun sits on.
Please note that this is not just a couple of props but a fully working dynamic prop with animations for putting the gun down and back up from inside the ground.
I put a couple of values in so that you can edit it to your liking (for example make the portal gun up at spawn or disable the prop going down after you pick the gun up).
- This includes an I/O proxy to help you pick the right outputs
- This can be set to look broken (Sparks and has no Portal Gun)
- This can be lifted from or closed into the ground using an output
- This can be changed to look like a blue or orange coop portal gun
- This can spawn a one portal (or no portal), portal_gun
Replace Values:
- $DisableClose Boolean -> Set this to disable the gun going down after you pick up the gun
- $DisableClose Boolean -> Set this to disable the gun going down after you pick up the gun
- $StartingTeam Integer -> Used for telling which team the gun starts for (0 is for SinglePlayer, 2 is for Blue, 3 is for Orange)
- $StartUp Boolean -> Set this if you want the Pedestal to spawn up at start of map
- $HandleSpeed Float -> Sets how fast (or slow) the handles of the pedestal will open or close
- $DoesntSpark Boolean -> Set this if the pedestal doesn't spark
- $HasPortalGun Boolean -> Set this if there is a Portal Gun on the pedestal
- $Skin Integer -> Changes what color the portal gun is (0 is Normal, 1 is Blue, 2 is Orange)
- $CanFirePortal1 Boolean -> Set this if the portalgun can fire Blue Portals
- $CanFirePortal2 Boolean -> Set this if the portalgun can fire Orange Portals
Since I found out that not every mapper knows names of simple value types I put an explanation:
- 'Boolean' indicates a value that can only have a 1 or 0 option. 'Set this' indicates putting a '1' as the value.
- Integer indicates a value that can have a number as its' option.
- Float indicates a value that can have a decimal place. e.g. '0.5'
Please read above what values to set before complaining that there is no portal gun spawning!!!
Feel free to use in your map!
File Name: Portalgun_pedestal.7z
File Size: 4.45 KiB
Click here to download Portal Gun Pedestal Instance
Quote from sirfluffs on July 11, 2011, 8:39 amthe problem with this is you did not give enough information, i dont understand how to make it spawn at start up, do i type boolean into it? because that makes no sense at all but from what i can see in hammer you did a good job and if valve needed to make a DLC storyline then they would probaly use this once again good job
the problem with this is you did not give enough information, i dont understand how to make it spawn at start up, do i type boolean into it? because that makes no sense at all but from what i can see in hammer you did a good job and if valve needed to make a DLC storyline then they would probaly use this once again good job
Quote from Hober on July 11, 2011, 10:19 amSo is this an instance or a prefab? Change the thread title and/or OP to reflect it, because right now they're contradictory.
So is this an instance or a prefab? Change the thread title and/or OP to reflect it, because right now they're contradictory.
Quote from SuperSoldier on July 11, 2011, 7:17 pmTechnically, it's a Prefab even if it IS an Instance. Prefab is, quoting http://developer.valvesoftware.com/wiki/Prefab, short for Premade Fabrication. That means even Instances are Prefabs.
Technically, it's a Prefab even if it IS an Instance. Prefab is, quoting http://developer.valvesoftware.com/wiki/Prefab, short for Premade Fabrication. That means even Instances are Prefabs.
Quote from erictfitzgerald on August 15, 2011, 2:41 pmIs there a way for the pedestal to give a blue-portal-only device? (and/or orange-portal-only?) if so, how? also, thank you!!!
It would be helpful too to specify what values do what, 0, 1, etc, for each parameter. thanks again! Eric
Is there a way for the pedestal to give a blue-portal-only device? (and/or orange-portal-only?) if so, how? also, thank you!!!
It would be helpful too to specify what values do what, 0, 1, etc, for each parameter. thanks again! Eric

Quote from ChickenMobile on August 27, 2011, 2:18 americtfitzgerald wrote:Is there a way for the pedestal to give a blue-portal-only device? (and/or orange-portal-only?) if so, how? also, thank you!!!It would be helpful too to specify what values do what, 0, 1, etc, for each parameter. thanks again! Eric
I didn't think of actually putting this in. I'll edit and re-upload soon. Will also add an option to change what colour it is (either blue or orange portal gun).
It would be helpful too to specify what values do what, 0, 1, etc, for each parameter. thanks again! Eric
I didn't think of actually putting this in. I'll edit and re-upload soon. Will also add an option to change what colour it is (either blue or orange portal gun).
Quote from sirfluffs on September 23, 2011, 11:17 pmthx for giving more info, now i can revive my old map(more of a hallway with no point) and get this thing working properly, as before I had to get to the stand fast enough before the map loaded a few things up and scripts kicked in. excellent work my friend!
thx for giving more info, now i can revive my old map(more of a hallway with no point) and get this thing working properly, as before I had to get to the stand fast enough before the map loaded a few things up and scripts kicked in. excellent work my friend!
Quote from chimera201 on September 24, 2011, 4:16 amCould you make the instance send output when the gun is picked up by the player
Could you make the instance send output when the gun is picked up by the player
Maps made : [SP] PORTAL 2 : After Math
Steam ID : chimera201

Quote from ChickenMobile on September 25, 2011, 4:38 amYou are free to edit / collapse the instance and add your own inputs in. Open up the weapon_portalgun and put an output 'OnPlayerPickup'.
You are free to edit / collapse the instance and add your own inputs in. Open up the weapon_portalgun and put an output 'OnPlayerPickup'.
Quote from chimera201 on September 25, 2011, 11:37 amI don't know how to send an output from an instance
I don't know how to send an output from an instance
Maps made : [SP] PORTAL 2 : After Math
Steam ID : chimera201