AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Ghosts on Death - Death effect special Halloween! (https://forums.alliedmods.net/showthread.php?t=302156)

Franc1sco 10-18-2017 15:31

[CS:GO] Ghosts on Death - Death effect special Halloween!
 
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:

http://cache.gametracker.com/server_...FFF_000000.png


Commands:

sm_ghost - Disable the ghost effect per client.

sm_ghosts - Disable ghosts in general (Root admin needed).


Download:

Main repository
Direct download
Code changes

Muscle Brazil 10-18-2017 16:45

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
Nice plugin works on my server +rep

freak.exe_uLow 10-18-2017 16:46

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
Nice release :bacon!::bacon!:

Ejziponken 10-18-2017 17:33

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
Wait is the player becoming the ghost? (so he can control it)? Or is just an effect when u kill someone? I wonder how it would work on deathmatch? xD

Franc1sco 10-18-2017 17:42

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
Quote:

Originally Posted by Muscle Brazil (Post 2555281)
Nice plugin works on my server +rep

Quote:

Originally Posted by freak.exe_uLow (Post 2555282)
Nice release :bacon!::bacon!:

Thank you so much :)
Quote:

Originally Posted by Ejziponken (Post 2555290)
Wait is the player becoming the ghost? (so he can control it)? Or is just an effect when u kill someone? I wonder how it would work on deathmatch? xD

Its a effect when the player die (like in the picture in the first post). Currently is not thinking for a gamemode with repeated deaths because the ghost effect dont have lifetime (ghost removed on round start by default). I will see how to adapt the plugin for gamemodes like deathmatch.

EDIT: Done! Check first post for the cvars

rogeraabbccdd 10-18-2017 20:54

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
Nice to see you post your ghost plugin here, I also made one by myself in July.
I'm waiting for iEx to reply my message. I hope he will also allow me to post my version here.

Quote:

Originally Posted by Ejziponken (Post 2555290)
Wait is the player becoming the ghost? (so he can control it)? Or is just an effect when u kill someone? I wonder how it would work on deathmatch? xD

My version support deathmatch. I think it's possible to control the ghost, maybe we can use some code like redie plugin and attach particle on player.

*** EDIT ***
Check my version
https://forums.alliedmods.net/showthread.php?p=2555350

Cruze 10-19-2017 01:22

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
nice release!
Can you make a ConVar that makes ghost dissapear after X seconds?

rogeraabbccdd 10-19-2017 01:51

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
iEx allowed me to post my version here.
So here's my thread.
https://forums.alliedmods.net/showthread.php?p=2555350

Quote:

Originally Posted by Cruze (Post 2555349)
nice release!
Can you make a ConVar that makes ghost dissapear after X seconds?

Check my version.

Franc1sco 10-19-2017 02:09

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
Quote:

Originally Posted by rogeraabbccdd (Post 2555351)
iEx allowed me to post my version here.
So here's my thread.
https://forums.alliedmods.net/showthread.php?p=2555350


Check my version.

I thought that you would post it here instead of open a new thread of a duplicated plugin xD

Anyway I will add the improvements to my version and I will add your credits too, and give you full access to the github repository if you want.

ASKER_CZ 10-19-2017 02:10

Re: [CS:GO] Ghosts on Death - Death effect special Halloween!
 
pls stop making this plugin public :/


All times are GMT -4. The time now is 12:04.

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