Garry's Mod

Garry's Mod

9,552 hodnocení
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
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Weapon
Addon Tags: Roleplay, Realism
Velikost souboru
Přidáno
Aktualizováno
35.371 KB
22. kvě. 2021 v 22.33
6. čvc. 2023 v 20.56
Poznámky ke změnám (24) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
AutoIcons - weapon select & kill icon generator

Popis
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ární diskuze Zobrazit vše (14)
104
4. srp. v 4.03
PŘILEPENO: Non-working weapons report
Joker Gaming
31
16. říj. v 16.07
Bug Report.
TheBillinator3000
9
24. lis. v 2.49
TUTORIAL FOR CHANGING COLOR OF WEAPON SELECT ICONS
jini xoxo ♥
Počet komentářů: 601
BOT Tux 5. pro. v 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. lis. v 23.57 
How does the mod generate an icon of a weapon?
MythsList 21. lis. v 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. lis. v 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. lis. v 12.09 
thank you!
MidnightGamer 15. lis. v 2.24 
you have to manually edit the addon
Mumbles 14. lis. v 20.35 
is there a way to change how the color of the generated icon?
turkeymaster 20. říj. v 7.10 
kill icons dont work :(
MidnightGamer 17. říj. v 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)