Adds slow-motion to S.T.A.L.K.E.R Anomaly for those intense battles.
An enhanced version of the bullet-time mod originally made by exDeMODER. I added some screen effects to it and made it consume stamina while it's active. It won't go below the limit that will make your character no longer run and it will stay disabled if bleeding it's too high.
If you activate it while moving you will do a "dash" right before time slows down.
Changes on 1.2.1:
Fixed bug that prevented bullet-time from activating if the bleeding was above the threshold even with "Dodge" off.
Changes on 1.2:
Added "Dodge" flag in the MCM menu where you can turn on/off the dash effect that happens at activating bullet time. With it off it will also allow slow-motion to stay on regardless of the bleeding level.
Changes on 1.1:
Added support for MCM. With it, you can adjust parameters such as stamina drain rate, how much time should slow down (time factor), and toggle for the screen effect that is applied when bullet time is activated.
Added ability to bind bullet-time via controls menu. Look for "Bullet Time" under the "Movement" list in the key binding menu (unbind by default).
This adds ui_keybinding.xml under gamedata/configs/ui. Some addons may also have custom bindings. If that is the case, do not overwrite your existing ui_keybinding.xml, instead, open it ( I recommend Notepad++) and add <command id="kb_bullet_time" exe="custom25"/> after <command id="kb_freelook" exe="freelook"/>. Do a search in the file and check if "custom25" is already assigned to some action. If so you must choose a different "custom" between custom20 - custom25. Then open gamedata/scripts/bullet_time_mcm.script and update line 66 with what custom you have assigned (Ex : key_bindings.kCUSTOM20 instead of key_bindings.kCUSTOM25). If all "customs" are already taken then you have to resort to the original way using DIK_keys. Such binding is still present on line 67 but commented out. So in this case, comment out line 66 by putting -- in front of it and remove the -- in front of line 67
Installation:
Drop the gamedata in your root anomaly folder.
Wow!
Does it still require debug mode though?
Yes, because it needs access to execute the "time_factor" command.
*Fallout intensifies*
Drain rate in MCM would be pretty POG. Moddb.com
Thanks, I'm pretty new to the modding stuff. I will update it as soon as I get a chance.
It's updated.
It would be perfect if there wouldnt be any change in colors and contrast just slomo with same graphics level?
Version 1.1 now supports MCM and with it you can toggle this on or off.
can i bind mouse keys? what are the directinput keys for mouse 4/5?
do directinput keys work for mouse?
Try:
DIK_keys["MOUSE_4"]
DIK_keys["MOUSE_5"]
...
Get the update version and you can change the binding via the controls menu.
This will be awesome when your sniping too. :)
Couple this with some effects enhancements like Holywood FX,re-active all bullet tracers (https://www.moddb.com/mods/stalker-anomaly/addons/all-tracers) and fly-by sounds (https://www.moddb.com/mods/stalker-anomaly/addons/jsrs-impact-crack-fly-by-sounds) and you'll love it.
This comment is currently awaiting admin approval, join now to view.
Awesome !!! thx for mcm config
Does this need debug mode to be active?
Yes
I know this isn't the intended use for this mod but if you use this mod with debug disabled then the slow time part doesn't work but you still get that little dodge move.
Made me think it'd be neat if you like, could hit a toggle in MCM so being in non-slowed bullet time boosted your walking move speed in exchange for that stamina drain. Sort of like a combat power walk that isn't quite a sprint? Idk.
Is it even possible to temp reduce inertia like that? Sort of like, reflexes or something. Smack it if you're about to round a corner and hear bullet fire so you can nope back.
You mean like how Dying light does the dodge? You need some kind of animation, at least on the camera, to make it meaningful. I also wanted to restrict the dodge to sideways and backward. But I couldn't find guides to help me with that. It is possible, but documentation is needed on the scripting part of stalker and not much is out there.
Amazing work!
Thank you for making the addon.
Is it possible to add a cycling breathing/heart beating sound effect during slow-mo mode, and end it when deactivating slowmo? Does the game support such a feature for start playing an audio repeatedly?
It may make the experience even more immersive!
Just an idea.
The problem is I don't know of a way to exclude the sound from slowing down as "time_factor" affects everything.
Got it, thank you for reply and the amazing addon anyway. Way better experience when fighting blood suckers and dogs.
What if we import an speed-upped heartbeat/deepbreath audio file so that it can be resumed to normal playback speed via the addon's time factor? Is that a viable option?
It's not. Attempt to record a sound at half its original speed and then play it back at 2x speed. You will hear the difference clear. I am pretty sure that this exclusion thing is in the code, but with no proper documentation of the Lua API of the engine, I have yet to find the needed method. In fact, I am pretty sure you can do time_factor without needing to have debug mode on also, but again - need documentation.
Thank you for your insight and it's already a big step forward vs original.
Would be amazing if you could link this up as a consumable, so that its usage is more scarce and special cases and it yields some penalties after.
That would make it like Fallout and the jet drug, where I am aiming more for a F.E.A.R-like experience.
HOW TO DISABLE HEALTH DAMAGE?
Health is not affected by this mod, only stamina. I think the other one was updated to include health damage, from what I read in its description.
sounds good, in previous version i found 3 lines at the end of script in Notepad mentioning health, hope now this will not happen
This comment is currently awaiting admin approval, join now to view.
Having trouble with this addon cause I wanna try it out but when installed, for some reason it wont let me go to the options menu as it clicks but the option menu does not show up. I don't know if its because Im trying to use this with Stalker A.R.E.A or what but yeah. Also don't know if debug mode is even on for Stalker AREA cause I dunno how to activate it.
This addon is made for Stalker Anomaly. I don't think it will work with any other type.
Is there a way to disable the slow time effect being blocked if your bleeding?
they way its currently set up 9 times out of ten i try and activate the effect in combat i cant.
also would it be possible to disable the dodge effect you get on first activating bullet time?
Anomaly does something when bleeding is too high and changes your speed. If you happen to be in slow mo when that happens your speed will be messed up an no way to recover. There is no hook, no event related to this to I am not able to adjust to it. Thus I tried to guess the limit and prevent it when that limit is reached. I guess I can add a flag to disable dodge and movement speed increase while in slowmo and then it won't matter. I will work on it
any way to turn off the dodge move thing? especially while moving forward its distracting, otherwise fantastic work!
Edit - Figured it out, thanks for commenting the script pretty plainly
It's now possible through the MCM options. The flag is called "Dodge".
my nickname is big
but thanks :^]
Any chance we can increase the stamina cost even more? Already using MCM and it still feels like it doesn't cost enough.
Well, you would have to change the script itself for that. Maybe you are using 0.2 slow down with high stamina cost and because time is so slow, it feels like it's taking longer to drain.
Is it possible to activate bullet time when a specific drug is used (ex. adrenaline)?
That would be best suited as a different kind of mod. A "fallout jet" mod.
This comment is currently awaiting admin approval, join now to view.
great mod found a issue and found how to fix it for any one including the description .
- using the new anomaly mags redux
-using this mod
i couldnt get both working right and i followed the description .
it says line 66 ( line 66 is blank and i pasted my custom24 ) it didnt work both mods showed up in mcm menu and i seen both mods options under controls and i set T for check mag amount for mags redux and Y key for bullet time . it didnt work
to fix this do this
dont use line 66 in the description use line 67 where it says this
line 66 blank..
line 67 = if(bind == key_bindings.kCUSTOM22 ) then -- allow custom binding
so you would paste custom22 ( i used custom 22 not 25 ) as shown above and then change the other file to custom22 as well not custom 25
issue was mags redux mod uses custom25 so does this mod i just changed to custom22 .
edit line 67 n ot 66 folks
This comment is currently awaiting admin approval, join now to view.
Just like F.E.A.R. or Max Payne. Thanks!
This addon is not working. Installed, setup up hotkey. Activates with sound and screen change but no slo-mo. Any reason for this?
This comment is currently awaiting admin approval, join now to view.
exactly the same problem.
Yep, I have that too.
Only works in debug mode you guys
Use debug mode.