Description:
Apply a ghost effect on death event made by particles and materials. Particles and materials made by iEx, also he allowed me to sell this plugin but I prefer to release it for everyone (and as start of my new serious code style).
Note: I made this plugin with a more professional code style (correctly variables named, calls, comments, etc) because since now I am studying programming in an official classroom and I intend to become a real programmer. After now no more spanish/spaghetti code from my side, because in the past I made the code faster because it was only a hobby for me, but now it will be my real job.
I will rewrite more of my plugins with a serious code style soon.
Advice to improve my current serious code style are stremly welcome, I want to do it the most professional that it can.
Media:
Cvars:
Code:
sm_ghost_time "0.0" // Ghost appear time, 0.0 = Disappear in next round start.
sm_ghost_warmup "0" // Ghost appear in warmup? 1 = yes, 0 = no"
sm_ghost_warmup_time "10.0" // Ghost appear time in warmup. 0.0 = Forever.
sm_ghost_team_color "1" //Set ghost color depending on client team? 1 = yes, 0 = no, use random.
Server to test it yourself:
Commands:
sm_ghost - Disable the ghost effect per client.
sm_ghost
s - Disable ghosts in general (Root admin needed).
Download:
Main repository
Direct download
Code changes