Garry's Mod

Garry's Mod

1,147 ratings
Headshot Slow-Mo (Custom Music)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Scenic
File Size
Posted
Updated
29.855 MB
Jul 3, 2014 @ 4:08pm
Oct 6, 2014 @ 7:45pm
6 Change Notes ( view )

Subscribe to download
Headshot Slow-Mo (Custom Music)

In 3 collections by Muzako
Muzako's Ultimate Collection
162 items
Pack December
282 items
Muzako's GMOD - Collection | 2017
518 items
Description
This addon adds the ability to make everything move in slow motion (while playing a custom song) when an npc/player is killed by a headshot!

Almost everything is customizable!

-------------------------------------------------------
ADDON NO LONGER DEVELOPED
I will no longer improve this addon or fix its bugs.
-------------------------------------------------------


Features:
- Extremely Customizable
- You can set to activate the Slow Motion only after certain quantity of kills.
- The addon can be configured to activate on ANY kind of death!
- Custom Songs/Music


The Preset song is: Only Time by Enya.

---------------------------Updates------------------------------------

The thing is I made this addon a long time ago when I was just starting to take interest in programming so the code is really not that good.

My idea is to remake this addon but with the little free time I have I'm not sure when I'll be able to do so.

Right now I'm studying so until further notice I won't be able to update any of my addons.
(I'll still answer questions)

Thanks for the feedback.

------------------------------------------------------------------------

Steps for adding a custom sound:

You Need:
-A Song/Sound (MUST BE .WAV)

How to:
1) Create a folder in "(...)\Steam\SteamApps\common\GarrysMod\garrysmod\" called "sound" and in the sound folder create another one called "headslowmo", so it will end "(DIR)\Steam\SteamApps\common\GarrysMod\garrysmod\sound\headslowmo\"

2) Drop your .wav on "(...)\Steam\SteamApps\common\GarrysMod\garrysmod\sound\headslowmo\"

3) *IN-GAME* Enter the following command in the console(normally activated by pressing `): "headslowmo_soundfilecl YOURFILENAME.wav", goes without saying that you have to replace "YOURFILENAME" with the actual filename of your WAV file.

------------------------------------------------------------------------

Known Bugs:
- Sounds may not stop to some players on multiplayer Mode(use command on console "stopsound").
- All sounds that are being played suddenly stop when slowmo activates (not before or after the slow motion).

Console Commands: (1 = Enable/On ; 2 = Disable/Off)
- headslowmo_enabled 1/0 -- Turns on or off the addon
- headslowmo_time [float number] -- The amount of time the Slow Motion executes (Relative to the Time Scale).
- headslowmo_timescale [float number] -- How slow the Slow Motion is.
- headslowmo_npcs 1/0 -- Whether or not to count the death of any NPC.
- headslowmo_alldeaths 1/0 -- Whether or not to count ANY KIND of death.
- headslowmo_players 1/0 -- Whether or not to count the death of any Player.
- headslowmo_allowfatal 1/0 -- Whether or not to count Fatal Blows (When health drops to zero in just one hit).
- headslowmo_debug 1/0 -- Debug the addon (Especially if you experience errors or problems).
- headslowmo_mute 1/0 -- Whether or not to mute ALL sounds in Slow Motion (Except the chosen one).
- headslowmo_soundfilecl (string) -- String/Name of the WAV file to play, change this with your custom WAV file (default: Enya_Only_Time.wav).

To Do's:
- Automatically scan the music directory for a easier and simpler way to add songs.
- Stop Music/Slow Motion with a Key.
- Add the song as a preset "Whatcha' Say".
- Individual NPCs/Players activation (Slow motion when only certain player or npc dies).
- Make a list of sounds to randomly play.
- Change "Fatal Death" option to something more realistic, because all deaths are fatal. (Thanks mm14)
- Add key bindings to Toggle the Slow-Motion

Any ideas on how to improve this addon? Please do tell me!!

Enjoy!



There may be some incompatibilities with other slow-mo addons.

Tested and Compatible with these slow-mo addons:
-Freeze Time.
-Dear Sister

Reported incompatible addons:
-GTA V Death Screen

Not so compatible:
-Bullet Time (having this addon will not let you change the slow-mo time)

Please report any Bug/Issues/Incompatibilities.
*IMPORTANT* If you´re gonna report an error, bug, or something, please paste your console log.

F.A.Q.
Q: I'm hosting a server but nobody hears the sound/song I selected.
A: Sounds are client-side, the client decides wich sound to play while on slow-mo.

Q: Name of the song?
A: The songs that comes as a pre-set is a part of "Only Time" by Enya

Q: I changed the slow-mo time and/or scale and suddenly it freezes instead of slow-mo.
A: The time of slow motion is multipied by the time scale.

Q: What's Time Scale?
A: The "Time Scale" sets how slow its gonna be.

Q: Whats Slow-Mo Time?
A: The time(in seconds) that the slow-mo takes effect(multiplied by the scale).

Q: The Slow-Mo is not activating by a headshot, how come?
A: Some NPCs or entities DO NOT have a "Head Collider" so it wont count the kill as a headshot(For Example a Seagull)
< >
444 Comments
wallymac22 Jul 19 @ 3:41pm 
why isnt the body not slowing
¯\_(ツ)_/¯ Oct 12, 2021 @ 10:45am 
music is not good
不酸の阴间贵物☺ Feb 20, 2020 @ 8:33pm 
@wickedvenom12 Me too.
Toxic_Trap Oct 31, 2019 @ 9:46pm 
it no work :(
Your Step Father Oct 25, 2019 @ 4:10pm 
:I
Centauri🐾 Jan 5, 2019 @ 10:18am 
why is it not working?
Mr. Gaboxide Nov 3, 2018 @ 9:29am 
very good addon, but it stops any music playing in the background
Chuck Grassley Fan Feb 6, 2018 @ 7:21pm 
is there a vid?
Calico_Cat Jan 10, 2018 @ 4:47pm 
The one with Enya plays the full song.
Daycare Attendant Jan 2, 2018 @ 9:46pm 
its nto woking