Garry's Mod

Garry's Mod

418 beoordelingen
Gun Stats for TTT and DarkRP
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Content Type: Addon
Addon Type: Weapon, Effects
Tags: misc
Bestandsgrootte
Geplaatst op
Bijgewerkt op
5.214 KB
14 aug 2014 om 7:43
18 aug 2014 om 11:24
3 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Gun Stats for TTT and DarkRP

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