Garry's Mod

Garry's Mod

35 次評價
No Holstered Crosshair
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Realism
檔案大小
發佈於
672.000 B
2022 年 7 月 11 日 上午 11:01
1 項更新註記 (檢視)

訂閱以下載
No Holstered Crosshair

描述
Whenever you don't have a weapon held out, the default crosshair shows up instead (like in Half-Life 2). This addon hides that crosshair. Black Mesa also doesn't have this crosshair.
This is a purely client-side addon. If the host has this installed, it won't affect anyone else.
7 則留言
#012815 10 月 12 日 上午 5:17 
Thanks Buddies !
Siffrin  [作者] 10 月 12 日 上午 5:02 
The crosshair is a HUD element named CHudCrosshair . Every frame, for every HUD element that exists, the game asks every addon that is installed: "Should I draw (name of HUD element) right now?" In code, this is done with the GM:HUDShouldDraw [wiki.facepunch.com] hook.

What this addon does is it checks whether the player doesn't have a weapon out - if they don't, then, upon being asked whether the crosshair element should be drawn, the addon tells the game "don't draw this HUD element".

I don't have a clue how the crosshair is drawn, but it doesn't really matter as long as the crosshair can just be hidden easily. If it's stored in a font (it may be), then it would be a bit tedious, and janky to replace it, since you'd have to replace the entire font file .
#012815 10 月 12 日 上午 4:29 
How Did You Remove It To Begin With? Is The Crosshair Itself A Vector Or Is It Hidden In Some Kind Of Font?
Paravertex 9 月 20 日 上午 8:27 
make a version that the Holstered Crosshair replaces the hl2 crosshair texture
Plumbwit 2023 年 7 月 6 日 下午 3:02 
can you make a version that removes the crosshair from the default gmod/hl2 weapons
BomBom 2023 年 3 月 8 日 上午 4:55 
not work
maceclubs 2022 年 7 月 13 日 下午 12:12 
based