View Single Post
Author Message
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 07-11-2009 , 11:42   [L4D & L4D2] Infected Ghost Everywhere
Reply With Quote #1

Are you too annoyed by the default L4D(2) teleport System as Infected Ghost? It always brings you to the Survivor who is farthest (navigation wise), and then doesn't even turn you in his running direction. If he's running for it, you have a hard time spawning infront of him.

Also, you can't ever warp to Survivors splitting behind the lead one.


Well, NOT ANYMORE

This Plugin completely replaces the default system. By pressing (or holding) USE you now get teleported to every other Player in turn (one each second, so you don't shoot past your target). Also, it has you face the same way the Target is facing, so you can immediatly charge past him and find an ambush spot.

[ Version 1.3 includes teleporting to Infected. Both as feature and because i cannot get them rid of in function output ]

As an added bonus you get a small over-crosshair-message about who you just teleported to.


This plugin comes in two version because it was originally built for a new Sourcemod 1.3 command. To use the SM 1.3 Version, you need .. well Sourcemod 1.3

I've also written a Version for SM 1.2 using good ol' OnGameFrame, which in theory uses up somewhat more server resources.


Changelog

1.0 - First Release
1.1 - Added Fallback code if all else fails.
1.2 - Complete Code Rework. Should work a lot better now
1.3 - Extensive Bugfixing
1.4 - Should not teleport to dead Bots anymore
1.5 - code cleanup
Attached Files
File Type: sp Get Plugin or Get Source (l4d_infectedghosteverywhere_SM1.3.sp - 4182 views - 2.9 KB)
File Type: sp Get Plugin or Get Source (l4d_infectedghosteverywhere.sp - 2997 views - 3.0 KB)

Last edited by AtomicStryker; 11-20-2009 at 11:48.
AtomicStryker is offline