Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Half-Life 2 Weapon HUD script

Author
Message
freak of nature 64
15
Years of Service
User Offline
Joined: 19th Jan 2009
Location: Look in your car...
Posted: 13th May 2009 03:48
I mean I press a number and my HUD disappears. It stays gone rather than coming back. I thought about this script and wondered how the hud would go away. Is there a command for the left mouse button? P.S. Is my HUD to big? Nobody has said something about it.

bla bla bla Mr. Freeman
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th May 2009 07:28
You will need a Mod for detecting mouse clicks.


The best way to know if it's your HUD's size is to simply shrink the HUD in an image editor and then try it.


The one and only,


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 13th May 2009 16:41
his hud isnt to big, from what i can see of his attachment

freak of nature 64
15
Years of Service
User Offline
Joined: 19th Jan 2009
Location: Look in your car...
Posted: 13th May 2009 16:49
Thanks everyone for your help so far. @ply
Could you put scancodekeys in for mouse buttons and scrollwheeltogle=
whateveryouwanttotoggle or something for an update? I realize that there's around 26,000 lines of code to edit and I appreciate all source modders, but scripters everywhere would find your mod even awesomer!

bla bla bla Mr. Freeman
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th May 2009 19:19
Ply's Mod already has conditions in for mouse buttons (It's called "mouseclick=X")

Not sure what you're wanting with the "scrollwheeltoggle" thing. Are you wanting to toggle the wheels ability to swap weapons?


The one and only,


freak of nature 64
15
Years of Service
User Offline
Joined: 19th Jan 2009
Location: Look in your car...
Posted: 13th May 2009 23:55
Like to exchange health for lives you could do


bla bla bla Mr. Freeman
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 14th May 2009 07:57
Hmmm... simple enough to add something that would let you check that. It's been put into the Mod (Hurray for 1 minute additions )

I added ability to check for mouse wheel movement.

However, it will look more like this:



The one and only,


freak of nature 64
15
Years of Service
User Offline
Joined: 19th Jan 2009
Location: Look in your car...
Posted: 14th May 2009 16:15
Are you god?

bla bla bla Mr. Freeman
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 15th May 2009 06:40
If I was, I probably wouldn't be trolling this forum.
But thanks for the compliment.


The one and only,


Login to post a reply

Server time is: 2024-11-25 02:00:01
Your offset time is: 2024-11-25 02:00:01