Weight System - Bakin Plugin
A downloadable plugin
Introduction
Description
The weight system allows you to add meaningful weight to the items and equipment the player in your game holds.
You can specify how much weight each item in your database uses. This is done using tags (more on this later). Also, you can also use tags to specify how much additional weight capacity the player can carry (e.g. bags)!
If the player's current weight becomes too heavy, they'll be over-encumbered! When this happens, you can specify which effects this causes such as:
- Changing the player's movement speed
- Disabling dash
- Enabling a switch
- Setting a variable value
Note: The last 2 are intended for use if you have other effects you'd like to implement yourself based on a given switch/variable value (e.g. disabling fast-travel)
As soon as the player is no longer encumbered, the effects that were previously triggered will be reversed.
Installation
- Extract the .7z file you downloaded using either WinRAR or 7zip and open it.
- Copy "WeightSystemPlugin.dll" and paste it in the "plugins" folder in your Bakin install directory (usually "SteamLibrary\steamapps\common\BAKIN\plugins")
- Copy the "Weight System" folder and paste it in your project's "script" folder (if you don't see this folder, create it).
- Open the "Weight System" folder and copy "ThatDaleDudesLibrary.NET.dll".
- Paste the file (or replace if it already exists) in the "lib" folder in your Bakin install directory
- Open Bakin and go to the Layout Tool on the left
- Click the import button in the top bar on the right (it looks like a little folder with a down arrow)
- Go to the folder you extracted and select "Layouts.lyrbr". This will import the default layout used by this plugin
Setup
- In Bakin, open the common events panel and create a new "Custom Event".
- In the lower-left corner of the common event, click the C# Program Assignment box and select the weight system (it will likely show up as "script/Weight System/WeightSystem.cs")
- Press OK and then feel free to rename the common event
- Open your database and go to the Items tab
- For items that should weigh something, add the following to the "Management Tags + Notes" box on the item: "$weight(x)"
Note: You don't need the quotation marks. Also, replace "x" with how much the item should weigh. - For items that should increase your weight capacity, add the following to the "Management Tags + Notes" box on the item: "$increaseWeight(x)"
Note: You don't need the quotation marks. Also, replace "x" with how much the item should increase your weight capacity by.
The setup is now complete. Feel free to open the Weight System's user-interface from Functions > Expanded Features > Weight System and configure how you want to use the plugin
Status | Released |
Category | Game mod |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | Dale Green |
Tags | bakin, bakin-plugin, plugin, plugins, rpg-developer-bakin |
Download
Click download now to get access to the following files:
Development log
- Version 1.1Aug 10, 2024
- Version 1 Released!Aug 10, 2024
Comments
Log in with itch.io to leave a comment.
Thank you so much for your help!
:)
Hello, Dale Green
I have encountered a problem and I would like to seek your advice. When the protagonist is overweight in the game, a message will appear saying "You, are over -encumbered". I would like to know where to delete or modify this message.
If you could take the time to answer me, I would be very grateful!
Hi,
It's a message that isn't as easily customisable as I'd like it to be (yet) but, for now, you can change it by following these steps:
That should make it say whatever you set it to when the player becomes over-encumbered.
Whenever I make an update for the weight system, I'll make it easier to customise that message.