This is a reimplementation of Kinect support for Garry's Mod, allowing you to do stuff like this on more platforms.
SENSORBONE.SPINE_BASE = 20
SENSORBONE.NECK = 21
SENSORBONE.SPINE_SHOULDER = 22
SENSORBONE.HAND_TIP_LEFT = 23
SENSORBONE.THUMB_LEFT = 24
SENSORBONE.HAND_TIP_RIGHT = 25
SENSORBONE.THUMB_RIGHT = 26
I haven't been able to do anything interesting with them yet.
If you make anything with the extra bones, let me know!
motionsensor.GetColourMaterial()
is not implemented.garrysmod/lua/
folder.bin
. If it already exists, skip this step.gmcl_rekinect.zip
from the Releases page.garrysmod/lua/bin/
folder you just created.
Your bin folder should now look something like this:
Please note that gmcl_rekinect does not require any server-side installation to work. However, if you want to use the extra bones from the Xbox One Kinect, you'll need to install exbones.lua
on your server:
exbones.lua
from the Releases page.garrysmod/lua/autorun/server/
directory.rekinector
(recommended)gmcl_rekinect comes with a custom DLL injection program called rekinector
for your convenience.
Just open it and it'll watch for Garry's Mod to open. Once it does, it'll inject gmcl_rekinect into the process.
You'll still need to follow the Installation Instructions above before you can use rekinect
.
gmcl_rekinect can be used as a clientside binary module, provided you have followed the Installation Instructions above.
Some servers will allow you to simply run this console command:
lua_run_cl require("rekinect")
in order to load gmcl_rekinect. If nothing is printed in your console after running this command, you'll need to use rekinector
(recommended) or DLL injection instead.
gmcl_rekinect can also be directly injected into the Garry's Mod process, allowing you to use it on whatever servers you please.
If you don't know how to do this already, follow these instructions:
gmcl_rekinect_win32.dll
which you installed to garrysmod/lua/bin/
earlier. Otherwise, x86-64 branch users should inject gmcl_rekinect_win64.dll
.