Skip to content

Choose a tag to compare

@ChrisTopherTa54321 ChrisTopherTa54321 released this 05 Sep 23:36
· 5 commits to master since this release

Installation Instructions:

Release Notes

Adds shortcut keys for

Setting world scale
Setting time scale
Setting animation speed

Also allows key customization. On first run it will create UserData/modprefs.ini, which contains a list of keys to listen for.

This is an example modprefs.ini:

[ShortcutPluginVars]
WorldScaleStepSize=0.01
WorldScaleMin=0.01
WorldScaleMax=10
TimeScaleStepSize=0.01
TimeScaleMin=0.1
TimeScaleMax=1
AnimationSpeedStepSize=0.05
AnimationSpeedMin=-1
AnimationSpeedMax=5
ShiftKeyMultiplier=5
TimeScalePreset0=1
TimeScalePreset1=0.5
WorldScalePreset0=1
WorldScalePreset1=1.15
AnimationSpeedPreset0=1
AnimationSpeedPreset1=0
AnimationSpeedPreset2=-1

[ShortcutPluginKeys]
SetTimeScalePreset0=;
SetTimeScalePreset1='
SetWorldScalePreset0=[
SetWorldScalePreset1=]
SetAnimationSpeedPreset0=0
SetAnimationSpeedPreset1=9
SetAnimationSpeedPreset2=8
MoveSelToCam=\
IncWorldScale=p
DecWorldScale=o
IncTimeScale=l
DecTimeScale=k
TogglePause=j
IncAnimationSpeed=7
DecAnimationSpeed=6

Note that there is a ShortcutPluginKeys and a ShortcutPluginVars section. The "Keys" are the keys you press to modify values. The "Vars" allow you to tweak the values.

The 'Inc' and 'Dec' commands increment or decrement the value by the 'StepSize' in the Vars section.
Holding in "Shift" when using an "Inc" or "Dec" command will multiply the StepSize by ShiftKeyMultiplier.

You can set preset values for the variables. For example, the command "SetAnimationSpeedPreset0" will set AnimationSpeed to 'AnimationSpeedPreset0' in the Vars section.