Please or Register to create posts and topics.

Portal Grenades?

PreviousPage 3 of 3
HMW wrote:
(Did you know that an env_laser doesn't go through portals? :evil:)

Yes. I discovered that in the first and only tasty treats map, I tried to kill the turret with one of those lasers, but it didn't work.

On topic, you could basically place a prop portal everywhere that you can in a map, and if a grenade goes off close to it, it would open, but that would make the map have to be quite small.

does anyone know how to get an entity to move to the location of another entity?
ie, get a prop_portal to go to the same location as a box or something?

Not possible. The closest thing was in HL1 with the air raid thing where you had to target an area, but you can't get something's location and teleport it there with just Hammer.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
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.

damn!
i was trying to use a logic_measure_movement to get a prop_portal to follow a box (i was just using a box as it was easier than a grenade, plus i could never get the grenade models to appear and be pickup-able...) but the prop_portal didnt move with it...
the prop_portal does have a NewLocation input, but it requires coordinates and pitch, and as u said, there isnt a way to input those values into it... :/

monkeyman wrote:
damn!
i was trying to use a logic_measure_movement to get a prop_portal to follow a box (i was just using a box as it was easier than a grenade, plus i could never get the grenade models to appear and be pickup-able...) but the prop_portal didnt move with it...
the prop_portal does have a NewLocation input, but it requires coordinates and pitch, and as u said, there isnt a way to input those values into it... :/

If you want it to move with it can't you set the parent? and if it doesn't have a parent box, can't we add one by disabling smartEdit? Would it work?

I am pretty sure you can't parent a prop_portal, and if you can I'm pretty sure it has to be attached to geometry to actually show up. Assuming it even has a parent field, you could parent it to the phys object and set a phys_keepupright, but then you're going to run into a hilarious problem - You lob the object, it hits the ground and opens a portal. The object falls through said portal, taking said portal along with it since it's parented. Assuming you could even get any of it to work, you'd probably instantly crash right then and there.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
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.

no, you can't parent a prop_portal...
the prop_portal would be attached to geoemetry when it is activated because the 'grenade' would have to land on the ground to activate...
also, if it was parented to say a box, i madea button to break the box, then set the output of the box to Onbreak and made it fire the prop_portal to open a portal. so the box explodes and the portal appears...

@ pestchamber: whats smartedit? is that something i can disable thru hammer?
edit: nevermind... found smartedit... it does give an option for parenting though...

Does this mean that you got it to work? Or are these just snowballing ideas...?

no, not working yet...
i can get it to explode and a portal to appear, but i can't get the portal to appear at the spot the box exploded yet...
i have been playing around using constraints and parenting an env_entity_maker to the grenade, but when i do that, the portal doesnt spawn which is weird... no idea why it is doing that...
i have another idea of something to try... i have been searching thru the valve developer wiki for info about the different entities...

ok, i have had a breakthrough...
i have made a button which activates and deactivates the blue portal.
i have a box which u can move around, and wherever the box is, thats where the portal will spawn whenever you stand on the button
now all i need to do is make sure that the the portal always spawns facing upwards...
it currently doesnt, and u get some very weird effects... a box sitting on itself, or a portal half inside another portal...

PreviousPage 3 of 3