[Include] [INC]Screen Fader -- Supports color-to-color fades!
#21

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

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.
Reply
#23

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

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
Reply
#25

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

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)
Reply
#27

Links dead... Any mirrors?
Reply
#28

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.
Reply
#29

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.
Reply
#30

Awesome script, Nice work Joe
Reply
#31

Link doesn't work
Reply
#32

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

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.
Reply
#34

Awesome include. Good and useful too
Reply
#35

How do i fix it?

http://i49.tinypic.com/5n0v3a.png
Reply
#36

download link sucks
Reply
#37

Looks very nice,good work!
Reply
#38

Broken Link?
Reply
#39

Purely amazing !
Reply
#40

How do you control the speed of the fade?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)