Add custom weapon icons #193
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
That certainly isn't me, but I took a shot at it anyway. Hopefully it's still better than the default SWEP icon? :P
I created custom vector art for each weapon. They render with a scanlined glow, just like HL2 weapons.
I also created icons for the store and spawnmenu. Snatcher and Bus Stop are pretty simple since they're just stock weapons, it works imo and it's far better than no icon. While I was here, I felt it'd be more fitting to have the G-Man for the spawnmenu, rather than a random picture of Breen. Wowozela would be addressed by CapsAdmin/wowozela#21, if that is merged.
I also attempted to add support for AutoIcons, since what it previously showed was extremely janky. I gave Stan a worldmodel for this, which the only side effect I see is spawning Stan in the world spawns a skull gib. Run sometimes shows the paw very clearly, it's dependent on the map lighting when Autoicons renders it. Bus Stop isn't great, but it doesn't look like an Atari anymore; could possibly be improved with adjusting the jigglebone's default position, or moving it to a bodygroup and hiding it. Hacking Goggles are just completely fucked and there's nothing I can do about it, it appears to just be how the model works, and I couldn't figure out a better angle. Despite these issues, it's a significant improvement for anyone using this addon.
Also added descriptions for the Snatcher and Bus Stop, and fixed all the descriptions clipping out the box.
I also included my source files for everything, and some long rambles about design decisions for anyone who might care.