[ANY?] No FallDamage (V0.6.3, 03.10.2020)
3 Attachment(s)
Description
I know there are at least 2 plugins that do the same. The first plugin is not maintained by its author since it's more a snippet from the forums than a script and it does not handle late-loads. The other one uses an extension that is not supported anymore. CVAR/Command list
CHANGELOG
Links Servers with this plugin Notes This plugin should work in any game that has SdkHooks support. Plugin will not compile on the forums due the dependence of SdkHooks Teamfiltercheck comes before the clientfiltercheck Clientfilter used the generic flag to determine admins and makes use of the command override sm_nofalldamage_immune, look here for information on how you can use this. |
Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
i kinda don't understand how this works, i get the getting of the filter, and stuff, but why does it check if the filter is on the map?
|
Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
Well, because some maps eliminate the falldamage by theirselfes, i had to check if they do so.
Unfortunately the check is not 100% sure. Yours sincerely Impact |
Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
One thing I just quickly noted is that you checked IsClientConnected && IsClientInGame.
For a client to be in game they must be connected, so you can cut the IsClientConnected out if you are checking for IsClientInGame. Have you checked that the hill in Dark Carnival map 1 (L4D2) doesn't trigger the fall damage event? The hill uses a trigger_multiple with OnStartTouch !activator IgnoreFallDamageWithoutReset 10. Not sure if stops the player_falldamage event. |
Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
This was my first plugin, there are some things i would critique by another developer, but i do not plan to update it.
As written, i only tested this with CS:S. Yours sincerely Impact |
Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
Is there a way to make this plugin work for the admin only?
|
Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
Of course, but i think that would be really unfair to other players.
Yours sincerely Impact |
Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
Well yeah...but can you please tell me how?
|
Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
Normally you would create an variable for every player and save if he is admin in it.
In the Eventcalback then check if that variable is set to xyz, else do nothing. Another thing you can do is, check if he is admin every time an player falls, you can use this for it. I doubt this helps you, but this would be the way to go. Yours sincerely Impact |
Re: [ANY?] No FallDamage (V0.2, 10.05.2012)
Well, the mp_falldamage event didn't cut it.
I've rewrote the whole plugin, it now uses SdkHooks and should work on any game that SdkHooks has support for. It now also recognises lateloads. Yours sincerely Impact |
Re: [ANY?] No FallDamage (V0.2, 10.05.2012)
can u add team filter?
|
Re: [ANY?] No FallDamage (V0.2, 10.05.2012)
I can add whatever you want it if makes sense to add it.
Do you mean something like this? Code:
sm_noblock_teamfilter "0" Impact |
Re: [ANY?] No FallDamage (V0.2, 10.05.2012)
Quote:
|
Re: [ANY?] No FallDamage (V0.2, 10.05.2012)
Quote:
|
Re: [ANY?] No FallDamage (V0.2, 10.05.2012)
Quote:
Quote:
Yours sincerely Impact |
Re: [ANY?] No FallDamage (V0.2, 10.05.2012)
Quote:
work fine for me |
Re: [ANY?] No FallDamage (V0.3, 15.05.2012)
Update v0.3
Okay, i have added the last 2 requests from you guys. Code:
* 15.05.2012 Yours sincerely Impact |
Re: [ANY?] No FallDamage (V0.3, 15.05.2012)
Update v0.4
Code:
* 15.05.2012 Impact |
Re: [ANY?] No FallDamage (V0.5, 06.08.2012)
Update v0.5
Code:
* 06.08.2012 - v0.5 Impact |
Re: [ANY?] No FallDamage (V0.5, 06.08.2012)
Review for Approval Status: Approved
|
Re: [ANY?] No FallDamage (V0.5, 06.08.2012)
Thanks!
Well, i really like to have my scripts as readable as possible, i think spacing/seperation has a big part here. I've removed those posts, and also removed the unhook in the plugin, i will push it with the next update. Yours sincerely Impact |
Re: [ANY?] No FallDamage (V0.5, 06.08.2012)
Please update this plugin because css v73 dosen't work this plugin and those another plugin nofalldamage dosen't work too
|
Re: [ANY?] No FallDamage (V0.5, 06.08.2012)
Update your SdkHooks gamedata, plugin works fine after that ;)
Yours sincerely Impact |
Re: [ANY?] No FallDamage (V0.6, 30.08.2012)
Update v0.6
Code:
* 30.08.2012 - v0.6 Impact |
Re: [ANY?] No FallDamage (V0.6.1, 02.09.2012)
Update v0.6.1
Code:
* 02.09.2012 - v0.6.1 Impact |
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Update v0.6.2
Code:
* 21.09.2012 - v0.6.2 Yours sincerely Impact |
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Please fix: Plugin failed to compile. Fix the plugin link PLEASE!!!
|
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
The compiled version is attached too, you should be more attentive next time.
Yours sincerely Impact |
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Quote:
|
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
For some strange reason "sm_nofalldamage_clientfilter 1" does not work in the server.cfg.
|
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Could you give me a link to the plugin? It doesn't work when i click on it.
|
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Look closely, there already is an compiled version attached.
|
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Thanks, working perfectly!!
|
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
How hard would it be to make it work per player?
Like, sm_nofalldamage userid/player name |
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Not that hard, but I'm not sure how that would work together with the other filters.
Why exactly do you need this toggle? |
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
It would be super useful for class-based gamemodes, such as WCS or RPGs.
Edit: Is it possible to only have the userid/player name as a filter? I'm pretty new to SourcePawn, if it's not much of a bother, could you just point me in the right direction for implementing a userid filter? |
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
1 Attachment(s)
This was quickly modified to your needs and not tested at all, take it as the point in the right direction you asked for.
I stripped all the features and added a command to toggle nofalldamage for specific clients. Like i said, i did not test this, but you should be able to target people like this. For example: Code:
sm_nofalldamage @all |
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Is it possible to modify the code to use a different admin flag? It looks like the @admins option would include anyone with the "B" flag for generic admin but I don't want to confuse people by showing donors on the /admins list. Perhaps flag "A" ?
|
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
I don't work often with the more complex player targeting functions, but using a custom filter with this should work.
|
Re: [ANY?] No FallDamage (V0.6.2, 21.09.2012)
Thank you for the mod, Impact123!
|
All times are GMT -4. The time now is 08:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.