Garry's Mod

Garry's Mod

9,548 betyg
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
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Weapon
Addon Tags: Roleplay, Realism
Filstorlek
Lades upp
Uppdaterades
35.371 KB
22 maj, 2021 @ 22:33
6 jul, 2023 @ 20:56
24 ändringsnotiser ( visa )

Abonnera för att ladda ner
AutoIcons - weapon select & kill icon generator

Beskrivning
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
Populära diskussioner Visa alla (14)
104
4 aug @ 4:03
KLISTRAD: Non-working weapons report
Joker Gaming
31
16 okt @ 16:07
Bug Report.
TheBillinator3000
9
24 nov @ 2:49
TUTORIAL FOR CHANGING COLOR OF WEAPON SELECT ICONS
jini xoxo ♡
601 kommentarer
BOT Tux 5 dec @ 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 nov @ 23:57 
How does the mod generate an icon of a weapon?
MythsList 21 nov @ 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 nov @ 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 nov @ 12:09 
thank you!
MidnightGamer 15 nov @ 2:24 
you have to manually edit the addon
Mumbles 14 nov @ 20:35 
is there a way to change how the color of the generated icon?
turkeymaster 20 okt @ 7:10 
kill icons dont work :(
MidnightGamer 17 okt @ 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)