Garry's Mod
Оценок: 9,552
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
22 мая. 2021 г. в 22:33
6 июл. 2023 г. в 20: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
4 авг в 4:03
ЗАКРЕПЛЕНО: Non-working weapons report
Joker Gaming
31
16 окт в 16:07
Bug Report.
TheBillinator3000
9
24 ноя в 2:49
TUTORIAL FOR CHANGING COLOR OF WEAPON SELECT ICONS
jini xoxo ♥
Комментариев: 601
BOT Tux 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 26 ноя в 23:57 
How does the mod generate an icon of a weapon?
MythsList 21 ноя в 17: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 21 ноя в 16: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 15 ноя в 12:09 
thank you!
MidnightGamer 15 ноя в 2:24 
you have to manually edit the addon
Mumbles 14 ноя в 20:35 
is there a way to change how the color of the generated icon?
turkeymaster 20 окт в 7:10 
kill icons dont work :(
MidnightGamer 17 окт в 15: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)