teleport help

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
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

teleport help

Post by jojo3450 »

Ok so I made a teleporter and it works only one problem. Ok so the teleportregion is high up and the node is on the bottom terrain level. When I go through it I spawn high above the node and fall. what can be the problem?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: teleport help

Post by Marth8880 »

Try raising the height of the node a bit.
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Re: teleport help

Post by jojo3450 »

The region is high above on a tall building and the spawn node is below on the ground. When I enter the region I teleport but only on the
z and x axis but not on the y axis? so I move to the spawn node but I'm still high up. why?
edit: what is a portal? btw
sharp
Private Third Class
Posts: 45
Joined: Sat Apr 18, 2015 7:46 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: teleport help

Post by sharp »

I have had the same problem, but i have not figured out how to fix it...

From my point of view: a portal is a kind of teleporter with an image of a place where you're going to land (a kind of sphere)
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: teleport help

Post by Marth8880 »

sharp wrote:From my point of view: a portal is a kind of teleporter with an image of a place where you're going to land (a kind of sphere)
Wrong kind of portal. ;) https://sites.google.com/site/swbf2modt ... rtalsystem
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Re: teleport help

Post by jojo3450 »

yea I read it but don't understand it. I think its like a teleporter maybe? Can anyone explain.
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: teleport help

Post by [RDH]Zerted »

Teleporting seems to be like a super fast run. Normally you run so fast that you move through the walls before the collision detection is applied. However sometimes that doesn't happen. I assume there's a floor between the two points? Maybe you're hitting the floor before the unit is moving fast enough. Try moving the starting point further away from any walls and floors.

If that doesn't work, move the end point closer and see if that has any effect. Don't just move it a little bit, stick it at the half-way point. If it works there, move it another half-way towards the ground and keep repeating that until it stops working. If it didn't work, move it half-way towards the starting point and keep repeating that until it starts working. If it never works, is your starting point about the map bounds? Also make sure your end point isn't below the ground level.

You can teleport across all 3 dimensions, including angle and rotation so what you want to do should be possible.

As for sectors and portals: see your other topic: gametoast.com/viewtopic.php?f=27&t=31395
Post Reply