View Single Post
Author Message
madcap
Senior Member
Join Date: Feb 2009
Old 08-14-2009 , 23:21   L4D/L4D2 Ghost Fly
Reply With Quote #1

This plugin works great in L4D2. It is especially handy in scavenge maps.

This plugin lets player ghosts fly in L4D by holding their reload button.

The first time you run this plugin it will create a config file called sm_plugin_ghost_fly.cfg. It has the following cvars:

l4d_ghost_fly - 1 enables the plugin, 0 disables.
l4d_ghost_fly_speed - Controls the speed of flying. More is faster.
l4d_ghost_max_speed - Sets a max speed.

The default values are very good so I would recommend keeping them.

Ghosts will be automatically notified that they can use this ability.

Changelog:
Code:
1.0.0 - Release
1.0.1 - Minor efficiency tweak
1.1.1 - Now using OnPlayerRunCmd
Is this similiar to Ghost Leap? Yes. I had been working for a while to adapt the jetpack plugin to work on L4D ghosts. When I saw ghost leap I realized I could easily plug the jetpack flying mechanic into the framework for Ghost Leap. I was very pleased with the result and posted it in the Ghost Leap thread but received no feedback so now I'm submitting it as its own plugin. I think this mechanic works better but anyone is free to disagree.
Attached Files
File Type: sp Get Plugin or Get Source (ghostfly.sp - 14450 views - 3.9 KB)

Last edited by madcap; 02-27-2010 at 18:52. Reason: L4D2
madcap is offline