Config.Components, split into four sections:
- board: the deck
- truckplate: the trucks
- wheels: the wheels
- base: the assembled skateboard item itself
1
Stream your model
The model only needs to be streamed by any resource on your server, otherwise it cannot be fitted or shown in the shop.
2
Open the config.lua and scroll down to Config.Components
3
Now, you can create a new component.
Add it to the section it belongs to, following this format:
wheels_classic_21 refers to the name of the item that will function as this component.model is the model fitted onto the skateboard.price is what it costs in the shop.shopModel is a different model to show in the shop preview (optional, default: the same as model)You need to register the item in your inventory for it to work.
how to install items?
how to install items?
4
Add the images
Your component needs a picture in two places:
- Your inventory images folder, so it shows in the player’s inventory
utility_skate/web/images/, so it shows in the editor and shop menus
wheels_classic_21.png for the example above.Good to know
Decks don’t useshopModel, they are shown in the shop with the same model that gets fitted.
The dirt that builds up on the wheels while riding is a separate overlay that sits on top of whatever wheels are fitted, new wheels don’t need their own dirty versions.
The base section holds a single entry, the skate item, which is the assembled skateboard players buy to get started. It only takes price and shopModel.