[TF2] No Fall/Self Damage
2 Attachment(s)
[TF2] No Fall/Self Damage Version 2.0 Description: Enable / disable fall/self damage for yourself or other playersDependency: - SDKHooksConVars: - sm_nofalldamage (default: 0) - When 1, disable the fall damage globallyCommands:
Examples: sm_nofall - Toggles fall damage on the admin running the commandCvars: sm_nofall_version - Plugin VersionInstall Instructions:
Changelog:
Note: - The SMX compiled under 1.4.1-dev - You need to download the .sp file, if you want to compile it |
Re: [TF2] No Fall/Self Damage
when i set both the cvars to 1, do the players still have to type "!nofall" and "!noself" to disable them or does it apply to all players automatically?
|
Re: [TF2] No Fall/Self Damage
dude, this plugins lets some of the areas that have "pits" become safe......
u know the big pit in the map nucleus and u fall and it automatically kills u? this plugin nullifies it..... |
Re: [TF2] No Fall/Self Damage
This seems to be broken now under sourcemod 1.5 and 1.4
|
Re: [TF2] No Fall/Self Damage
Works fine with latest SDKhooks snapshot: http://users.alliedmods.net/~psychon.../sdkhooks/2.2/
But i can't use rocket and sticky jump with sm_noselfdamage 1 :( |
Re: [TF2] No Fall/Self Damage
How would you need to change the no self damage portion of the plugin to allow for rocket/sticky jumping?
Thank you for posting this. |
Re: [TF2] No Fall/Self Damage
Work out the damage in sdkhooks, then add that value to the player's health value and let the damage go though.
|
Re: [TF2] No Fall/Self Damage
The only problem that I ran into with that is that if the person's health was already low, they would die before I could set health equal to health + damage taken. Thank you for posting the thought though.
EDIT: I just went back and reread what you said. What event would I hook to do that before the damage? I was trying to use OnTakeDamage. |
Re: [TF2] No Fall/Self Damage
Im getting this error with this plugin... could it be somethng to do with folder called 'clint' instead of 'client'?
Code:
L 10/19/2012 - 04:21:01: [SM] Displaying call stack trace for plugin "nofall.smx": |
Re: [TF2] No Fall/Self Damage
Quote:
|
All times are GMT -4. The time now is 01:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.