Script Name:Critical Hit
Script Description:Give different chance rate for each weapon to make more damage.
Original Author(s):Zop
Core Version:2.6.3
Credits:Nova credits to Avarax.
Code:Download and read if you need. ^_^
How it work:-Critical hit rate base on weapon Damage and FireInterval in weapon.ini.
-Damage bigger, rate smaller. FireInterval bigger, rate bigger.
-I take m79 and Barret off because these 2 weapons already strong enough.
-Player have to take an any default secondary weapon with him. That make sure counts with currect weapon.
-This is not really a serious counting work. Just for fun. ^_^
20081005-02_update:v0.5e-Fixed level bugs.
20081005-01_update:v0.5d-Fixed temp level and skill level bug.
-Fixed stupid message.
20081004-02_update:v0.5c-Add when player make a critical hit, there is a flame show on him.
20081004-01_update:v0.5b-When player kills an enemy by barret, he will get a chance make that enemy's dead body do an arrow nova to hurt enemy's team.
20080930-02_update:v0.5a-Fixed div zero problem.
20080930-01_update:v0.5-When player with m79 was killed by enemy, he will get a chance to throw some grenades.
-When player with barret was killed by enemy, he will get a chance to steal bullets from enemies nearby.
-Optimized codes.
20080916-01_update:v0.4a-Fixed it will not change rate if level the same.
20080915-02_update:v0.4-Add when player return flag which was grabbed, player get 3 points for critical hit level.
-Add when player get flag with him, he will get a temporary level bonus.
20080915-01_update:v0.3d-Made codes clear.
20080914-04_update:v0.3c-Add show how many kills needed to next level.
20080914-03_update:v0.3b-Fixed score level problem.
20080914-02_update:v0.3a-Fixed kill counting problem.
20080914-01_update:v0.3This version is for CTF with Level up & down.
-Everyone start with Critical Hit Level 0. That means no critical hit bonus at begnning.
-When flag score, team members will up a Critical Hit level.
-When flag was scored, team members will down a Critical Hit level.
-Up or down Critical Hit level is up or down the Critical Hit rate. (you know what I mean
)
-Every 10 kills is a level range. 1 ~ 10, 11 ~ 20,... etc
Every time scored will add 10 kills to all team members.
So, at the first time scored, you got 10 kill points.
Then if you got killed, it down to 9. So you down level to level 0, it's in 1 ~ 10.
Notes:I change some rates for more balance.(I guess)
20080911-01_update:v0.2a-Fixed 1 random number bug.