Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Killing Floor Modifications > Level Design

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2012, 08:45 PM
KFMods KFMods is offline
Junior Member
 
Join Date: Jun 2012
Posts: 2
Default KFTeleporter only for Zeds....

Hi, Is there any posibility anyone could help me with a script for Teleport only zeds? Here in this forum I only found the Jumpad only for zeds and it works great, but I need to especifically teleport zeds around the map.

The code for the Jumpad:
Code:
class UTJumpPad extends JumpPad     placeable;  function PostBeginPlay() {     local int i;      Super.PostBeginPlay();      if ( (Level.Game != None) && Level.Game.IsA('ONSOnslaughtGame') )     {         // fixme - useful for all gametypes, but only tested with Onslaught         // should be in path creation code         for ( i=0; i<PathList.Length; i++ )             if ( PathList[i].End == JumpTarget )             {                 PathList[i].Distance *= 0.5;                 break;             }     } }  event Touch(Actor Other) {     if ( (UnrealPawn(Other) == None) || (Other.Physics == PHYS_None) )         return;      PendingTouch = Other.PendingTouch;     Other.PendingTouch = self; }  event PostTouch(Actor Other) {     local Pawn P;     local Bot B;      Super.PostTouch(Other);      P = UnrealPawn(Other);     if ( P == None )         return;      B = Bot(P.Controller);         if ( (B != None) && (PhysicsVolume.Gravity.Z > PhysicsVolume.Default.Gravity.Z) )         B.Focus = B.FaceActor(2); }      /* defaultproperties {     JumpSound=sound' } */
Reply With Quote
  #2  
Old 06-23-2012, 03:30 PM
FluX FluX is offline
Senior Member
 
Join Date: Oct 2010
Posts: 3,729
Default

isn't there a setting inside the properties to choose what actors can use it?
__________________

Reply With Quote
  #3  
Old 06-23-2012, 03:55 PM
ro_sauce ro_sauce is offline
Senior Member
 
Join Date: Sep 2007
Posts: 3,110
Default

no, everyone can use it, just put a zombiezone volume around it, and change it's collision radius to fit inside the volume, that way human player dont touch it, only zeds.
__________________


For RO2 Crash Support Help, PM me your problem and teamview connection, and I will see if I can fix it for you.
Reply With Quote
  #4  
Old 06-24-2012, 04:14 AM
Murphy's Avatar
Murphy Murphy is offline
Senior Member
 
Join Date: Nov 2005
Posts: 6,988
Default

Sorry to be offtopic, but is that jumppad whitelisted?
This looks super convenient.
__________________
Reply With Quote
  #5  
Old 06-24-2012, 04:54 AM
ro_sauce ro_sauce is offline
Senior Member
 
Join Date: Sep 2007
Posts: 3,110
Default

thats just the regular jumppad.
its not zed specific.
__________________


For RO2 Crash Support Help, PM me your problem and teamview connection, and I will see if I can fix it for you.
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 -4. The time now is 05:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC