Teleporting Gun

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
bhawkgoalie10
Private Second Class
Posts: 60
Joined: Mon Dec 29, 2008 1:55 pm

Teleporting Gun

Post 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 :D.

ive already created a teleport region using penguin's post here. again, im just wondering how to somehow implement this into a gun.
Commander_Fett
High General
High General
Posts: 847
Joined: Fri Oct 17, 2008 9:59 pm
Projects :: No Mod project currently.

Re: Teleporting Gun

Post 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.
bhawkgoalie10
Private Second Class
Posts: 60
Joined: Mon Dec 29, 2008 1:55 pm

Re: Teleporting Gun

Post 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.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Teleporting Gun

Post 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.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Teleporting Gun

Post by [RDH]Zerted »

Would this be for single player, multi-player, or both?
bhawkgoalie10
Private Second Class
Posts: 60
Joined: Mon Dec 29, 2008 1:55 pm

Re: Teleporting Gun

Post 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 :D. 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 :P
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Teleporting Gun

Post 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! :D
bhawkgoalie10
Private Second Class
Posts: 60
Joined: Mon Dec 29, 2008 1:55 pm

Re: Teleporting Gun

Post by bhawkgoalie10 »

anyone?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Teleporting Gun

Post 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.
bhawkgoalie10
Private Second Class
Posts: 60
Joined: Mon Dec 29, 2008 1:55 pm

Re: Teleporting Gun

Post 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.
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

Re: Teleporting Gun

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Teleporting Gun

Post by Fiodis »

bhawkgoalie10
Private Second Class
Posts: 60
Joined: Mon Dec 29, 2008 1:55 pm

Re: Teleporting Gun

Post 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.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Teleporting Gun

Post 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.
bhawkgoalie10
Private Second Class
Posts: 60
Joined: Mon Dec 29, 2008 1:55 pm

Re: Teleporting Gun

Post by bhawkgoalie10 »

no results :/
still love the example finder though, its helped me with a lot :D

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 :P
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Teleporting Gun

Post by Frisbeetarian »

I think what you're looking for is DrawLanes.
Post Reply