Garry's Mod

Garry's Mod

241 vurderinger
Weapon Information System
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Realism
Filstørrelse:
Offentliggjort:
Opdateret:
2.270 KB
22. jan. 2014 kl. 16:19
28. jan. 2014 kl. 8:17
5 ændringsbemærkninger ( vis )

Abonner for at downloade
Weapon Information System

Beskrivelse
The Weapon Information System is an addon that displays information about the weapon and ammo on the ground (available to be picked up) when you look at it.

Source code on GitHub: WeaponInformationSystem[github.com]

If you like it please leave an up vote, so that other people can see it too.

Inspired by TTT Weapon Info created by Wolf Halez and available as paid stuff :( on CoderHire.
The Weapon Information System is not a source code copy of the TTT Weapon Info, I analysed how it works an built my own version from scratch and added some other features to make it better.

This is useful to compare weapons caracteristics and to know which is the ammo it uses.

Status: Currently working to make it work on DarkRP as well.

Informations displayed when you look at weapons:
- Name
- Damage
- Clip size
- If it is automatic
- Shot's spread
- Recoil
- Ammo type/name

Information displayed when you look at ammunitions:
- Name
- If the weapon you're holding uses the ammo you're looking at, the box that surrounds the ammo name will be green.

It will work only TTT as it allows you to pick up weapons and ammo from the ground and that treat those as weapons and ammos (code-side stuff). I'm currently trying to make it work with DarkRP, but it treats weapons and ammos differently, so don't take any hopes.

If you have any suggestions about something that should be added or about any information about problems with it, please consider creating a new thread in the discussion area.

Sorry about the grammar, I'm not a native and good english speaker. Please correct me about any mistakes.
44 kommentarer
Korsica Enjoyer 20. juli 2018 kl. 7:55 
when i look at most guns, the game breaks.
Jayfeather 3. feb. 2017 kl. 19:25 
When i look at some guns. the world goes see through.
kebokyo 3. mar. 2015 kl. 17:21 
The question everyone wants to know:
Will it work with any custom weapon?
Phantom 14. dec. 2014 kl. 0:09 
is this client side of does it need to be on the server too?
Erza 25. juli 2014 kl. 16:56 
@TehAngel i spent 7 hours today to figure out what was wrong with my server and it was this addon can cannot work with any guns that i have. It caused player item slots to disappear with broken gun errors.

[Weapon Information System] lua/cl_weapon_information.lua:117: attempt to compare number with nil
1. v - lua/cl_weapon_information.lua:117
2. unknown - lua/includes/modules/hook.lua:84
Lykrast 1. juli 2014 kl. 14:13 
I have a suggestion : replace the Automatic : true/false line by something indicating the fire delay. All base TTT weapons are automatics, and knowing the firerate is actually really something useful. Also, if possible, a way to know the number of bullets shot by shotguns (like if it's more than 1, it says something like x6 or x8 next to the damage).
Scardigne 6. maj 2014 kl. 4:44 
So no darkrp update?
Scardigne 20. mar. 2014 kl. 6:06 
Thanks for the notification C:
Zignd  [ophavsmand] 19. mar. 2014 kl. 18:42 
@Scardigne, yes it is and sorry again for all that time and no update. To tell you the true I'm very busy those days with tests (university) and work (job), but last weekend I did some progress and it's almost working, I'm just having some problems with the Title/Weapon Name field at the top, but I did not fixed it yet, because I was really very busy. But, in anyway I will release the DarkRP update this weekend 22/23 and if it does not you can call me a bitch or something like that.
Scardigne 19. mar. 2014 kl. 7:18 
Is the darkrp update still in development? it would be a shame to stop here..