Li0n
73789dd741
to do: make it actually work |
||
---|---|---|
LICENSE | ||
README.md | ||
init.lua | ||
minetest_intiface.py | ||
mod.conf | ||
settingtypes.txt |
README.md
this clientside mod interprets and logs certain types of player interactions, so that these logs can be used by external programs. it was made to be used in combination with a python program and Intiface to add rumble support to minetest. for now it only reacts to player damage and death, writing a vibration strength and duration into the logs.
installing clientside mods is not very well documented and varies between clients.
this forum post explains it quite ok https://forum.minetest.net/viewtopic.php?f=53&t=17830
-
Navigate to your minetest directory and create a directory (aka a folder) called clientmods if it does not exist.
-
Download or clone the mod into the clientmods directory.
-
Create a text file called mods.conf inside the clientmods directory if it does not exist. this should be in the same directory that has debug.txt in it.
-
Open mods.conf in your favorite text editor and add the line "load_mod_rumble = true" (without the quotation marks). Save the file.
-
Open Minetest and navigate to the Settings tab. Select All Settings. Navigate to Client > Network > Client modding or search for "client". With Client modding selected, select the Edit button and change the displayed option to Enabled in the dropdown, or simply double-click the setting. Save your changes. Note: on some clients this setting my be called enable_client_modding instead of Client modding.
Your client-side mod has been enabled! Type .help all in chat to see what you can do!
installation instructions for the external programs that are intended to be used with this clientside mod:
-
move the minetest_intiface.py file into your minetest directory. this should be in the same directory that has debug.txt in it.
-
make sure you have python 3 installed. for windows users I recommend installing it through the microsoft store: https://www.microsoft.com/store/productId/9PJPW5LDXLZ5
-
open a command prompt.
-
type "pip install buttplug", press enter, and wait. this will install the buttplug library needed to run this program.
-
make sure you have Intiface installed to connect to your favourite rumble device. you can install it from here: https://intiface.com/desktop
How to run the programs as intended:
-
start intiface and connect your rumble device. intiface tutorials can be found on their website https://intiface.com/desktop
-
open a command prompt.
-
in the command prompt, navigate to the directory that has the minetest_intiface.py file in it. if you've never used a command line before I recommend asking a friend or google how to do this.
-
type "python3 minetest_intiface.py" and press enter to start running the python code from the minetest directory.
-
start minetest.
-
join or start a server to start playing.
Enjoy!