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

L4D Sourcemod Extension


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 03-29-2009 , 02:08   L4D Sourcemod Extension
Reply With Quote #1

Would anyone be interested in a l4d SM extension? I constantly see plugin requests that are difficult, inefficient or not doable with Sourcemod alone. I know SM has a TF2 extension so I was just wondering if one for Left4Dead would be useful.

If you are interested in it, please give me an idea of what type of functions you would want (hooks/natives) and I will look into making one and possibly submitting it to be officially included with Sourcemod.
__________________
CrimsonGT is offline
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 03-29-2009 , 05:21   Re: L4D Sourcemod Extension
Reply With Quote #2

Entity touch hook
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 03-29-2009 , 06:37   Re: L4D Sourcemod Extension
Reply With Quote #3

I believe the reason for not having an L4D extension was that it wasn't really necessary (although targetting teams is always useful), same reason there's no DoD:S extension (being able to target teams would be useful there too ). I think entity touch hooks are too generic, that should be in an extension that works on all games (provided you have the signature for those games). I can't think of anything L4D specific that needs an extension.

Well... other than being able to call functions on Director
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 03-29-2009 at 06:39.
DJ Tsunami is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 03-29-2009 , 11:00   Re: L4D Sourcemod Extension
Reply With Quote #4

Yeah some of the Director functions are strange. I saw a few that had struct params which I have no clue on. Most of the stuff I can think of probably wouldnt be worth adding to Sourcemod as a whole, but an unofficial extension probably wouldn't hurt. Just need some ideas of what people might need.
__________________
CrimsonGT is offline
raydan
Senior Member
Join Date: Aug 2006
Old 04-02-2009 , 11:41   Re: L4D Sourcemod Extension
Reply With Quote #5

need 8 player in coop?
i try few way to do that, but i can't find something, may be you can do that

1. break "#valve_server_full' function in engine.dll, CBaseServer class "GetFreeClient()" and "GetNextUserID()"

2. break "Human player limit reached" function in server.dll.

3. hook "GetMaxHumanPlayers()" and return larger integer. (vitrual function in .h)

4. find "GetNumHumanPlayers()" from engine.dll, return a new value, to player join server when full.

i fail on point 4, can't find the signatures. may be someone can do that.

Last edited by raydan; 04-02-2009 at 11:44.
raydan is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 04-02-2009 , 11:43   Re: L4D Sourcemod Extension
Reply With Quote #6

Ive already done 3/4 with my L4D Versus Tools. I use both GetNumHumanPlayers and GetMaxHumanPlayers in it.
__________________
CrimsonGT is offline
raydan
Senior Member
Join Date: Aug 2006
Old 04-02-2009 , 23:09   Re: L4D Sourcemod Extension
Reply With Quote #7

would you mine give me a signatures of GetNumHumanPlayers for me?
raydan is offline
madcap
Senior Member
Join Date: Feb 2009
Old 04-05-2009 , 21:14   Re: L4D Sourcemod Extension
Reply With Quote #8

If there was a way to manipulate scores that would be super cool! Not sure if that's something you can get to.
madcap is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 04-09-2009 , 08:20   Re: L4D Sourcemod Extension
Reply With Quote #9

Quote:
Originally Posted by raydan View Post
would you mine give me a signatures of GetNumHumanPlayers for me?
Its in the l4d SDK that DS reverse engineered for SM. No reason to find a sig for it unless your worried about it changing.
__________________
CrimsonGT is offline
NeoDement
Member
Join Date: Mar 2009
Old 05-27-2009 , 23:37   Re: L4D Sourcemod Extension
Reply With Quote #10

It'd be handy to have a way of replacing one survivor with another, so you could have many Bills. Or so you could switch who was playing as what survivor.
__________________
I'm not being funny but guys, I'm a bit fit, y'know?
NeoDement 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 15:43.


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