Go to file
bmgjet feb6e0f575
Update SignTool.cs
2023-12-20 20:17:29 +13:00
Neons.prefab Supported Neon Signs 2021-10-24 02:35:55 +13:00
Paintable-Prefabs.prefab All Skinnable and All Paintable Prefabs 2021-10-17 18:27:40 +13:00
README.md Update README.md 2021-10-24 02:21:56 +13:00
SignTool.Demo.map Demo Map 2021-10-17 18:29:55 +13:00
SignTool.Neon.Demo.Mod.map Map Demoing Neons Working. 2021-10-24 02:22:25 +13:00
SignTool.cs Update SignTool.cs 2023-12-20 20:17:29 +13:00
Skinnable-Prefabs.prefab All Skinnable and All Paintable Prefabs 2021-10-17 18:27:40 +13:00

README.md

SignTool

Embeds sign images and skin data into MapData,
Loads sign images and skin data from MapData,
Scales prefabs to there RustEdit Settings (Requires Entity Scale Manager for this function.)

Permissions:
SignTool.admin

ChatCommand:
/mapsave (Saves a new version of the map in server root with data embeded)
/sskin skinid (Applys skinid to entity being looked at)
/ssign (url or base64) (Applys image to sign being looked at)
/ssign frame:0-4(url or base64) (Applys image to Neons texture frames example /ssign frame:0http://image.png)
/sreset  (Removes all signs/skinnables and reloads them)
/sremove (Removes sign/skinnable thats being looked at)
/sscale float (Scales entity (Requires Entity Scale Manager for this function.))


How to use:
Create a map in rust edit with some of the signs and/or entitys that can be skinned.(*Neons are broken and will freeze the server on boot)
You can use this windows GUI tool to add images and skins to the MapData without having to run it on a server.
https://github.com/bmgjet/SignToolsGUI

Or start a server with that map.
Add images, skins and scale things as wanted using the commands.
Use command /mapsave.
It will create a new map file in the root dir of your rust server.
Rename it as you wish.

Running this map with the plugin installed will auto load the signs,skins and scale.
Opening the map again in rust edit will delete them.
So its recommended to use the SignToolsGUI first to export the settings.
Then Import it again after any changes in Rust Edit have been made.

Note

  • Object are identified by there position. Moving them in Rust Edit will remove there data.
  • Scaling of objects scale is taken from the Z axsis so only that needs to be changed.
  • Scaling is handled by Entity Scale Manager.
  • If your server crashes or doesnt shut down properly then the unload hook will be missed and scaled objects will be invisable on next startup. You can use the /sreset command to reset them. Then save and restart the server cleanly to return to normal functions.

Video:
https://www.youtube.com/watch?v=vG-op5h5AN4