weapon selection hud missing in hl2 mod

weapon selection hud missing in hl2 mod

Re: weapon selection hud missing in hl2 mod Posted by foyleman on Mon Apr 23rd 2007 at 11:43pm
foyleman
2 posts
Posted 2007-04-23 11:43pm
foyleman
member
2 posts 0 snarkmarks Registered: Apr 23rd 2007
I am working on a single player mod. I have successfully installed, compiled and tested the mod. I have even successfully added a custom weapon.

However I place weapons in my test map, pick them up and I can't switch between them. There is no weapon hud and using shortcuts to switch doesn't work either.

I have tried this under multiple first-time mod installations with the same results.

What am I missing?

I have confirmed that my HudLayout.res file contains a visible setting on almost everything (particularly that which is related to weapons and huds).
I have confirmed that my config.cfg is set to flip through my inventory with the default keys.
Re: weapon selection hud missing in hl2 mod Posted by Riven on Tue Apr 24th 2007 at 12:24am
Riven
1640 posts
Posted 2007-04-24 12:24am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
I'm not too familiar with .res files, but I would start with the simple: make sure you have the HUD enabled by typing in console: cl_drawhud 1

I don't know why it's not switching, but someone else here might; that's my two cents...
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: weapon selection hud missing in hl2 mod Posted by foyleman on Tue Apr 24th 2007 at 11:05am
foyleman
2 posts
Posted 2007-04-24 11:05am
foyleman
member
2 posts 0 snarkmarks Registered: Apr 23rd 2007
hehe. Apparently I wasn't getting 'impulse 101' to work. I dropped a suit pickup into my test map and there was my weapons hud.

Thanks.