Page 1 of 1
Teleporting Gun
Posted: Tue Feb 03, 2009 12:11 am
by bhawkgoalie10
hey guys,
ive looked through many of the forums about grappling hooks, teleporting, etc and i havent found a clear explanation on how to create a teleport gun. from what ive seen it is possible, so if anyone could provide me with information on how to that would be helpful

.
ive already created a teleport region using penguin's post
here. again, im just wondering how to somehow implement this into a gun.
Re: Teleporting Gun
Posted: Tue Feb 03, 2009 12:39 am
by Commander_Fett
Well, you may be able to have it so that when the gun is fired, it would teleport people on a team or a type of unit to a certain spot(with LUA coding), but I don't think you could make it so that it only affects the people you aim at. I don't think it's possible to have a real "teleport gun". I'm no expert, but I believe that's right. Please correct me if I'm wrong, sounds pretty cool.
Re: Teleporting Gun
Posted: Tue Feb 03, 2009 12:42 am
by bhawkgoalie10
ahh sorry, need to clarify. when i mean "teleport gun" i dont mean to teleport others, more of a gun that sets up a portal to shoot you somewhere.
Re: Teleporting Gun
Posted: Tue Feb 03, 2009 9:58 am
by Teancum
A
translocator-style weapon should be possible if that's what you're looking for. Never made one, but given what's been done thus far it should be possible.
Re: Teleporting Gun
Posted: Tue Feb 03, 2009 10:05 am
by [RDH]Zerted
Would this be for single player, multi-player, or both?
Re: Teleporting Gun
Posted: Tue Feb 03, 2009 12:52 pm
by bhawkgoalie10
Teancum wrote:A
translocator-style weapon should be possible if that's what you're looking for. Never made one, but given what's been done thus far it should be possible.
yeah! thats a great example thanks for finding it

. now it just has to be made....and im not sure how.
[RDH]Zerted wrote:Would this be for single player, multi-player, or both?
well, im making a mod for my clan, so i would say both. the teleport gun isnt crucial, i just thought it would be a unique idea to put in my mod that they would really enjoy. making this could also help out anybody else who's interested

Re: Teleporting Gun
Posted: Tue Feb 03, 2009 5:29 pm
by Fiodis
bhawkgoalie10 wrote:making this could also help out anybody else who's interested
I'm definetly interested. Unfortunately, I'm not much of a LUA coder. If someone could outline the code that would be needed, that'd be great!

Re: Teleporting Gun
Posted: Wed Feb 04, 2009 8:27 am
by bhawkgoalie10
anyone?
Re: Teleporting Gun
Posted: Wed Feb 04, 2009 10:36 am
by Frisbeetarian
Instead of asking someone else to do it, why don't you try to figure it out for yourselves. The community is here if you have a specific question on making it, but if you don't want to spend the time to mod, I'd suggest mentioning this in the request thread.
Re: Teleporting Gun
Posted: Wed Feb 04, 2009 3:51 pm
by bhawkgoalie10
Frisbeetarian wrote:Instead of asking someone else to do it, why don't you try to figure it out for yourselves. The community is here if you have a specific question on making it, but if you don't want to spend the time to mod, I'd suggest mentioning this in the request thread.
uhm what do you think i've been trying to do? tean hasnt even made one, but people like him have experience in these kinds of things, whereas i dont. i was asking for help on how i could make this. and once i learn i can make things on my own with more ease and help others. any help whatsoever is appreciated.
Re: Teleporting Gun
Posted: Wed Feb 04, 2009 10:08 pm
by RogueKnight
Frisbeetarian wrote:Instead of asking someone else to do it, why don't you try to figure it out for yourselves. The community is here if you have a specific question on making it, but if you don't want to spend the time to mod, I'd suggest mentioning this in the request thread.
You cant just tell someone new to modding to go and learn something as complicated as that, for gods sake, Tean hasn't even done it! If your gonna tell him to learn something that complicated, at the least link him to something that may help him.
Re: Teleporting Gun
Posted: Wed Feb 04, 2009 10:30 pm
by Fiodis
Re: Teleporting Gun
Posted: Thu Feb 05, 2009 12:07 am
by bhawkgoalie10
THATS IT! perfect, just perfect.
thanks fiodis! now we just have to make it lol. hmm, now if we did what mav did, i wonder if we could replace the auto turret with a mine, or some object with a blinking light and possibly a transparacy. it would seem more reasonable to me.
Re: Teleporting Gun
Posted: Thu Feb 05, 2009 1:54 pm
by [RDH]Zerted
You can replace it with anything that you can dispense, control, or throw.
Also, Galactic Conquest draws lines to connect all those planets together. In theory, it is possible to draw the same lines from the thrown object back to the player. This will give it more of a grappling hook look (I know thats not what you're looking for, but others are). To find the code for that, use the Example Finder and search for DrawLine.
Re: Teleporting Gun
Posted: Thu Feb 05, 2009 11:56 pm
by bhawkgoalie10
no results :/
still love the example finder though, its helped me with a lot
hmm maybe mav could help us out here? and actually, a grappling hook type gun is fine by me. right now my main concern is just understanding how to make it, and then doing it. lol im pretty pumped

Re: Teleporting Gun
Posted: Fri Feb 06, 2009 12:09 am
by Frisbeetarian
I think what you're looking for is DrawLanes.