EVERYONE MUST UPGRADE TO THIS VERSION
No longer uses ScriptEnforcer since that website was taken down.
Regular props no longer fade when hit by the battering ram.
The keypad cracker is 1 step closer to 100% compatibility with other scripts, including Civs Cops.
Woops! Fixed the previous error.
Fixed an error that took place when placing a keypad while running ServerGuard.
#Changes:# Config limits now check the player's usergroup directly before checking for inheritance. This means you can have a limit like this:
#Changed files:# sh_unisec.lua
Added battering ram support by highly popular request.
Sorry it took so long. The only edited file is unisec/lua/unisec/sh_unisec.lua and for those of you with the nodrm copy, unisec/lua/unisec/sv_unisec.lua was also edited.
Fixed an "exploit"
It's not really an exploit if the player has to be hacking in order to do it, but it's fixed nonetheless.
#Changes: #
- Fixed a small benign error.
#Changed Files: #
lua/unisec/cl_unisec.lua
#Version 1.2.0#
##Changes:##
- Added Wire output for access granted/denied.
- Added optional direct lockpick support.
- Some Sandbox support added.
- Added compatibility with most other keypad cracker scripts, including but not limited to deployable crackers, door charge, and the default cracker.
- Map cleanups now restore permanent keypad/doors after removing them.
- Fixed a couple errors.
##Notes: ##
- A lot of people don't realize that if the door is flickering it's because something is in the way. This is a feature which is made to prevent players from being stuck in the door. If you don't want it, you can disable it with
usec.Config.NoStuck = false. Keep in mind that if the door is nocollided to a prop, it won't consider it as in the way, so if your door is flickering from your own props, just nocollide them to the door. :) - You do not need to add each usergroup to the permissions and limits lists. If you add
["donator"] = 5,and theadminusergroup is abovedonator, you can just leave it at that. The limit and permissions run up the chain of inheritance. - Please update your config file to contain
usec.Config.LockpickAllowed = true/false - Thanks again to all my dedicated bug-squashers and feature-requesters. You guys rule!
##Changed Files:##
lua/unisec/sh_unisec.lualua/unisec/sv_permaprop.lualua/sh_unisec_config.lualua/weapons/weapon_uni_cracker.lualua/weapons/gmod_tool/stools/secdoors.lua
#Changes:#
- Materials and color now save with permanent doors.
- Permanent doors now properly keep the right authorized user list.
- Fixed a permanent prop error.
#Changed files:#
lua/unisec/sv_permaprop.lua
** Next update is hopefully the wire update. Stay tuned :) **
#Changes:#
- Reverted the previous change to faded prop physics. It was too unstable. :(
- Fixed text in the cracker being cut off because the font is missing for some users.
#Changed Files:#
lua/unisec/sh_unisec.lualua/unisec/weapons/weapon_uni_cracker.lua