View unanswered posts | View active topics It is currently Thu Mar 28, 2024 7:32 pm



Reply to topic  [ 122 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next
 Smooth Slow Motion 
Author Message
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
 Smooth Slow Motion
After toying around with some settings I discovered something that I found pretty fun, so I thought I'd share it with you all.
Image
The gif doesn't quite do it justice. Essentially, this mod allows you to enable a very smooth form of slow motion in-game. If you were around during older builds of CC, it's very similar to the effect you used to get by holding the 2 key. There's no choppiness whatsoever. The best part is, you can still aim at full speed while moving slowly, so you can have matrix-style slow-motion shootouts.
The mod comes with two items: the slow-motion watch, and the slow-motion brain. With the watch, you can use slow-motion powers until the actor equipped with it dies. Just order it, take it out, press FIRE, and it's enabled. With the brain, you can use slow motion any time, and while controlling any actor.
In both cases, press F to enable slow-motion. You can change this button - just open the console by pressing ~, then type BindSlomoButton() and press enter. Then, press a key, and it will become the slow-motion key.
The Time Scaler Brain allows you to set your own speed for slow motion. Just press left and right while it's selected to change time's speed, then press F to enable or disable it.
If you start the game up after using this mod and it's stuck in slow motion, let me know in the topic. I think I've ironed that bug out, but if not, I can help you fix it.

DOWNLOAD

Known bugs:
    People spin like crazy after dying in slow motion, then explode when they spin too fast. I've put code in place to reduce this effect, but there's still chances it'll happen. It looks cool though, so maybe that's a feature?
    In slow motion, glows last longer. Some mods (including my own) that rely on glows will look a little brighter or leave trails.
    Closing the game while in bullet time will get your game stuck in bullet time next time it starts up. Go to Settings.ini and change DeltaTime to 0.016667 to fix this. If all else fails, try installing to a different directory.
    Switching actors while in bullettime causes aim to wobble for a second.


Mon Jul 26, 2010 5:23 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Jul 12, 2010 5:39 am
Posts: 4557
Reply with quote
Post Re: Smooth Slow Motion
This is just what I wanted in requests! WOOHOO!

I really like the fun things that happen when you die.


Mon Jul 26, 2010 5:29 am
Profile WWW
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Smooth Slow Motion
You know, I actually didn't even see that thread. Glad you enjoyed it, though.


Mon Jul 26, 2010 5:32 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Jul 12, 2010 5:39 am
Posts: 4557
Reply with quote
Post Re: Smooth Slow Motion
It's RIGHT here.


Mon Jul 26, 2010 5:36 am
Profile WWW
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Smooth Slow Motion
Looks like if you close the game accidentally while slow motion is running it stays in slow motion, except hackier.


Mon Jul 26, 2010 6:14 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Smooth Slow Motion
Huh, you didn't even change timescale.. Are you relying on lag, or did I just miss something? :P


Mon Jul 26, 2010 6:43 am
Profile WWW
User avatar

Joined: Sun Aug 09, 2009 9:26 am
Posts: 1633
Reply with quote
Post Re: Smooth Slow Motion
Very nice for many purposes, 10/10. I don't really have anything else to say, it's basically flawless.


Mon Jul 26, 2010 6:52 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Smooth Slow Motion
Lizard wrote:
Looks like if you close the game accidentally while slow motion is running it stays in slow motion, except hackier.

Go to Settings.ini, and make sure that DeltaTime is set to 0.016667. Unfortunately, that's a bit of a side-effect of this. I've got it as close to not doing that as I can, but there's only so much I can do.


Mon Jul 26, 2010 7:04 am
Profile WWW

Joined: Sun Oct 11, 2009 7:47 pm
Posts: 132
Reply with quote
Post Re: Smooth Slow Motion
This is amazing. I love to jetpack over a hill and go slow-motion in mid air as I gun down the coalition on the other side. You just made it a lot funner for me. This also means I could do slow-motion door breaches as well.


Mon Jul 26, 2010 7:55 am
Profile WWW
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Smooth Slow Motion
Is AirResistance a Lua settable value? If it is, you could probably reduce and increase it as you turn the slow-mo on and off. Though that leaves the fairly laggy problem of setting the AirResistance of new particles as they appear. It would also probably conflict with any other mod that sets AirResistance.


Mon Jul 26, 2010 7:59 am
Profile WWW
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Smooth Slow Motion
Unfortunately, I'm pretty certain that Lua doesn't have access to air resistance. Otherwise I would have implemented something along the lines of what you said.


Mon Jul 26, 2010 8:07 am
Profile WWW
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Smooth Slow Motion
Damn. I guess we'll have to wait for Data to fix it then.


Mon Jul 26, 2010 8:54 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post Re: Smooth Slow Motion
411570N3 wrote:
Damn. I guess we'll have to wait for Data to fix it then.

In the mean time, no flamers, no mauler, no revolver cannon.


Mon Jul 26, 2010 9:01 am
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Smooth Slow Motion
One can always replace those weapons' fired thing with a custon one that comes with the mod.


Mon Jul 26, 2010 9:06 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Smooth Slow Motion
Not really. I can't determine what has air resistance and what doesn't with Lua aside from checking their names, but that doesn't extend to mods. It's too much work for something that in the end will be buggy and not as functional as you'd hope.


Mon Jul 26, 2010 9:09 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 122 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.042s | 16 Queries | GZIP : Off ]