-
Posts
1,245 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by Mr01sam
-
Version 1.0.3
184 downloads
Gives players the option to activate Smart Switches with in game gestures. This allows you do to things like: Clap to turn the lights on Wave to open a gate Turn on a turret unless you are surrendering! 😈 Whatever else you can think of! How to Use Its very simple and intuitive to use this plugin. No clunky commands or complicated setup. However it does require that you have a basic understanding of how to use electricity in Rust. Make sure you have BOTH permissions. Place a Smart Switch, hook it up with a power source, and an output. You can make the output whatever you like, I recommend a light for an easy example. Hit the newly placed Smart Switch with a hammer, this will open up the new gesture configuration menu. Select whatever gesture(s) you want this switch to activate with. Then at the bottom of the menu, hit the button so that it reads "NO AUTH" (text may differ depending on your localization configuration). This is to ensure that you will not need building rights in order to activate this switch (if you have building rights then you can leave it on "REQUIRE AUTH". Close the menu using the X button in the top right. Open the gesture wheel and perform one of the gestures you configured to activate this switch with. If it is properly wired up, it should turn on! Features Adds a new UI for Smart Switches that fits in with the Rust UI aesthetic and can be accessed by hitting the Smart Switch with a hammer The Smart Switch can be setup to toggle with ANY combination of Rust gestures Can also be configured to only activate for those who are authed on the tool cupboard (if desired) Permissions gesturetoactivate.set - required to configure smart switches with gestures gesturetoactivate.use - required to activate an already configured smart switch with a gesture Note: If you want to test this plugin out you will need BOTH of these! Commands None! - Okay there is a few, but they are only used by the UI, so you don't need to worry about them (players cannot use them). The only one you might want to know if is: gta.close - this will force close the UI menu in the event that it is stuck and the close button is not working (shouldn't happen) Default Config Activation Delay - This is the time it takes for the switch to toggle after using a gesture (in seconds). Activation Range - The distance a switch can be activated with a gesture from. Gesture Images - You can change the icon of each of the gestures here (in case these links stop working). Message Avatar ID - If you have Show Messages enabled, you can change the icon in which these messages will be displayed. Put a Player ID or Steam Profile ID here. Show Messages - Set to false if you do not wish to see any of the chat messages displayed by the plugin. UI Open SFX - The sound effect that is played when the gesture menu is opened. Set to "" to disable. UI Updated SFX - The sound effect that is played when the gesture menu is closed. Set to "" to disable. { "Activation Delay (seconds)": 1.0, "Activation Range": 20.0, "Gesture Images": { "Gesture.Clap": "GestureToActivate\\images\\clap.png", "Gesture.Friendly": "GestureToActivate\\images\\surrender.png", "Gesture.Hurry": "GestureToActivate\\images\\hurry.png", "Gesture.Ok": "GestureToActivate\\images\\ok.png", "Gesture.Point": "GestureToActivate\\images\\point.png", "Gesture.Shrug": "GestureToActivate\\images\\shrug.png", "Gesture.ThumbsDown": "GestureToActivate\\images\\thumbsdown.png", "Gesture.ThumbsUp": "GestureToActivate\\images\\thumbsup.png", "Gesture.Victory": "GestureToActivate\\images\\victory.png", "Gesture.Wave": "GestureToActivate\\images\\wave.png" }, "Message Avatar ID": 0, "Show Messages": true, "UI Open SFX": "assets/prefabs/locks/keypad/effects/lock.code.unlock.prefab", "UI Updated SFX": "assets/prefabs/locks/keypad/effects/lock.code.updated.prefab" } Default Localization (English) { "Directions": "Select the gestures that can activate this Smart Switch.", "Require Auth": "REQUIRE AUTH", "No Auth": "NO AUTH", "No Perm": "You do not have permission to set gesture activation for this object.", "Set Gestures": "You can setup this Smart Switch to be controlled with gestures. Hit it with a hammer to configure these settings." } Donation Link Buy me a coffee here!$4.99- 3 comments
- 2 reviews
-
- 2
-
-
- #gesture
- #electrical
-
(and 1 more)
Tagged with:
-
Hi, this could be one of two problems. 1. ImageLibrary might have had an issue loading the images. They should be refreshed when you log back in. 2. (More Likely) The Imgur links these are hosted in can become bogged down sometimes, if you want to avoid this, I suggest downloading all the images off imgur and hosting them yourself. You can edit the links for all of the images as of 2.1.0. Hope that helps!
-
It's not a built in feature of the plugin currently, however, there is a command to manually set the quality level of an item. The problem is that it requires you give it a player name so that it knows which inventory to look for the item. So no theres no way to do that for loot right now, but I could add something like that in the future! Edit: As an alternative you could use that command I mentioned to offer some kind of "upgrade" system for your players. Give them the opportunity to spend server rewards or something to upgrade an item. Just tossing out ideas, good luck!
-
I think there is a misunderstanding about the tools, currently, a higher level tool does NOT give you extra materials in total. It simply, makes the amount you get per hit greater, but the total amount a node contains is still determined by the server. For example a level 0 hatchet may give you 10 wood per hit and take 30 hits to take down a tree (just an example), however a level 5 hatchet will yield 15 a hit and only take roughly 20 hits to finish a node. However, either way you will still only get 300 wood in total, just a higher level tool will get it quicker, last longer, and do more melee damage. Hope that clears it up, sorry for the confusion. As for the crafting speed, I'm not sure what is going on there, I have just tested the plugin on a fresh server and it is correctly affecting the speed at level 100 for toolcrafting.
-
Would you be able to provide any information on when this was happening? It seems there was a problem that occurred when someone attempted to open the skills menu. If so, is this a recurring issue? Can you provide what level they were when they got this error, and does the menu still show? Thank you for reporting this!
-
I'm sorry you're experiencing these issues. I'm going to look into this, but first I want to clarify a few things, just to make sure its not a misunderstanding. The green stats shown in the picture do not appear automatically when you open the inventory. In order for those to show you must click the "Quality" toggle button, which by default looks like a star, the green stat modifiers also only appear if you are wearing higher quality clothing, they will not appear at all if you are not. I notice in your screenshots the images appear to be bugged, is this because you configured them to use different images? Or is this an issue as well? As for the other issues, are you seeing any errors in the console? Others have apparently reported some issues, it might be related to those. If so, I'm going to look into why this is occurring, any information on how to reproduce it (what you crafted, how many players on sever, ect.) would be very helpful.
-
Hi, sorry you're receiving that console spam. Unfortunately I'm not sure why that is happening for you, I have not seen this problem in any plugins I've written. I'm no server admin, so I'm not super familiar with what might be going on. But from my experience those do not look like error messages, those look more like info logs that are printing to your console for some reason. I assume everything else is working besides that console spam? As for the icon, I do have a solution for you! However, you will have to edit two small sections of the code - don't worry I can walk you through it. First of all, make a backup of the plugin incase you make a mistake! Next open up the QualityCrafting.cs file in any text editor, then search the file for the phrase "qc.button.skills" (without the quotes) you should get three results. One of them (probably the first one) you should ignore, the other two will look like this: Line 1255 (subject to change) container.Add(new CuiElement { Parent = $"{HELP_MENU}.return", Components = { new CuiImageComponent { Png = ImageLibrary?.Call<string>("GetImage", $"qc.button.skills"), Color = config.Colors.Text }, new CuiRectTransformComponent { AnchorMin = "0 0", AnchorMax = "1 1", OffsetMin = $"{3} {3}", OffsetMax = $"{-3} {-3}" } } }); Line 3594 (subject to change) container.Add(new CuiElement { Name = SKILLS_MENU_BUTTON, Parent = "Overlay", Components = { new CuiImageComponent { Png = ImageLibrary?.Call<string>("GetImage", "qc.button.skills"), Color = config.Colors.HUDButtonUntoggled }, new CuiRectTransformComponent { AnchorMin = "0 0", AnchorMax = "0 0", OffsetMin = $"{startX} {startY}", OffsetMax = $"{startX+size} {startY+size}" } } }); Now in both sections of the code, see where it says "CuiImageComponent"? What you need to do, in both places, is update that from "CuiImageComponent" to "CuiRawImageComponent". Then remember to save the plugin and see if it loads. If your server was already running you may need to reload your ui (can log out and back in should do it). It should make it so it uses the colors of the original image instead of being overlayed with white. Hope it works! Let me know if you have any questions. Also remember this post so you can refer back to it when I update the plugin!
-
Version 3.0.3
2,524 downloads
OVERVIEW: This plugin adds a crafting skill system and the ability to craft higher quality items that have special perks to enhance the item. IMPORTANT!!!: This plugin now requires the UiEngineFramework plugin. It has not been published yet, but is available temporarily right here: UiEngineFramework.cs HOW TO INSTALL: Download and install ImageLibrary Download and install UiEngineFramework (link posted above) If you have previously installed Quality Crafting, delete the config and lang files for the plugin before installing v3.0.0. If this is your first time installing this plugin you can skip this step! Download and install this plugin (Quality Crafting) Refer to the documentation for configuration options Enjoy the plugin 🙂 DOCUMENTATION: Extensive documentation for this plugin can be found IN THIS GOOGLE DOC. I STRONGLY recommend reading it first before installing. LEGACY VERSION: If you don't want to use the latest version of quality crafting you can still download the old version (v2.1.4) here: Quality Crafting v2.1.4 The legacy version is available AS IS and will not receive additional updates.Free