Garry's Mod

Garry's Mod

291 ratings
Caesura
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Movie
File Size
Posted
2.277 KB
13 Mar, 2014 @ 9:19pm
1 Change Note ( view )

Subscribe to download
Caesura

Description
This addon is now unmaintained, but open source!

Here are some other versions of this addon that may interest you:
Pause Button by RoyalCat




You can also make your own version of this addon, but please remember to link back to here if you decide to upload it to the workshop.

View Source on Github[github.com]







About Caesura

I made my own addon to freeze or stop time. I tried this one for a while, but I thought that its effect was too strong. I also tried their other addon that doesn't have an effect, but then I couldn't tell when time was stopped or not. So I made my own!

You use this addon through keybinds. It's kinda incomplete at the moment, but I was taking so long with it I thought I'd just put it up here for you to see! It doesn't even have a setting to set who can use this command right now--only admins can use it.

Installing this addon
Multiplayer: Only your host / server needs this addon installed. Players don't need to subscribe.
Single player: Just subscribe.

Quick Start Guide
Open your console and type this:

bind backspace +caesura

You can use whatever key you wish in place of backspace, but make sure it isn't already something you use in Garry's Mod, because it'll overwrite whatever it currently does. If you type in "bind r +caesura", you'll never be able to reload again until you do a "bind r +reload" to fix it.

Then try pressing and holding backspace or whatever key you picked in game.

Visual Effects Stuck?
If you have issues with the visual effects getting stuck, check the Post Processing tab in your spawn menu and make sure everything is off.

Chat message spam
To disable the message spam that comes from pausing and unpausing time, click on your chat window's "Filters" button and uncheck "Server Messages." This per-user workaround will disable all server messages (across all servers), though.

Keybinds and Commands
Replace [your_key] with any key on your keyboard of your choice.

+caesura (and -caesura)
bind [your_key] +caesura
This is caesura's main key. When you hold down your keybind, it'll make a sound warning everyone that you're about to stop or resume time, and then it'll actually do it when you release.

caesura_cancel_bind +reload
bind [your_key] caesura_cancel
This is a client side variable that sets a key to let you cancel your +caesura keybind. If you bound "+caesura" to b and held it down and then let go, it would stop time. If you hold down b and decide you don't want to stop time anymore, you can press r (+reload, or whatever bind you set it to), you can cancel stopping time and then let go of b safely. You can set this variable to blank to be able to use reload, and then bind caesura_cancel itself to another key, if you wish.

caesura
bind [your_key] caesura
If you're one of those evil meanie server admins who like everything the way they want them right away, and don't want to warn anyone that you're stopping or resuming time, this is the keybind for you.

Hooks
I have some hooks available for lua coders to use! If you make a great addon-addon, feel free to tell me about it, and maybe I'll ask you if I can include it in my next version of this addon!

caesuraTimescaleChanged function( oldTimescale, NewTimescale )
This is both a serverside and clientside hook that notifies you when phys_timescale has changed. phys_timescale is this addon's primary variable, and it adjusts everything, including gravity and game timescale, based on it.

caesuraUserPermissionCheck function( ply )
This is my addon's hook to check if someone is allowed to use it or not. Return true if someone can use it.

Addons you might want to try with this one
Server Side Death Ragdoll
My addon has some code that makes it so that when an npc dies while time is frozen, their ragdoll will freeze in the air. If you want that to happen to players too, get this addon!

Physical Bullets
If you want to be able to stop bullets in mid-air, you'll need to get an addon to make them physical. They only work for scripted weapons, though, so you might want to go find a weapon pack to go with it! If you fire while time has been stopped, you'll need to no-clip to be able to move, though, because your bullet will get stuck inside of you.

gm_CalamityCoast_V2
If you want a map to fool around with your new time-stopping powers, try this one! It has a few destructible buildings and an entire bridge that can collapse! They even included a button you can use to reset the bridge in case you want to destroy it again and again and again. ^^;

Directional Gravity
Control which direction gravity pushes objects in! Remember not to use it on maps with tons of physical objects, though, or you might cause huge lag or crashing issues!

Simple ThirdPerson - ShoulderView!
Make dramatic videos.

Freeze Mod [NO FX]
If you must have a weapon that stops time now, this one works fine when combined with mine. If you don't like my addon's sounds or visual effects, you might want to just use it instead of mine until I get around to adding a setting to mine to disable them.

bHUD
This really has nothing to do with my addon, but someone was asking me about it.
Popular Discussions View All (2)
1
3 Sep, 2022 @ 10:02am
YOU THINK IM BIRD NERD ?! IM DIO BRANDO !
Noelle ❄
0
17 Apr, 2017 @ 1:53am
how to BGO not dupe dead body
すてぃーぶまん [JP]
278 Comments
KUMOSANKON 3 Dec, 2022 @ 5:45am 
it doesn t work for me
Portal90022 16 Jul, 2022 @ 12:14pm 
ZA WARUDO
sk1zzyphr3n1c 30 Sep, 2021 @ 1:33pm 
can i move props ? or corpse?
Paul 3 Jul, 2021 @ 9:47am 
How exactly do I change the sound effects?
near 11 Feb, 2021 @ 7:59am 
first addon that i've found that works with bullets
thank you!
FiveShoe [RUS][ENG] 5 Jan, 2021 @ 6:23am 
ZA WARUUUDO
jeremiah 29 Jul, 2020 @ 2:12pm 
v they dont work on this anymore lol
Hari1554 29 Jun, 2020 @ 1:48am 
Bad mod!
Hari1554 29 Jun, 2020 @ 1:47am 
That doesnt work!
EJD2FAST4U 4 Jun, 2020 @ 8:57am 
is there a way to get rid of the filter/effects? im not sure i like them so much