Garry's Mod

Garry's Mod

423 次評價
Gun Stats for TTT and DarkRP
2
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: Weapon, Effects
標籤: misc
檔案大小
發佈於
更新時間
5.214 KB
2014 年 8 月 14 日 上午 7:43
2014 年 8 月 18 日 上午 11:24
3 項更新註記 (檢視)

訂閱以下載
Gun Stats for TTT and DarkRP

描述
See the statistics of any weapon you look at!

Shown Statistics
Damage
Clip information (current clip/maximum)
Accuracy *
Recoil *
Fire mode
Fire rate
* Information is given a rank instead of raw data - see screenshots

Console Variables
gs_show (0/1) - Set whether or not you should see the information panels (1 = show)

Color coding!
Each different class of weapon can be given a unique color for their name, these are the default colors:
Primary - Blue
Secondary - Yellow
Grenade - Orange
Special - Red

Easily customisable - give your server a unique look!
All colors are easily customisable, as well as the boundries for the different stat ratings
Padding, the width of the panel, font used, position above the weapon and fade speeds are all customizable, look in the lua/gunstats/cl_config.lua file.

Errors
Should you encounter any Lua errors while using this addon, please check if you have made mistakes while customising the addon by pasting the contents of the cl_config.lua file to this page[www.lua.org] and adding this to the top of the text box:
GS = {}; Color = function() end; GS.Stats = {}
Then hit "Run" below, and check the output box for errors.
If you still can't figure out what's wrong, post the full stack of the error in a comment on this page or send me a message on Steam.

Direct download
GitHub[github.com]

Source
GitHub[github.com]

Why does it say semi-automatic weapons are automatic!?
It's because the addon uses scripted weapon's values. In GMod, 'automatic' weapons will continue firing if you hold down the attack button. TTT is particularly guilty of this, with multiple shotguns, rifles, and pistols being set as automatic. Sorry if it irritates you, but changing the information for individual weapons would be more work than it's worth.

Other information
The information panel fades in when you look at a weapon and quickly fades out once you look away. No two panels are fully visible at the same time, the fading was disabled for some screenshots to allow comparisons.
This addon will work with pretty much any game mode you want to use it with, but you must configure it according to your game mode's weapon structure. This requires proficient Lua knowledge - if you are unable to do it yourself send me a message on Steam and I'll try to help you out.

Please forgive me for the terrible icon, it's the best I could do with an online editor
65 則留言
SvveetMavis 5 月 16 日 上午 3:32 
if anyone wants a nice looking preset for this, here's the one I made https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3442576897
Buttercup 2023 年 2 月 9 日 下午 1:03 
is there a way to make the info not bounce up and down and just stay still?
1Day2Die 2022 年 7 月 12 日 上午 8:15 
M9K not working?
初音E5新干线Sama 2021 年 12 月 13 日 下午 9:32 
TFA NO WORK(Show):steamfacepalm:
Mongo Tom 2020 年 7 月 6 日 上午 4:21 
All of a sudden the addon just stopped working on my DarkRP server, now it just shows the name of the weapon and no stats, for CW 2.0 and m9k weapons.
Skip 2020 年 3 月 25 日 下午 7:30 
Anyway to make it compatible with CW 2.0 weapons?
Luingar 2020 年 3 月 1 日 下午 3:41 
Can you add a field for shot count that hides itself if the shot count is 1?
7777 Tʜɛ Ӻ๑๛∂ß¡tξr 2019 年 5 月 6 日 上午 9:04 
So cool :VolgarrChalice:
boxama  [作者] 2019 年 2 月 15 日 上午 10:23 
It should work for most GMod weapons (SWEPs), but fancy addons might not be fully compatible
Let me know if you need any help
Key 2019 年 2 月 15 日 上午 8:18 
Would this work with weapon addons? Like the TTT Weapon Collection addon?