Hi, I was wondering if there is a way I can I could make a teleportation gun.
I don't mean the portal gun which is provided by Valve, however I was thinking about modifying it.
I want the weapon to be more of a one way teleportation.
For example, if the projectile entity hit a solid surface, teleport the player to that location.
I don't necessarily want someone to just give me the answer, I want to be pushed in the right direction so I can learn it properly.
I have some experience C++, so I feel its defiantly do-able.
Any help is greatly appreciated.
So kinda like the translocator in UT? If you have a basic idea on C++ you should know how to do this. You would have a projectile and when that projectile hits something you set the origin of the player to where it hit after doing some collision checks to make sure they can fit where you teleported them to.
It sounds like you know that already and I'm not sure how else this can be explained to you without spoonfeeding you code.
Sorry, you need to Log In to post a reply to this thread.