Raised This Month: $51 Target: $400
 12% 

Display Damage with Sprite


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
isLie
New Member
Join Date: Oct 2017
Old 08-11-2020 , 01:17   Display Damage with Sprite
Reply With Quote #1

Sprite Damage

Greeting, It's my first post, and sorry for my bad English.

GIF : https://imgur.com/a/GK5Q7XB

[Description]
Show Damage but not using HUD anymore, and I add a crit chance into it, if you don't like it then you can turn it off by cvar.
If you know how to use it, it also can display other custom number, I've made a native for it.

[Cvars]
Code:
sprdmg_velo "8.0"			Spr eject speed
sprdmg_rander "160.0"			Transparency for spr
sprdmg_gravity "0.04"			Gravity for spr
sprdmg_expire "15.0"			How fast will spr disappear
sprdmg_RGB "255 255 255"		Non-crit color
sprdmg_critRGB "255 122 0"		Crit color
sprdmg_critchance "25"			Crit chance
sprdmg_multiplier "1.5"			Crit Damage Multiplier
sprdmg_randomRGB "1/0"			Random Color Switch
[Files]
Code:
sprite_damage.sma
Digit_01 ~ Digit_05.spr
CritDigit_01 ~ CritDigit_05.spr
These sprites is most important thing in this plugin, I made it by AfterEffects,
each digit use a spr, it all inside sprite_damage.rar.

[Edit]
Added HamBot Support. (It may causes double damage display if you are using SyPB or other bots that isn't ZBOT.
Added Random Color Cvar

Download and enjoy.
Attached Files
File Type: sma Get Plugin or Get Source (sprite_damage.sma - 683 views - 7.0 KB)
File Type: zip sprite_damage.zip (86.1 KB, 557 views)
File Type: sma Get Plugin or Get Source (sprite_damage_randomcolor.sma - 415 views - 7.3 KB)
File Type: sma Get Plugin or Get Source (sprite_damage_randomcolorV2.sma - 504 views - 7.6 KB)

Last edited by isLie; 08-20-2020 at 04:13.
isLie is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode