SA-MP Forums Archive
[Include] [INC]Screen Fader -- Supports color-to-color fades! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC]Screen Fader -- Supports color-to-color fades! (/showthread.php?tid=124091)

Pages: 1 2 3


Re: [INC]Screen Fader -- Supports color-to-color fades! - Joe Staff - 09.02.2010

Quote:
Originally Posted by Chaprnks
You should use ALS so you don't have to add those functions (ex: FadeInit under OnFilterScript/GameModeInit).
ALS?


Re: [INC]Screen Fader -- Supports color-to-color fades! - Joe Staff - 09.02.2010

That's neat but would cause problems when someone wants to use it in a filterscript and NOT in the gamemode, or vice versa. I'd have to setup both for use, and if I did that it would run both at the beginning of OnGameModeInit if it's in a filterscript. (not everyone uses #define filterscript)

ALS is kind of a thing meant for really pawn illiterate people, and since I'm adding new functions, I doubt a person that can utilize these functions has issues with adding 1 line to a couple of callbacks.
But if I'm wrong I'll add it.


Re: [INC]Screen Fader -- Supports color-to-color fades! - Chaprnks - 09.02.2010

You could just make two download links, one: J_Fader_FS, another: J_Fader_GM


Re: [INC]Screen Fader -- Supports color-to-color fades! - Fedee! - 09.02.2010

Quote:
Originally Posted by Chaprnks
You could just make two download links, one: J_Fader_FS, another: J_Fader_GM
Too much trouble I think xD


Re: [INC]Screen Fader -- Supports color-to-color fades! - Torran - 10.02.2010

What numbers would i add after this: FadeColorForPlayer
For it to go from Black to normal?


Re: [INC]Screen Fader -- Supports color-to-color fades! - Joe Staff - 10.02.2010

Quote:
Originally Posted by Torran
What numbers would i add after this: FadeColorForPlayer
For it to go from Black to normal?
FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,steps,hold);

Black is 0,0,0,255 (aka, 0x000000FF), so then you'd want it to not have opac, so you'd fade the alpha to 0, so your color numbers would be 0,0,0,0 (0x00000000)


Re: [INC]Screen Fader -- Supports color-to-color fades! - Stefan_Toretto - 26.08.2011

Links dead... Any mirrors?


Re: [INC]Screen Fader -- Supports color-to-color fades! - mprofitt - 03.09.2011

Quote:
Originally Posted by Joe Staff
View Post
Important Note:
Everybody re-download it (assuming you already downloaded it ), I ran into a bug which caused the callback "OnFadeComplete" to be ran continously, this bug is now fixed and a small update has been added.

OnFadeComplete(playerid,beforehold)
beforehold was added. OnFadeComplete will run twice every time now, once for when the fade itself is complete, and once for when the hold time is finished.
beforehold will be '1' for the fade transition completion
it will be '0' for the hold time completion.

StopPlayerFade(playerid) was added into the pawno functions list
FadePlayerConnect(playerid) now has the 'playerid' parameter to adjust for changes forementioned

I added 2 new videos and another script example: Fading Teleport Transitions using the beforehold feature


What do you mean? Fade in for when he dies and fade out for when he spawns?
I can not get this function to work. I see the delay during SetPlayerPosFade, bu no fading.


Re: [INC]Screen Fader -- Supports color-to-color fades! - Ballu Miaa - 25.08.2012

Quote:
Originally Posted by Joe Staff
Посмотреть сообщение

http://************/files/scripts/j_fader_v2.inc
==
http://joe staff.net/files/scripts/j_fader_v2.inc (minus the space)


Not hard to figure out

Besides, it shouldn't be my job to make a work around for someone falsely censoring my website.
Thanks a lot. Cheers Joe.


Re: [INC]Screen Fader -- Supports color-to-color fades! - Qu3esL - 16.09.2012

Awesome script, Nice work Joe


Re: [INC]Screen Fader -- Supports color-to-color fades! - DwayneVanKom - 06.10.2012

Link doesn't work


Re: [INC]Screen Fader -- Supports color-to-color fades! - Emmet_ - 06.10.2012

Link: http://pastebin.com/raw.php?i=rhhCeP93


Re: [INC]Screen Fader -- Supports color-to-color fades! - Black Wolf - 07.10.2012

Is it compatible with 3c ? i tried and failed it doesnt show textdraw also i am failed at something like

how can i use it for setplayerpos

I didnt understand whats steps is for in it.


Re: [INC]Screen Fader -- Supports color-to-color fades! - BlueFire_ - 11.10.2012

Awesome include. Good and useful too


Re: [INC]Screen Fader -- Supports color-to-color fades! - hypZZ - 03.11.2012

How do i fix it?

http://i49.tinypic.com/5n0v3a.png


Re: [INC]Screen Fader -- Supports color-to-color fades! - Yousha_Aleayoub - 18.11.2012

download link sucks


Re: [INC]Screen Fader -- Supports color-to-color fades! - Plovix - 18.11.2012

Looks very nice,good work!


Re: [INC]Screen Fader -- Supports color-to-color fades! - Dylan_Madigan69 - 20.12.2012

Broken Link?


Re: [INC]Screen Fader -- Supports color-to-color fades! - BlueSky_ - 21.12.2012

Purely amazing !


Re: [INC]Screen Fader -- Supports color-to-color fades! - cachaflo - 03.02.2013

How do you control the speed of the fade?