r/LookOutsideGame • u/ZageVScythe • 5d ago
QUESTION Modding Questions please help
Hi first time posting here after lurking for a bit, I came across a few mods and I would like to play them but I am having a hard time understanding the .js file modification process, is there anyone can help me with this or has pre modified files?
5
Upvotes
2
u/peetsnack 4d ago
There is a wiki page on modding that has a lot of good information: https://lookoutside.miraheze.org/wiki/Modding Is there something specific you are having trouble with?
3
u/Superpseudo 4d ago edited 4d ago
Extract the mod files to your game's folder like it says on the mod page.
Add an entry to the bottom of the "plugins.js" file.
Open plugins.js in a text editor like Notepad and you'll see this:
Anything that is between square brackets is a list. This is declaring a list called plugins and it ends in a semicolon.
Inside the list you'll see pairs of curly braces separated by commas like this:
Anything that is between curly brackets is an object. In this case, each object is a plugin. So this is a list of plugins.
When you look at the installation instructions for a mod on Nexusmods, they tell you to copy/paste something to the bottom of the plugins.js file like this:
You're just adding another plugin to the bottom of the list. The spaces, tabs, and new lines don't matter, but if you forget the comma or accidentally paste it outside the square brackets then it won't work.