Description

An extremely basic aim assist mod. It's far from perfect and would require a lot of tweaking to make it work in a good manner, but at least it's a start. Sharing for other people who would want such a thing, play on controller or have disabilities that prevent them from enjoying the game with MnKb. Feel Free to steal all of it for your own mods.

Preview
Primitive Aim Assist
Post comment Comments
Iront_Mesdents Author
Iront_Mesdents - - 199 comments

I uploaded this partly as a modder's resource and partly as a "better than nothing" solution for controllers. Don't expect anything fancy.

Reply Good karma+2 votes
furqonoof
furqonoof - - 21 comments

is this also compatible with Touchpad? my mice brokened downed (forgive my english)

Reply Good karma Bad karma+1 vote
Iront_Mesdents Author
Iront_Mesdents - - 199 comments

This was made with gamepad in mind. I sometimes use an Xbox One controller and Joy2Key to play Stalker on my TV. This mod adds a barebones aim assist on top of that.

Reply Good karma+1 vote
American1944
American1944 - - 13 comments

Stupid question but how? I would like to experiment playing stalker with a controller but I don't know how to set it up. Is it just remapping? Another problem is that stalker has a ton of keybinds so how do you handle all of them? Perhaps can you share your user.ltx file for controllers?

Reply Good karma Bad karma+1 vote
Iront_Mesdents Author
Iront_Mesdents - - 199 comments

I use Joy2Key in order to play with a controller without needing to use the keyboard. Joy2Key has multiple functions that allow you to have multiple functions binded to a single controller button, such as short press + long press, single/double/triple/quadruple button press, alternating between two keys and a shift key. iirc, I simply use the short + Long press options and the shift key to cover all the buttons I need. For the ake of brevity, (S) means short press, (L) means long, [S] means shifted. Here is how I set it up on an Xbox One controller:

- My sticks are dedicated to WASD and mouse movements in both the main and shifted configuration.
- "Back" Button: My Shift [S] key
- "A" button: (S) Jump key, (L) Activation key "F", [S](S) Companion Follow/wait, [S](L) Headlamp.
- "B" button: (S) PDA, (L) Inventory, [S](S) Companion Loot, [S](L) Switch Firemode
- "X" Button: (S) Reload, (L) Ammo Check, [S](S) Companion Stealth, [S](L) Unjam
- "Y" Button: Alternates between weapon slots one and 2 (Key "2" and "3". Double tapping stows current weapon. [S](S) Companion Move to point, [S](L) NVGs
- Left Bumper: Grenade Launcher, [S] Wipe mask
- Right bumper: Grenade, [S] Ammo wheel
- L/R Trigger: Dedicated Aim and Fire keys in both the main and shifted configuration
- Left Stick Press: Sprint, [S] Left Lookout.
- Right Stick Press: (S) Crouch, (L) Low crouch (This presses two keys simultaneously), [S] Right Lookout.
- D-Pad up: (S) Medpack "F1", (L) Stimpack "F3", [S] Scroll up
- D-Pad down: (S) Bandage "F2", (L) Morphine/Metamizole "F4", [S] Scroll Down
- D-Pad left: (S) Detector, (L) Bolt
- D-Pad right: (S) Knife, (L) Binoculars, [S] Lower weapon
- Start Button: Escape, [S] Quicksave

I use the exact same user.ltx as my mouse set up, except mouse sensitivity and aim sensititvity which I lower a bit. But if I were to properly set it up, I would basically only need to lower aim sensitivity.

This is also entirely customizable too, which means if you don't like how the keys are bound, they can be changed around until you are satisfied.

Reply Good karma+1 vote
Iront_Mesdents Author
Iront_Mesdents - - 199 comments

I JUST now understood what you meant by touchpad. My bad.

Yes, it is compatible with any method you use to move a mouse cursor on PC

Reply Good karma+1 vote
sirbardiel
sirbardiel - - 4 comments

super helpful!
can we get some way to toggle the weapon assist? gets unhelpful when trying to get a clean head shot
maybe a MCM menu with snapping strenght?

Reply Good karma Bad karma+2 votes
Iront_Mesdents Author
Iront_Mesdents - - 199 comments

That's the issue: there is no way to reduce snapping strength. The main problem is when multiple bones are being hit repeatedly, which makes the snapping strength super strong. What I can try to do is to put snapping on a cooldown, unless if the detected bone is the head. That means it won't try to snap to another bone within a certain time unless that bone is the head. It will probably make it easier to headshot targets that way.

As I said, don't expect anything fancy. It might be a little better, but it won't change the behaviour significantly.

The other option is to open up the aim_assist_scratch2.script file and lower the assist_str value by 0.1. This should make it easier to snap to different bones. If it's till not enough, try reducing it further. Be careful with it though, because the result are exponential I believe. And do not put it to 0 either.

I'll check to see if I can make a basic MCM menu at some point.

Reply Good karma+3 votes
asafmaks
asafmaks - - 1 comments

for some reason it works for half, the sight sticks normally, but at the time of uncoupling there is a crash

! [LUA] CScriptGameObject : cannot access class member GetEnemy! [7]
! actor got hit in 65535 [16]
! [LUA] CScriptGameObject : cannot access class member GetEnemy!
! actor got hit in 65535 [30]
! [LUA] CScriptGameObject : cannot access class member GetEnemy!
! actor got hit in 65535 [32]
! [LUA] CScriptGameObject : cannot access class member GetEnemy!
! actor got hit in 65535 [2]
! [LUA] CScriptGameObject : cannot access class member GetEnemy! [2]
! actor got hit in 65535 [10]
! [LUA] CScriptGameObject : cannot access class member GetEnemy!
! actor got hit in 65535 [26]
! [LUA] CScriptGameObject : cannot access class member GetEnemy!
! actor got hit in 65535 [24]
! [LUA] CScriptGameObject : cannot access class member GetEnemy!
! actor got hit in 65535 [4]
! [LUA] CScriptGameObject : cannot access class member GetEnemy! [8]
! [LUA] SCRIPT RUNTIME ERROR
! [LUA] ...omaly. redux\gamedata\scripts\aim_assist_scratch2.script:73: attempt to call method 'actor_stop_look_at_point' (a nil value)
! [SCRIPT ERROR]: ...omaly. redux\gamedata\scripts\aim_assist_scratch2.script:73: attempt to call method 'actor_stop_look_at_point' (a nil value)

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ...omaly. redux\gamedata\scripts\aim_assist_scratch2.script:73: attempt to call method 'actor_stop_look_at_point' (a nil value)

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: