Garry's Mod

Garry's Mod

418 oy
Gun Stats for TTT and DarkRP
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
İçerik Türü: Eklenti
Eklenti Türü: Silah, Efektler
Etiketler: misc
Dosya Boyutu
Gönderilme
Güncellenme
5.214 KB
14 Ağu 2014 @ 7:43
18 Ağu 2014 @ 11:24
3 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
Gun Stats for TTT and DarkRP

Açıklama
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
64 Yorum
Musp 9 Şub 2023 @ 13:03 
is there a way to make the info not bounce up and down and just stay still?
1Day2Die 12 Tem 2022 @ 8:15 
M9K not working?
月战铃仙 13 Ara 2021 @ 21:32 
TFA NO WORK(Show):steamfacepalm:
Mongo Tom 6 Tem 2020 @ 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 25 Mar 2020 @ 19:30 
Anyway to make it compatible with CW 2.0 weapons?
Luingar 1 Mar 2020 @ 15:41 
Can you add a field for shot count that hides itself if the shot count is 1?
7777 Tʜɛ Ӻ๑๛∂ß¡tξr 6 May 2019 @ 9:04 
So cool :VolgarrChalice:
boxama  [yaratıcı] 15 Şub 2019 @ 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 15 Şub 2019 @ 8:18 
Would this work with weapon addons? Like the TTT Weapon Collection addon?
david38473 20 Eki 2018 @ 11:08 
LOL IT ALSO WORKS IN SANDBOX