Garry's Mod

Garry's Mod

1,316 个评价
Simple Useful Scripts
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
46.558 KB
2013 年 4 月 3 日 下午 2:40
2023 年 8 月 1 日 下午 9:19
22 项改动说明 ( 查看 )

订阅以下载
Simple Useful Scripts

在 V92 的 1 个合集中
Essential Oils for GMod
23 件物品
描述
A collection of simple-yet-useful scripts I've made.

Includes
  • Drop weapon script with selectable animations
  • Drop weapon on death
  • Third-person use animations with selection animations
  • Silent kill command & server-side toggle
  • Vanilla suicide disabler
  • Knock function with server-side toggle & third-person animation
  • Function to remove all default HL2 items & weapons from maps
  • Easy to tweak options panel
  • Editable basic Jump Pad entity
  • Entity ID tool, for use in Lua

How To Use

Use the handy options panel on the right side of the spawn menu, under Options > V92 > Simple Useful Scripts, or use the commands directly in the console.

Use the "dropweapon" command to drop your weapon.
Use your "use" key on objects to display an animation in third-person.
Use the "killsilent" command to kill yourself without any death notices, sounds, or corpses.
Use the "knock" command when close to a surface to emit a knock-knock sound.
Use the "cleanupitems" command to cleanup all default map-spawned HL2 items or weapons.

How To Bind Via Console
bind <key> dropweapon bind <key> killsilent bind <key> knock bind <key> cleanupitems

License
This file is open source. You are allowed to edit & share any deviations you create, as long as you make any edits open source as well. A link back to this file somewhere in your description and crediting me is required.

Available on GitHub[github.com]
热门讨论 查看全部(1)
0
2022 年 5 月 18 日 下午 12:29
置顶: The Feedback Loop
V92
166 条留言
V92  [作者] 8 月 28 日 上午 10:30 
You have to put an actual key there.
Godzillagt 8 月 25 日 上午 9:57 
i dont know how to do the bind thing for drop weapon i tryed typing bind <key> dropweapon in command and it didnt work
V92  [作者] 2024 年 10 月 5 日 下午 11:58 
@garlic

Define "stop"
GarlicCrushr 2024 年 10 月 5 日 下午 11:47 
how do you stop the drop weapon command
V92  [作者] 2024 年 10 月 1 日 下午 8:38 
@wolfer

It only works on point entities. Anything invalid of returning a value won't work.
WolfeR 2024 年 10 月 1 日 上午 11:40 
I cant shoot from Entity ID tool
LostSoul 2024 年 1 月 22 日 上午 8:51 
:steamthumbsup:
Naho-Garou 2022 年 12 月 17 日 下午 5:09 
thank you so much, your bestest!:steamthumbsup:
V92  [作者] 2022 年 10 月 20 日 下午 6:32 
@neen

Thanks. Fixed.
neen 2022 年 10 月 19 日 下午 10:30 
hi just letting you know that your hook for InitPostEntity "vntCrapItemCleanupLoaded" (at lua/autorun/sh_v92_useful-scripts.lua L#408) returns false and breaks all other hooks that use InitPostEntity by returning non nil