Raised This Month: $ Target: $400
 0% 

[ProKreedz 2.27] Transparent Fade to Black in Pause


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
loN
Junior Member
Join Date: Apr 2010
Old 06-19-2011 , 11:19   [ProKreedz 2.27] Transparent Fade to Black in Pause
Reply With Quote #1

Hello!

I'm very new in this coding(I'm a php programmer, so I can recognize things in pawn as well), so I'd like to ask for some help. I have a self-modified ProKreedz 2.27 by nuclear. So I'd like to modify the Pause function. I made that if you press M(chooseteam) you'll be paused. What I want is that if you in pause, the screen fades to 50% black(transparent) and when you re-press the M button, you'll be unpaused and it fades to normal.

Thanks for the responses in advance!
loN is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-19-2011 , 12:42   Re: [ProKreedz 2.27] Transparent Fade to Black in Pause
Reply With Quote #2

So what exactly do you need help with ?
The black screen, hooking the chooseteam event, unpausing, ... ?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
loN
Junior Member
Join Date: Apr 2010
Old 06-19-2011 , 12:49   Re: [ProKreedz 2.27] Transparent Fade to Black in Pause
Reply With Quote #3

The pause and the unpause parts are finished, so they're ok. I just want to insert a fade effect when I call the Pause function, and the fade out from black when I re-call the Pause which will be the unpause. I exactly don't know any fade functions and how they work.

Last edited by loN; 06-19-2011 at 13:06.
loN is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-19-2011 , 16:44   Re: [ProKreedz 2.27] Transparent Fade to Black in Pause
Reply With Quote #4

You can use this stock to make the fade effects, it's a matter of testing & tweaking to get the fade you want.
http://forums.alliedmods.net/showthr...til+Screenfade


And this to install the include if you don't already know how that works
http://forums.alliedmods.net/showthread.php?t=130511
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.

Last edited by drekes; 06-19-2011 at 16:47. Reason: forgot to paste link :)
drekes is offline
Send a message via MSN to drekes
loN
Junior Member
Join Date: Apr 2010
Old 06-19-2011 , 17:08   Re: [ProKreedz 2.27] Transparent Fade to Black in Pause
Reply With Quote #5

I know how to compile, that's not a problem. I have this stock, I installed it, but I haven't messed around with it yet. I think it's time to... Thanks for your reply by the way.
loN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode