Getting the Portal Gun pedestal to move [Solved!]
Quote from Wsterfury on May 25, 2011, 5:26 pmHi, everybody!
Still fairly new at this whole Hammer business, but I've got a pretty good grasp on both how to use the program and what to do for the contest.
I'd like to open up the map by giving the player a portal gun with the pedestal it was on in the original game (pedestal_center_reference and pedestal_base_reference). What I'd like to have happen is for the pedestal itself to rise out of the base after the player hits a trigger. How would one go about doing something like that? Would it be a func_movelinear, and if so would I have to tie that to a path_track?
Thanks for reading (and potentially helping!)
Picture for reference, if that helps at all: http://imgur.com/LWwrz (yeah I know the textures are horrible, the map's not fully built yet.)
Hi, everybody!
Still fairly new at this whole Hammer business, but I've got a pretty good grasp on both how to use the program and what to do for the contest.
I'd like to open up the map by giving the player a portal gun with the pedestal it was on in the original game (pedestal_center_reference and pedestal_base_reference). What I'd like to have happen is for the pedestal itself to rise out of the base after the player hits a trigger. How would one go about doing something like that? Would it be a func_movelinear, and if so would I have to tie that to a path_track?
Thanks for reading (and potentially helping!)
Picture for reference, if that helps at all: http://imgur.com/LWwrz (yeah I know the textures are horrible, the map's not fully built yet.)
Quote from msleeper on May 25, 2011, 5:29 pmA func_door would be sufficient for the raising. Say you have a 32x32x8 flat brush as the floor where the pedestal is. Make that into the func_door. Then parent your models and the portalgun to the door. You can then use a trigger_once to make the door "open" which would make it raise up.
A func_door would be sufficient for the raising. Say you have a 32x32x8 flat brush as the floor where the pedestal is. Make that into the func_door. Then parent your models and the portalgun to the door. You can then use a trigger_once to make the door "open" which would make it raise up.
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Quote from NocturnalGhost on May 27, 2011, 5:39 amThe amount it moves is determined by it's size. The wiki explaination is "It always opens far enough that it does not occupy the space it spawned in." So, if you had a 64 unit high func_door that opened upwards, it would move up by 64 units.
You can make it move less or more than this amount by adjusting the "lip" field to a positive or negative number.
The amount it moves is determined by it's size. The wiki explaination is "It always opens far enough that it does not occupy the space it spawned in." So, if you had a 64 unit high func_door that opened upwards, it would move up by 64 units.
You can make it move less or more than this amount by adjusting the "lip" field to a positive or negative number.
