Garry's Mod

Garry's Mod

9,547 个评价
AutoIcons - weapon select & kill icon generator
21
17
38
3
21
5
9
16
3
5
9
4
7
3
3
5
4
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
35.371 KB
2021 年 5 月 22 日 下午 10:33
2023 年 7 月 6 日 下午 8:56
24 项改动说明 ( 查看 )

订阅以下载
AutoIcons - weapon select & kill icon generator

描述
This addon will automatically make weapon select icons and killicons matching the vanilla HL2 styles very closely.

This addon will make all SWEPs look like HL2 weapons in the weapon selector. By default it will replace all weapon selection icons to create a more uniform style, but you can disable this with autoicons_replaceall 0 in which case only SWEPs with the default icon will be replaced.

HOW TO USE:
Subscribe to it.

If you're making a SWEP and you don't like the default orientation AutoIcons uses for it (which suits the vast majority of SWEPs), you can set SWEP.AutoIconAngle to change it.

I originally made this for my server[swamp.sv] where we have a lot of custom SWEPs with no icons since they are a hassle to make, but decided to make it public since most SWEPs come with icons that don't look good.

IF YOU GET ANY ERRORS JUST COPY AND PASTE THE WHOLE ERROR INTO THE COMMENTS

GITHUB IF YOU WANT TO CONTRIBUTE: https://github.com/swampservers/autoicons
热门讨论 查看全部(14)
104
8 月 4 日 上午 4:03
置顶: Non-working weapons report
Joker Gaming
31
10 月 16 日 下午 4:07
Bug Report.
TheBillinator3000
9
11 月 24 日 上午 2:49
TUTORIAL FOR CHANGING COLOR OF WEAPON SELECT ICONS
jini xoxo ♡
601 条留言
BOT Tux 12 月 5 日 上午 6:14 
I am quite curious to how it works. My only guess is that it pulls the model and takes a screenshot of it's side profile, and does some fancy-schmancy photoshop editing magic to make it look like a HL2 icon
midnightZer0 11 月 26 日 下午 11:57 
How does the mod generate an icon of a weapon?
MythsList 11 月 21 日 下午 5:27 
I noticed since the addon didn't manage to generate an icon, the placeholder model just stays there in the origin point of the map
MythsList 11 月 21 日 下午 4:14 
I'm making my first SWEP right now and for some reason it breaks this addon.

[AutoIcons - weapon select & kill icon generator] lua/autorun/client/autoicon.lua:447: attempt to index local 'e' (a nil value)
1. GetIcon - lua/autorun/client/autoicon.lua:447
2. DrawWeaponSelection - lua/autorun/client/autoicon.lua:932
3. unknown - lua/autorun/client/autoicon.lua:960 (x222)

The 'e' argument seems to refer to the 'tall' variable from the DrawWeaponSelection function. Could I receive help please?
Mumbles 11 月 15 日 下午 12:09 
thank you!
MidnightGamer 11 月 15 日 上午 2:24 
you have to manually edit the addon
Mumbles 11 月 14 日 下午 8:35 
is there a way to change how the color of the generated icon?
turkeymaster 10 月 20 日 上午 7:10 
kill icons dont work :(
MidnightGamer 10 月 17 日 下午 3:09 
i wish this could replace the physics gun weapon select icon with the gravity gun's because they both have the same model just with different textures (also for consistency because i dont think other weapons have that problem)