Portal Grenades?
HMW wrote:
(Did you know that an env_laser doesn't go through portals?)
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.
ie, get a prop_portal to go to the same location as a box or something?
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?
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...
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...
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...
)