SilksPlugins / UnturnedImages

A repository of images for assets in the game Unturned.
17 stars 16 forks source link

Add support for new vehicle color system and mark old ushort id methods as obsolete #14

Closed negrifelipe closed 3 months ago

negrifelipe commented 3 months ago

A new paint color system was introduced for vehicles. This pr adds support for getting all the vehicles and it's colors. ushort ids were removed for vanilla vehicles so their methods were marked as obsolete and replaced with new ones that works with guid instead. new option paint color was added to the get vehicle image url method to support a specified color. MultiRange feature should still work for the vehicles and items that still have their ushort ids. A replacement for this was added. WorkshopId and Guid. To override an entire mod you can use the workshop id and to override specific items/vehicles you can use the Guid. New image exports will use the workshop id instead

negrifelipe commented 3 months ago

I detected a small bug i will fix in next commit probably tomorrow

negrifelipe commented 3 months ago

Now it fully works