Adv. NoClip Script Module
FIND IT HERE: https://workshop.codes/VETFH/
After creating a good enough proof of concept, I’ve come back with version 2 - nice and polished.
I’ve tried to design this script to be a “module” so that it’s able to fit into other scripts easily. Unfortunately, I could only get it down to using 1 global variable (N) and 2 player variables (N & P).
I’ve been optimising the script a little here and there, but it’s still a little heavy at a total 4 rules - 5 conditions & 61 53 (v1.1.2) actions. Don’t worry though, I already have a few ideas of ways I can cut down and will keep working on it to do so.
Read Me:
https://workshop.codes/VETFH/
For updates, help & support and other useful information, feel free to join the Discord: https://discord.gg/fmsu6ba
Features:
- Allow/disallow specific players to use NoClip.
- Show name tags of the positions of players using NoClip
- Very easy to set/change the activation method. (Keybind)
- Fly in the direction your're facing, and even pass through walls into out-of-bounds areas.
- As you'd expect, you go back to regular form once you exit NoClip, continuing from that position.
- Easy to configure, allowing you to change the global properties such as permissions, name-tag visibility, default speed, boost speed and camera smoothing.
Controls & Properties:
- Toggle NoClip (configurable): Q/Ultimate
- Up: Space/Jump
- Down: Ctrl/Crouch
- Shift/Ability 2: Speed Boost
- Forwards
- Backwards
- Left
- Right
- Access: 1 - Everyone has the ability to use NoClip
- Name-Tag Visibility: 1 - Everyone can see the position of a NoClip user.
- Normal flight speed (Meters/s): 10
- Boosted flight speed (Meters/s): 20
- Camera Smoothing: 25
Configurable Properties:
Action 1:
- [X]: Default NoClip Access - This determines if by default, players will be able to use NoClip or not.
- 0 = False
- 1 = True
- [Y]: Name-tag Visibility - When someone is using NoClip, their name can be placed above their head to show others where they are.
- 0 = The positions of NoClip users are hidden from everyone. (A text entity will not be created.)
- 1 = Everyone can see the position of a NoClip user.
- 2 = Only those with permission can see the position of a NoClip user.
- 3 = Only when using NoClip can you see the position of another NoClip user.
- [Z]: *Not Used*
Action 2:
- [X]: The default move speed of the NoClip camera in Meters/s.
- [Y]: The boost move speed of the NoClip camera in Meters/s. This is when the player is holding Shift/Ability1
- [Z]: NoClip Camera Smoothing - The higher the value, the faster the transition speed but 0 is instant.
- I recommend using between 10-60 (Default: 25).
Useful Information & Tricks:
- To get the current position of a player using NoClip, it's stored in Player Variable P.
-
To give/take permission from a player, set the value at P.Var N[0] to true or false. A few examples of how this can be used:
- If there were some kind of currency/shop in your game, you should set this to true when a player purchases it.
- Having set boundaries where NoClip is/isn't allowed. You could give/take permission once a player enters/exits these bounds.
- Enabling NoClip for players that have been eliminated from the gamemode - kind of like an alternate spectate mode.
- To check if a specific player is currently using NoClip, the value is stored at P.Var N[1] (true/false).
READ ME: Unfortunately, There's a bug in the Workshop at the minute that's forcing me to add a 4th rule. Once the bug is fixed, I'll update this post. I've made it so instead of having to re-import the whole script, you'll just be able to delete the 4th rule without everything breaking. This bug is also the reason you might notice a slight "bouncing" when starting/stopping NoClip movement - especially when using high movement speeds.Bug:
https://us.forums.blizzard.com/en/overwatch/t/workshop-bug-very-strange-chase-behaviour-wen-using-throttleof/344059
Enjoy!
Version Codes:
Instead of having to re-import the entire script, expand the version notes and just re-import the affected rules.
v1.0.0: 1R43C
- 4 Rules - 5 Conditions & 61 Actions
- The very first version published.
v1.0.1: 5GKJY (Bug fixes)
- Previously: 4 Rules - 5 Conditions & 61 Actions
This Version: 4 Rules - 5 Conditions & 61 Actions- Rule 3:
- Fixed an issue where you were able to see your own name-tag when using value 3 for the Name-tag Visibility property.
- When using NoClip, you're now invincible instead of being phased out, meaning you can still be collided with if a player bumps into you. This will be changed back later, hopefully along with a big optimisation.
- Previously: 4 Rules - 5 Conditions & 61 Actions
v1.1.0: KT6SM (Optimised - Actions reduced by 10)
- Previously: 4 Rules - 5 Conditions & 61 Actions
This Version: 4 Rules - 5 Conditions & 51 Actions- Rule 3:
- Optimised the name-tag creator, reducing the action count by 5.
- Changed the method of hiding the player, reducing the action count by 5.
- In an attempt to not conflict with other game settings, players are no longer made to be invisible and so they can be seen at the top of the map by teammates.
- Previously: 4 Rules - 5 Conditions & 61 Actions
v1.1.1: 6KSGP (Small QoL Improvement)
- Previously: 4 Rules - 5 Conditions & 51 Actions
This Version: 4 Rules - 5 Conditions & 54 Actions- Rule 3:
- In v1.1.0, you'd exit NoClip and often be thrown in a random direction due to the new method of hiding players. It's not perfect, but I've tried to suppress that a little. Unfortunately, it's came at the cost of having to add 3 more actions but I'll keep trying to find a way to improve this.
- Fixed an issue where the camera smoothing was reading the wrong value.
- Previously: 4 Rules - 5 Conditions & 51 Actions
v1.1.2: QB0W3 (Small QoL Improvement)
- Previously: 4 Rules - 5 Conditions & 54 Actions
This Version: 4 Rules - 5 Conditions & 53 Actions- Rule 3:
- Screen flicker is slightly reduced when entering/exiting NoClip.
- Suppressed the random velocity a little more when exiting NoClip.
- Previously: 4 Rules - 5 Conditions & 54 Actions