News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 12th Sep 2001, 04:13 PM   #1
navboy
Registered User
 
Join Date: Jan. 5th, 2001
Location: tornados, Wizard of Oz, 70's rock group, lots of native Americans, etc.
Posts: 340
modifying Teleporter actor

i've got a modified teleporter which is working fine. While i'm at it, i'd really like to prevent telefragging. I've pored over all the relevant code, but have to confess i can't see exactly how to do it. Was just hoping someone may already be familiar enough with it to point me in the right direction ... ?

I thought about patterning off the way warpzones do it, but i really can't convince myself that it won't cause undesirable side effects ...
navboy is offline   Reply With Quote
Old 12th Sep 2001, 04:22 PM   #2
Bytekeeper
Last of the Brunnen G
 
Bytekeeper's Avatar
 
Join Date: Jul. 15th, 2001
Location: Germany
Posts: 64
I didn't ever use teleporters or subclasses of them, but you have a few choices :
Check the Touch[] list of the target teleporter, if any players are in there, or
trace a line at the target teleporter and test if it hits an player.
__________________
-
Dante

Defence Alliance coder
www.planetunreal.com/da/
Bytekeeper is offline   Reply With Quote
Old 13th Sep 2001, 01:36 AM   #3
navboy
Registered User
 
Join Date: Jan. 5th, 2001
Location: tornados, Wizard of Oz, 70's rock group, lots of native Americans, etc.
Posts: 340
i guess what i don't understand is whether the game engine enforces telefragging no matter what meaning i'd have to find a way to delay/retry the teleport until the target is clear, or whether there is some flag or other setting which would let it handle the exchange without killing one of the players.
navboy is offline   Reply With Quote
Old 13th Sep 2001, 10:07 AM   #4
Captain Kewl
I know kewl.
 
Captain Kewl's Avatar
 
Join Date: Feb. 13th, 2001
Location: IN YOUR HOUSE
Posts: 794
All the teleporter does is move actors from one location to another, AFIK. The telefragging is caused by the pawns themselves -- try messing around with the function in Pawn with the word "encroaching" somewhere in it.
Captain Kewl is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer