Post: [NEED CODE]Need Code for a shader!
05-01-2011, 08:38 AM #1
z7EVoLuTioN7z
I UsEd to be EGGG
(adsbygoogle = window.adsbygoogle || []).push({}); I need a code for a box in the center of the screen. It is for my evolutionz v3 :carling: .

I won't tell you much about it coz that would make you too excited for something I'm not finished with yet :p . Anyway can it go along the lines of:
    fade_to_black()
{
fadetoblack = NewHudElem();
fadetoblack.alignX = "[COLOR="red"]Please set[/COLOR]";
fadetoblack.alignY = "[COLOR="red"]Please set[/COLOR]";
fadetoblack.alpha = 0;
fadetoblack.horzAlign = "[COLOR="red"]Please set[/COLOR]";
fadetoblack.vertAlign = "[COLOR="red"]Please set[/COLOR]";
fadetoblack.sort = 20;
fadetoblack SetShader( "black", [COLOR="red"]please[/COLOR], [COLOR="red"]set[/COLOR]);
fadetoblack FadeOverTime( 1.0 );
fadetoblack.alpha = 1;
self waittill( "FadeDone" );
fadetoblack FadeOverTime( 1.0 );
fadetoblack.alpha = 0;
}


So i'll tell you again - what I need is a box in the Bang center of the screen and i dont want it to fill the screen either so just filling half the screen.
(adsbygoogle = window.adsbygoogle || []).push({});
05-01-2011, 11:05 AM #11
Dreamcather
Call me Eddie Winky Winky
And 13:04 here Happy
And i am not good at that too.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo