Garry's Mod

Garry's Mod

241 평점
Weapon Information System
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Realism
파일 크기
게시일
업데이트일
2.270 KB
2014년 1월 22일 오후 4시 19분
2014년 1월 28일 오전 8시 17분
변경 사항 5개 ( 보기 )

다운로드 위해 구독하기
Weapon Information System

설명
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
Kolibri, the robot space lesbian 2018년 7월 20일 오전 7시 55분 
when i look at most guns, the game breaks.
Jayfeather 2017년 2월 3일 오후 7시 25분 
When i look at some guns. the world goes see through.
kebokyo 2015년 3월 3일 오후 5시 21분 
The question everyone wants to know:
Will it work with any custom weapon?
Phantom 2014년 12월 14일 오전 12시 09분 
is this client side of does it need to be on the server too?
Erza 2014년 7월 25일 오후 4시 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 2014년 7월 1일 오후 2시 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 2014년 5월 6일 오전 4시 44분 
So no darkrp update?
Scardigne 2014년 3월 20일 오전 6시 06분 
Thanks for the notification C:
Zignd  [작성자] 2014년 3월 19일 오후 6시 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 2014년 3월 19일 오전 7시 18분 
Is the darkrp update still in development? it would be a shame to stop here..