Linked movement between objects
Quote from Lpfreaky90 on October 9, 2011, 1:25 pmHey all,
I'm currently trying to build a level with various colors of lasers.
However, since there's only one color portal_laser that's a problem!
So I chose to use env_laser and try to work with that. Well: that doesn't trigger anything so another dead end.Finally I came up with the idea of creating a map and a duplicate map, which you cannot see, but that does the actual work. This duplicate is called "shadow".
So what I want to do is create a link between the cube in the level and in the shadow map.
That way I can use the input from the real lasers to create env_lasers in the normal map.
To make it even worse... I would also like to keep the orientation of both cubes the same. If it is the opposite direction for example you see that you're aiming on your goal, but in the shadow map you're not, so nothing happens.
![]()
![]()
So if anyone knows how to keep both cubes in the same position and orientation: please let me know!!!
Ps: I also looked at the .vmf of quantum_entanglement (sp?) that works with on pickup and on drop triggers, and I'm afraid that doesn't work.
Ps2: Parenting objects won't work since objects also have to rotate
Hey all,
I'm currently trying to build a level with various colors of lasers.
However, since there's only one color portal_laser that's a problem!
So I chose to use env_laser and try to work with that. Well: that doesn't trigger anything so another dead end.
Finally I came up with the idea of creating a map and a duplicate map, which you cannot see, but that does the actual work. This duplicate is called "shadow".
So what I want to do is create a link between the cube in the level and in the shadow map.
That way I can use the input from the real lasers to create env_lasers in the normal map.
To make it even worse... I would also like to keep the orientation of both cubes the same. If it is the opposite direction for example you see that you're aiming on your goal, but in the shadow map you're not, so nothing happens.
So if anyone knows how to keep both cubes in the same position and orientation: please let me know!!!
Ps: I also looked at the .vmf of quantum_entanglement (sp?) that works with on pickup and on drop triggers, and I'm afraid that doesn't work.
Ps2: Parenting objects won't work since objects also have to rotate
Quote from ChickenMobile on October 9, 2011, 10:33 pmI remember two threads that would help you with this: post45651.html? ( I think you started that one ) and post45715.html? which will keep the objects synchronised with the axis'
I remember two threads that would help you with this: post45651.html? ( I think you started that one ) and post45715.html? which will keep the objects synchronised with the axis'

