Garry's Mod

Garry's Mod

423 vurderinger
Gun Stats for TTT and DarkRP
2
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: Weapon, Effects
Tags: misc
Filstørrelse:
Offentliggjort:
Opdateret:
5.214 KB
14. aug. 2014 kl. 7:43
18. aug. 2014 kl. 11:24
3 ændringsbemærkninger ( vis )

Abonner for at downloade
Gun Stats for TTT and DarkRP

Beskrivelse
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 kommentarer
SvveetMavis 16. maj kl. 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 9. feb. 2023 kl. 13:03 
is there a way to make the info not bounce up and down and just stay still?
1Day2Die 12. juli 2022 kl. 8:15 
M9K not working?
初音E5新干线Sama 13. dec. 2021 kl. 21:32 
TFA NO WORK(Show):steamfacepalm:
Mongo Tom 6. juli 2020 kl. 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 kl. 19:30 
Anyway to make it compatible with CW 2.0 weapons?
Luingar 1. mar. 2020 kl. 15:41 
Can you add a field for shot count that hides itself if the shot count is 1?
7777 Tʜɛ Ӻ๑๛∂ß¡tξr 6. maj 2019 kl. 9:04 
So cool :VolgarrChalice:
boxama  [ophavsmand] 15. feb. 2019 kl. 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. feb. 2019 kl. 8:18 
Would this work with weapon addons? Like the TTT Weapon Collection addon?