Raised This Month: $51 Target: $400
 12% 

L4D/L4D2 Ghost Fly


Post New Thread Reply   
 
Thread Tools Display Modes
dacomb
Senior Member
Join Date: Oct 2009
Old 01-01-2010 , 16:53   Re: L4D/L4D2 Ghost Fly
Reply With Quote #31

Quote:
Originally Posted by dacomb View Post
Will do. Thanks man!
Do you have more flexible parameters on the fly speed?
nevermind. I just edited the source and changed the minimum to max_speed to 100.

I want to try this out at a lower speed to see if it will be easier to control.
Flying at 500 is really hard to be precise with and sometimes I end up across the map when I just wanted to float around an area and find a choice spot.
Hoping the lower fly speed will help.
dacomb is offline
dacomb
Senior Member
Join Date: Oct 2009
Old 01-03-2010 , 23:28   Re: L4D/L4D2 Ghost Fly
Reply With Quote #32

@Crimson_Fox

I keep getting this error in my logs with your version... any thing to worry about?

Code:
L 01/04/2010 - 03:29:46: [SM] Displaying call stack trace for plugin "ghostfly.smx":
L 01/04/2010 - 03:29:46: [SM]   [0]  Line 57, /home/groups/sourcemod/upload_tmp/phpVACpO5.sp::Event_RoundStart()
L 01/04/2010 - 03:36:56: Error log file session closed.
dacomb is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 01-04-2010 , 07:28   Re: L4D/L4D2 Ghost Fly
Reply With Quote #33

Quote:
Originally Posted by dacomb View Post
@Crimson_Fox

I keep getting this error in my logs with your version... any thing to worry about?

Code:
L 01/04/2010 - 03:29:46: [SM] Displaying call stack trace for plugin "ghostfly.smx":
L 01/04/2010 - 03:29:46: [SM]   [0]  Line 57, /home/groups/sourcemod/upload_tmp/phpVACpO5.sp::Event_RoundStart()
L 01/04/2010 - 03:36:56: Error log file session closed.
No, but I got a new version that has an updated notification with the fix for it. Should also work for L4D1.

Last edited by Crimson_Fox; 02-28-2010 at 04:17.
Crimson_Fox is offline
dacomb
Senior Member
Join Date: Oct 2009
Old 01-04-2010 , 14:19   Re: L4D/L4D2 Ghost Fly
Reply With Quote #34

Quote:
Originally Posted by Crimson_Fox View Post
No, but I got a new version that has an update notification with the fix for it. Should also work for L4D1.
Sweet, thanks man.
Also, I edited your base code and set the min_max_speed to 100.
I use a max speed of 200 and this seems to make controlling the flight much better.
For simple running ahead I just changed the Ghost base speed to 550 or which lets me get far enough ahead quickly and then I can fly to higher locations without worrying about overshooting or ending up on the wrong side of the map by accident.
Give it a try if you feel compelled.
dacomb is offline
hutz
Junior Member
Join Date: Dec 2009
Old 01-07-2010 , 05:49   Re: L4D/L4D2 Ghost Fly
Reply With Quote #35

Might there be anything you or I can do to prevent spawning while in midair?
hutz is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 01-07-2010 , 09:04   Re: L4D/L4D2 Ghost Fly
Reply With Quote #36

Quote:
Originally Posted by hutz View Post
Might there be anything you or I can do to prevent spawning while in midair?
I think it's possible, but I'm not looking to add new features to the plug-in as I'm not the maintainer. Try sending mapcap a PM and see if he replies.
Crimson_Fox is offline
cigs
Senior Member
Join Date: Jul 2006
Old 01-13-2010 , 11:13   Re: L4D/L4D2 Ghost Fly
Reply With Quote #37

Code:
public Action:NotifyClient(Handle:timer, any:client)
{
    if (isEligible(client))
        PrintToChat(client, "As a ghost you can fly by holding your RELOAD button.");
}
To what do I change this piece of code to make the message "As a ghost you can fly by holding your RELOAD button." only show to infected?

EDIT: nevermid. Found out how.

by adding this at the top:

#define TEAM_INFECTED 3

and changing the above to this:

Code:
public Action:NotifyClient(Handle:timer, any:client)
{
    if (isEligible(client))
    {
        new team = GetClientTeam(client);
        if(team == TEAM_INFECTED)
        PrintToChat(client, "[SM] As ghost infected use the reload key to fly or leap.");
    }
}
__________________

Last edited by cigs; 01-17-2010 at 07:24.
cigs is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 01-16-2010 , 23:55   Re: L4D/L4D2 Ghost Fly
Reply With Quote #38

L 01/17/2010 - 03:19:06: SourceMod error session started
L 01/17/2010 - 03:19:06: Info (map "c3m1_plankcountry") (file "errors_20100117.log")
L 01/17/2010 - 03:19:06: [SM] Native "SetEntData" reported: Entity 4 (4) is invalid
L 01/17/2010 - 03:19:06: [SM] Displaying call stack trace for plugin "ghostfly.smx":
L 01/17/2010 - 03:19:06: [SM] [0] Line 149, ghostfly.sp::SetMoveType()
L 01/17/2010 - 03:19:06: [SM] [1] Line 131, ghostfly.sp::StopFlying()
L 01/17/2010 - 03:19:06: [SM] [2] Line 97, ghostfly.sp::OnGameFrame()
L 01/17/2010 - 039:05: Error log file session closed.

MMS 1.8, SM 1.4, windows xp srcds
Skorpion1976 is offline
madcap
Senior Member
Join Date: Feb 2009
Old 02-23-2010 , 14:22   Re: L4D/L4D2 Ghost Fly
Reply With Quote #39

Sorry, I've been away from L4D2 for a while, just getting back to to it now. Will try to address all issues soon-ish.
madcap is offline
madcap
Senior Member
Join Date: Feb 2009
Old 02-24-2010 , 15:44   Re: L4D/L4D2 Ghost Fly
Reply With Quote #40

Is anyone currently having problems with the plugin I wrote? Looking through the last few pages of comments it looks like everyone is talking about Crimson Fox's version.
madcap is offline
Reply



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 17:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode