Garry's Mod

Garry's Mod

83 个评价
MW-Like Grenade Counter
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐
文件大小
发表于
更新日期
197.459 KB
2024 年 6 月 2 日 上午 8:52
3 月 6 日 上午 12:09
2 项改动说明 ( 查看 )

订阅以下载
MW-Like Grenade Counter

描述
Adds a grenade counter to your screen (meant to be a companion addon to MW Stim [VManip], but it's not required). You can also customize grenade icon to your preference.

Console commands:
"mw_grenade_empty" (0/1) - Allow displaying of the grenade counter if you have no grenades left;
"mw_grenade_hud" (0/1) - Toggle displaying of the grenade counter;
"mw_grenade_style" (1-4) - Grenade counter style: 1 - HL2 grenade (angled to the right), 2 - HL2 grenade (angled to the left), 3 - M67 grenade, 4 - F1 grenade;
"mw_grenade_text_alignment" (0-4) - Grenade counter text alignment: 0 - original spacing; 1 - right; 2 - left; 3 - up; 4 - down;
"mw_grenade_x_pos" (-100-10000) - Grenade counter horizontal position;
"mw_grenade_y_pos" (-100-10000) - Grenade counter vertical position.

Credits:
MrSlonik - MW Stim [VManip] (code).
25 条留言
Агрессивный грыз 5 月 14 日 上午 7:53 
ty
Lombaxtard  [作者] 5 月 14 日 上午 7:31 
Steam\controller_base\images\api
Агрессивный грыз 5 月 14 日 上午 6:51 
also im curious, where did you get the button icons (the pngs)
Агрессивный грыз 5 月 14 日 上午 2:17 
oh, ok. I had an idea to make an overlay
Lombaxtard  [作者] 5 月 13 日 下午 2:04 
It's a discontinued (for now) attempt of mine at making an extensive controller prompts system that would be independent of HUDs. It's very crude and is controlled by a bunch of convars, each element individually.

At some point I couldn't figure out what to do next and so it's stuck being a simple .png overlay tool with X/Y/Scale/Image convars for each of the 17 button slots and a ton of various controller prompts included. Mainly made it to use with aliases so there's little to no reactive checks in the code
Агрессивный грыз 5 月 13 日 下午 12:58 
how did you do the controller prompts?
Ori 5 月 11 日 下午 8:50 
@Lombaxtard Thanks lad! Yes you did miss my "icons greyed out once empty" request. But no need to change now, take it easy, relax for a moment
SKII 5 月 11 日 下午 6:03 
noice
Lombaxtard  [作者] 5 月 11 日 下午 5:29 
Oh and this
Lombaxtard  [作者] 5 月 11 日 下午 5:27