626bb2aed2 | ||
---|---|---|
README.md | ||
SkinAndSpay.cs | ||
skinandspray.png |
README.md
Just to iterate, None of my plugins or parts of there code are to be used in other paid services/plugins.
Please report it if you come across any that are in breach of this.
SkinAndSpay
Skin Handling And Custom Spray Decals.
Note: Plugin Wil fallback to mode where it skins the decal 2 seconds after the spray on oxide versions that are missing OnSprayCreate Hook
Make sure you dont move for the 3 seconds it takes when using oxide version 2.0.5532.0.
//Chat commands
/Spray skinid = Sets spraycan to use custom skinid or returns to default if already set.
/sprayresize size = Resizes the spray being looked at.
/spraysize size = Custom sprays will come out at this size.
/SkinAndSpay skinid = Just reskin with provided skinid.
/SkinAndSpay skinid "new name" = Reskin and change name of item.
//Permission to use command
SkinAndSpay.use (To Chance Spray Skins)
SkinAndSpay.skin (To Use the Chat Command To Skin Items)
SkinAndSpay.size (To Use the Resize Commands)
SkinAndSpay Creating Skins
Demo Video: https://www.youtube.com/watch?v=4gfnMVj_JnI
SprayCan Skins Only Work If They Are Tagged As "Spray Can Decal".
The built in workshop editor in rust doesnt allow this so youll need to create the skins with my tool.
https://github.com/bmgjet/Spray-Decal-Creator
Using Skins Plugin As GUI
You can use another plugih such as Skins to work as a GUI for allowing players to switch between skins.
Here is a example you can add to oxide/config/Skins.json
{
"Item Shortname": "spraycan",
"Skins": [
2816639887,
2816652031,
2816648654,
2816580876,
2816218649,
2816218582,
2816218516,
2816218452,
2816676408,
2816675297,
2816673852,
2816773393,
2816763883,
2816766036,
2816768996
]
},