Archived
3
0
Fork 1

docs: update vehiclesplus/configuration/vehicles

This commit is contained in:
Stijn Bannink 2024-04-07 10:09:54 +00:00 committed by SBDeveloper
parent 0408bce417
commit cdf1101a3b

View file

@ -2,7 +2,7 @@
title: Vehicle Configuration title: Vehicle Configuration
description: Configure the base vehicles. description: Configure the base vehicles.
published: true published: true
date: 2024-04-07T10:09:26.999Z date: 2024-04-07T10:09:50.641Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2023-07-22T14:07:37.924Z dateCreated: 2023-07-22T14:07:37.924Z
@ -36,12 +36,12 @@ You can find a step-by-step tutorial on YouTube by The BelgiumGames.
https://www.youtube.com/watch?v=5CbPg7ld7hw https://www.youtube.com/watch?v=5CbPg7ld7hw
#### Text tutorial (EN) #### Text tutorial (EN)
##### Step 1a: Purchase your models ##### Step 1: Purchase your models
The first step is to achieve the models you want to use. Make sure the models are delivered in a Minecraft-compatible `.json` file. This makes it super easy to install! The first step is to achieve the models you want to use. Make sure the models are delivered in a Minecraft-compatible `.json` file. This makes it super easy to install!
You can easily find VehiclesPlus-compatible models [on Polymart](https://vehicles.polymart.org/). You can easily find VehiclesPlus-compatible models [on Polymart](https://vehicles.polymart.org/).
##### Step 1b: Changing the supported version ##### Step 2: Changing the supported version
Open the `pack.mcmeta` file in the root folder. Change the `pack_format` to the correct number according to the table below. Then change the `game_version` to the default (latest) version you want to support. Open the `pack.mcmeta` file in the root folder. Change the `pack_format` to the correct number according to the table below. Then change the `game_version` to the default (latest) version you want to support.
| **Version:** | **`pack_format:`** | | **Version:** | **`pack_format:`** |
@ -59,12 +59,12 @@ Open the `pack.mcmeta` file in the root folder. Change the `pack_format` to the
| 1.20.2 | `18` | | 1.20.2 | `18` |
| 1.20.3 - 1.20.4 | `22` | | 1.20.3 - 1.20.4 | `22` |
##### Step 1c: Install the model files ##### Step 3: Install the model files
Now its time to install the model's files inside the resourcepack. Most of the time, a `.json` file is included with your model. You can direclty put this file in the `assets/vp/models/item` folder. Now its time to install the model's files inside the resourcepack. Most of the time, a `.json` file is included with your model. You can direclty put this file in the `assets/vp/models/item` folder.
If any textures files are included (most of the time, this is not the case), insert them into the `assets/vp/textures/item` folder. If any textures files are included (most of the time, this is not the case), insert them into the `assets/vp/textures/item` folder.
##### Step 1d: Add the models to the correct item ##### Step 4: Add the models to the correct item
VehiclesPlus uses an item to make the models visible. You can choose any item you want, by default the plugin uses the `leather_boots` for models. VehiclesPlus uses an item to make the models visible. You can choose any item you want, by default the plugin uses the `leather_boots` for models.
Under the `overrides` section, add a line like this: Under the `overrides` section, add a line like this:
@ -77,7 +77,7 @@ Under the `overrides` section, add a line like this:
Replace `YOURMODEL` by the name of the `.json` file (excluding the extension!). Replace the `1` by the data number you want to assign. This must be unique for the `leather_boots` file. Remember this number for step 5. Replace `YOURMODEL` by the name of the `.json` file (excluding the extension!). Replace the `1` by the data number you want to assign. This must be unique for the `leather_boots` file. Remember this number for step 5.
##### Step 1e: Create a configuration file ##### Step 5: Create a configuration file
Now go to your Minecraft server's files. Now go to your Minecraft server's files.
Copy the example configuration file from the VehiclesPlus plugin folder for the type of vehicle you want to add. If you don't have the original files in your plugin folder anymore, you can [find them here](https://git.sbdevelopment.tech/SBDevelopment/VehiclesPlus/src/branch/master/Vehicle%20Models). Copy the example configuration file from the VehiclesPlus plugin folder for the type of vehicle you want to add. If you don't have the original files in your plugin folder anymore, you can [find them here](https://git.sbdevelopment.tech/SBDevelopment/VehiclesPlus/src/branch/master/Vehicle%20Models).