Garry's Mod
Μη επαρκής αριθμός βαθμολογιών
TTT2 Damage Mirror
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Content Type: Addon
Addon Type: Gamemode
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
13.898 KB
29 Ιαν 2019, 16:14
3 Μαρ 2019, 13:25
5 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
TTT2 Damage Mirror

ΠΕΡΙΓΡΑΦΗ
TTT2 Damage Mirror perk


This Addon ONLY works with the NEWEST version of TTT2 by Alf!!!


What does this do?

Once bought, you can enter a console command (or bind it to a key), which then will activate this Item for a given period.
In this time period, a configured amount of damage you get will be reflected to the person that dealt the damage.
Everything is configurable!!

Console command: dmgmirror

ConVars:

"ttt_damagemirror_duration" (def. 10) - Time, in seconds, the perk will be active
"ttt_damagemirror_cooldown" (def. 50) - Time, in seconds, the perk is on cooldown after the duration
"ttt_damagemirror_reflectmultiplier" (def. 0.40) - The multiplier of the damage that gets reflected (more infos below)
"ttt_damagemirror_receivemultiplier" (def. 0.15) - The multiplier of the damage the attacked player gets (more infos below)
"ttt_damagemirror_dealmultiplier" (def. 0.30) - The multiplier of the damage the player using the item deals. Only works if allow attack is enabled.
"ttt_damagemirror_allowattack" (def. 0) - Value 1 or 0. If 0, the player can't attack while having this item enabled

More infos:

"ttt_damagemirror_reflectmultiplier"
Example: If this value is set default, so 0.40, and the attacker would deal 100 damage, the attacker will get 40 damage back. You could also set it to 2 for double the damage.

"ttt_damagemirror_receivemultiplier"
Same as above, but for the attacked player (should stay lower then the above)

"ttt_damagemirror_dealmultiplier"
Still same, but for the damage the player using the item deals

This is my addon, so please don't reupload it.

Icons are NOT 100% made by me.
8 σχόλια
SKape 15 Φεβ 2019, 6:26 
Alright will test it later, thanks for the reply!
NickCloudAT  [Δημιουργός] 14 Φεβ 2019, 12:31 
@SKape Well, this Perk only works with TTT2, so I hope you use that.
Otherwise, the item ID is nothing with EQUIP anymore. This Items "ID" is: "item_ttt_damage_mirror"
SKape 14 Φεβ 2019, 10:22 
Hello there, I would like to give this item to a custom class at the start of the round. What would be the ID of this item? (for the command: EQUIP_ )
ICsleep 7 Φεβ 2019, 7:39 
mein fehler, habs übersehen ^^
NickCloudAT  [Δημιουργός] 7 Φεβ 2019, 7:38 
@xdtube Steht zwar in der Beschreibung, aber "dmgmirror" ist das Kommando.
ICsleep 7 Φεβ 2019, 6:47 
was ist den das command das man binden muss um den MIrror zu benutzten ?
NickCloudAT  [Δημιουργός] 6 Φεβ 2019, 14:12 
@Bomber wäre natürlich möglich :). Die Frage ist, ob es nötig ist. Ich meine, man merkt ja wenn mans an hat.
Aber warum, nicht. Wenn ich mal Zeit hab, klar.
Bomber 6 Φεβ 2019, 13:31 
Wie wärs mit nem Sound der kommt wenn man den Mirror aktiviert?^^