RSSy MYGO.pl Opublikowano Listopad 10, 2018 o 14:59 RSSy Udostępnij Opublikowano Listopad 10, 2018 o 14:59 Since SM Damage sdkhooks version is broken : Quote: Originally Posted by AtomicStryker (Post 981388) EDIT #3: Removed it for now, for having no effect ingame. I created my plugin. Yes I know, I'm late. I didn't noticed the author said that doesn't work, I've just noticed the plugin is broken.Description : Multiply the damage of a player (it can be damage deal or receive)Commands : sm_dmgmult - Multiply the damage deal of a player sm_dmgreset - Reset the damage deal of a player sm_dmgweakmult - Multiply the damage receive of a player sm_dmgweakreset - Reset the damage receive of a player sm_getdmgmult - Get the damage deal of a player sm_getdmgweakmult - Get the damage receive of a player sm_dmgresetall - Reset the damage deal/receive of a player How to use sm_dmgmult <target> <value> - To the targetsm_dmgmult <value> - To yourselfsm_dmgreset <target> - To the targetsm_dmgreset - To yourselfsm_dmgweakmult <target> <value> - To the targetsm_dmgweakmult <value> - To yourselfsm_dmgweakreset <target> - To the targetsm_dmgweakreset - To yourself sm_getdmgmult <target> - To the targetsm_getdmgmult - To yourselfsm_getdmgweakmult <target> - To the targetsm_getdmgweakmult - To yourselfsm_dmgresetall <target> - To the targetsm_dmgresetall - To yourself Examples sm_dmgmult @red 5 sm_dmgweakmult @alive 2 sm_dmgresetall @all sm_getdmgmult Gaben ConVars : sm_damagemult_version - Plugin Version sm_damagemult_enable (default = "1") - Enable/Disable the plugin sm_damagemult_default (default = "1") - Default damage deal for every players ("1" = disabled) Known Bugs: NONE Notes : Didn't do for weapon damage multiplier because don't know how to do. if sm_damagemult_default is enabled then someone use sm_dmgmult on himself, the cvar go on priority. That means if sm_damagemult_default is set to 2 and someone multiply his damage by 5, his damage is still multiplied by 2 and not by 5. Same for damage receive. Damage can stack : for example if the attacker's damage is multiplied by 5 and the victim's damage receive is multiplied by 5, it will stack : (5 + 5 = 10; damage is multiplied by 10) Credits to: 8guawong - For helping me how to make entity get damage Neuro Toxin - Same as above Mitchell - For helping me about tf2 buildings Benoist3012 - Same as above Whai - Because I'm a faggot Dependencies : [INC] Multi Colors Installation instructions : Install [INC] Multi Colors Don't click "Get Plugin" Install the .smx and put it in addons/sourcemod/plugins/ OPTIONAL : Install the .sp and put it in addons/sourcemod/scripting/ , now you can edit it and/or (re)compile it ??? profit... Changelog : DD/MM/YYYY v1.0.0 ( 10/11/2018 ) Initial release Message : Well, the plugin has been tested in tf2 so I've added func like buildings or other entity like a MvM tank can receive damage multiplied. It would be great if someone do on other games if it supported. Attached Files Get Plugin or Get Source (damagemultiplier.sp - 24.1 KB) damagemultiplier.smx (24.5 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się