AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   L4D Sourcemod Extension (https://forums.alliedmods.net/showthread.php?t=88771)

CrimsonGT 03-29-2009 02:08

L4D Sourcemod Extension
 
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.

KawMAN 03-29-2009 05:21

Re: L4D Sourcemod Extension
 
Entity touch hook

DJ Tsunami 03-29-2009 06:37

Re: L4D Sourcemod Extension
 
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 :P). 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 :D

CrimsonGT 03-29-2009 11:00

Re: L4D Sourcemod Extension
 
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.

raydan 04-02-2009 11:41

Re: L4D Sourcemod Extension
 
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.

CrimsonGT 04-02-2009 11:43

Re: L4D Sourcemod Extension
 
Ive already done 3/4 with my L4D Versus Tools. I use both GetNumHumanPlayers and GetMaxHumanPlayers in it.

raydan 04-02-2009 23:09

Re: L4D Sourcemod Extension
 
would you mine give me a signatures of GetNumHumanPlayers for me?

madcap 04-05-2009 21:14

Re: L4D Sourcemod Extension
 
If there was a way to manipulate scores that would be super cool! Not sure if that's something you can get to.

CrimsonGT 04-09-2009 08:20

Re: L4D Sourcemod Extension
 
Quote:

Originally Posted by raydan (Post 795968)
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.

NeoDement 05-27-2009 23:37

Re: L4D Sourcemod Extension
 
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.

Downtown1 05-29-2009 18:48

Re: L4D Sourcemod Extension
 
Quote:

Originally Posted by NeoDement (Post 836270)
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.

sb_takecontrol <Botname>
sb_add <botname>


All times are GMT -4. The time now is 18:57.

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