commit 06c4a176e781dada726ed8f644c04d6d8b4043ef
parent e70832f5aaba27f2b1125ca62e495ac161ecc1b3
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Sun, 21 Jun 2020 16:41:09 +0200
improved weapon.cfg
Diffstat:
1 file changed, 28 insertions(+), 9 deletions(-)
diff --git a/weapons.cfg b/weapons.cfg
@@ -1,14 +1,33 @@
-// sv_burntime 5500 // time in milliseconds fire burns for, try to allow an extra 500ms breathing room for sync
-// sv_burndelay 1000 // time in milliseconds for which fire burning deals damage
-// sv_burndamage 3 // amount of damage fire burning deals at each interval
+////////////////////////////////////////////////////////////////////////////////
+/// damage over time
+/// there are 3 times of DoT:
+/// * burn
+/// * bleed
+/// * shock
+////////////////////////////////////////////////////////////////////////////////
+/// burn
+/// DoT duration in ms, try to allow an extra 500ms breathing room for sync
+// sv_burntime 5500
+/// DoT damage interval in ms
+// sv_burndelay 1000
+/// DoT damage per interval
+// sv_burndamage 3
-// sv_bleedtime 5500 // time in milliseconds bleeding lasts for, try to allow an extra 500ms breathing room for sync
-// sv_bleeddelay 1000 // time in milliseconds for which bleeding deals damage
-// sv_bleeddamage 3 // amount of damage bleeding deals at each interval
+/// bleed
+/// DoT duration in ms, try to allow an extra 500ms breathing room for sync
+// sv_bleedtime 5500
+/// DoT damage interval in ms
+// sv_bleeddelay 1000
+/// DoT damage per interval
+// sv_bleeddamage 3
-// sv_shocktime 5500 // time in milliseconds shock lasts for, try to allow an extra 500ms breathing room for sync
-// sv_shockdelay 1000 // time in milliseconds for which shock deals damage
-// sv_shockdamage 2 // amount of damage shock deals at each interval
+/// shock
+/// DoT duration in ms, try to allow an extra 500ms breathing room for sync
+// sv_shocktime 5500
+/// DoT damage interval in ms
+// sv_shockdelay 1000
+/// DoT damage per interval
+// sv_shockdamage 3
// weapon variables are in the form of sv_<weapon><attribute>[1|2], where weapon is the name of the weapon
// attribute is one of the following attributes, and 1|2 applies if the attribute differs between primary and secondary