About this mod
Push down any actor with a keypress. A currently-limited version of my Real Push mod that's still in-the-works
- Requirements
- Permissions and credits
- Changelogs
- Donations
*"Real Push", the future iteration of this mod, will hopefully strip the animation played when pushed, push actor from player direction, and allow greater push distances, among other improvements*


Features:
- Push people down. It's great fun.
Use:
- Press *F3* to activate and deactivate
INSTALLATION:
There are many possible install methods but easiest is the following:
- Download and install Starfield Hotkeys, Baka Achievement Enabler, and SFSE
- Put both "GetPushTarget.txt" and "PushTarget.txt" from the mod download into your main Starfield directory (where Starfield.exe lives)
- Open the StarfieldHotkeys.ini file located in "User/MyDocuments/MyGames/Starfield"
- Open the SimplePushHotkeys.txt file from the mod
- Copy the contents from SimplePushHotkeys.txt and paste them under their respective headers. Lines under [Macros] in the mod file go under [Macros] in your Hotkeys.ini. Lines under [Hotkeys] in the mod file go under [Hotkeys] in your Hotkeys.ini
- Change "F3" to whatever key you want. List of Possible Keybinds
- Save your StarfieldHotkeys.ini file
Why?
Because sometimes you just want to be a jerk
How?
- Installing Starfield Hotkeys allows setting custom hotkeys in StarfieldHotkeys.ini in your /MyDocuments/MyGames/Starfield folder.
- Installing SFSE allows Baka Achievement Enabler to function correctly
- Installing Baka Achievement Enabler suppresses the console warning when first opening the console. Otherwise, you must open console and click through the warning before running the commands.
Now, here's what's interesting. If I were to manually launch each of these commands separately and sequentially in the console, it would totally work. But, when launched as one command from a hotkey, it fails. I had one hell of a time finding a way to fire the "PushActorAway" or "GetSelectedRef" command after "PickNextActor"; console commands appear to fire each command simultaneously. To circumvent this, I tired artificially incurring a delay by utilizing batch file launch. I would kill for a wait or delay command and WaitBatchFile doesn't seem to work in any arrangement I've tried out (nor does it have documentation).
StarfieldHotkeys.ini
[Macros]
SimplePush=PickNextRef; bat GetPushTarget
[Hotkeys]
F3=SimplePush
GetPushTarget.txt
;
PickNextActor;
Bat PushTarget;
PushTarget.txt
;
PushActorAway "GetSelectedRef" 2;
To other modders out there
Someone more talented than I please, please take anything you want from this and run with it. I'm an artist and musician with ideas, not as much a programmer and would love to see this expanded while we wait for Creation Kit release.
TWEAKING:
DO NOT ADJUST OR MOVE THE COMMANDS IN THE TEXT FILES. THE CONSOLE REQUIRES THEM EXACTLY AS I HAVE THEM TO FUNCTION. ONLY CHANGE THE FOLLOWING VARIABLE UNDER "PUSHTARGET.TXT":
PushActorAway "GetSelectedRef" 2;
- Changing 2 to something higher will only make the NPC lay on the ground longer
- Changing 2 to any negative value will allow them to get up instantaneously
Limitations:
Currently, with the lack of development tools for Starfield, we're stuck either until the Creation Kit is released or xEdit or SFSE get updated with relevant script extensions. As such, actors currently play an animation upon being pushed before engaging ragdoll. The animation also prevents the force factor (currently set to 2) from actually meaning anything, except how long the NPC is going to lay on the ground. Setting it to 50 will result in same force but longer down time. I'm guessing the game is reading the NPC as being affected by the force (more force = more downtime) but the force itself is being blocked by the NPC animation. I'm still working on a way to strip the animation and stack other parameters, so hold tight for future updates.
Future Implementation Ideas:
- Check distance before firing script
- Remove animation tied to target NPC so that they instantly ragdoll
- Push from player direction. They currently only can be pushed forward or backward, based on the NPC's orientation.
- MOAR PUSH
YOU MAY HAVE TO PRESS THE HOTKEY TWICE TO FIRE CORRECTLY. THIS IS DUE TO A LIMITATION WITHIN THE CONTEXT OF CONSOLE COMMANDS BUT I'M STILL EXPLORING OPTIONS
!! F3 IS ABLE TO BE CHANGED TO ANYTHING YOU WANT SO PLEASE READ THE DAMN INSTRUCTIONS BEFORE POSTING !!