[CS:GO] Thunder/Lighting Bolt Headshot Kill Effect
I have seen videos of people playing on CS:GO servers, And when they get a headshot, Lightning Bolts come out of the head and a short blue flash appears.
I have tried looking for hours, But I couldn't find it anywhere. Heres a screenshot of it. (Sorry for low quality.) https://imgur.com/EbRsWbX.png |
Re: [CS:GO] Thunder/Lighting Bolt Headshot Kill Effect
point_tesla entity perhaps ?
https://developer.valvesoftware.com/wiki/Point_tesla Maybe can fiddle with one same entity when round start, teleport or set source entity to tesla and execute: DoSpark *edit PHP Code:
|
Re: [CS:GO] Thunder/Lighting Bolt Headshot Kill Effect
Can you do this for Vip? Flag "o" ? and that it can be turned off and on?
|
Re: [CS:GO] Thunder/Lighting Bolt Headshot Kill Effect
1 Attachment(s)
In this version, I have made some edit or fixes as well, to avoid errors.
This plugin use cookies (aka SM plugin "Client Preferences") - Means, player can save plugin setting from sm_settings (or using sm_cookies headshot_tesla 1 or 0) - This data is saved into ...addons/sourcemod/data/sqlite/clientprefs-sqlite.sq3 - After player have made save first time, setting will remain in that state until player change it next time. - To clarify, player need himself go to !settings and set plugin feature to be always On or Off. - Another command is: sm_thunder -- If player not make a save for first time (this will happen on 90% of players), plugin feature would appear how next cvar is set. Plugin have Console Variable Code:
//"sm_headshotthundersetting_default" = "0" min. 0.000000 max. 1.000000 - Changing cvar value on fly: sm_cvar sm_headshotthundersetting_default 1 or 0 You can enable and disable plugin effect on those players who have not make a settings save. Admin system. - You can disable plugin effect from non-admins. By default, plugin effect is enabled for everyone. To override plugin effect to admins only, use word "sm_thunder" ...addons/sourcemod/configs/admin_overrides.cfg PHP Code:
...addons/sourcemod/configs/admin_groups.cfg PHP Code:
|
Re: [CS:GO] Thunder/Lighting Bolt Headshot Kill Effect
Hi, I get errors on your plugin
Code:
L 02/02/2023 - 05:10:10: SourceMod error session started |
Re: [CS:GO] Thunder/Lighting Bolt Headshot Kill Effect
in line 77, disable this with double slas // and recompile.
PHP Code:
Quote:
|
Re: [CS:GO] Thunder/Lighting Bolt Headshot Kill Effect
How can I make "fade" more transparent from the beginning? Tried changing renderamt, spawnflags but nothing worked.
Rn color fully covers the screen for a sec and players are getting distracted |
Re: [CS:GO] Thunder/Lighting Bolt Headshot Kill Effect
Try
"renderamt", "55" *edit *Nope, this command not have transparent value You can test with cheats on witn console command: Code:
fadein 0.3 29 211 222 55 |
All times are GMT -4. The time now is 09:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.