UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

More fading time?

broken avatar :(
Created 11 years ago
by HitmanVere
0 Members and 1 Guest are viewing this topic.
2,451 views
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Atm Im working on doing "BO2-styled intro" which has 2-3 seconds of player not moving and black screen fades in-game. In WaW, you can just start moving immediately and rounds start immediately. I have gotten the rounds to start few seconds later and player not being able to move, but I cant find where I could extend the fading from black screen to in-game

Example (skip to 3:10):

http://www.youtube.com/watch?v=wDEM524R9Y0
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
Dunno about editing the existing fade-in ( if it even fade's in in waw ) but you can prob use this from _zombiemode.gsc ?

Code Snippet
Plaintext
 
        self.game_over_bg = NewClientHudelem( self );
self.game_over_bg.horzAlign = "fullscreen";
self.game_over_bg.vertAlign = "fullscreen";
self.game_over_bg SetShader( "black", 640, 480 );
self.game_over_bg.alpha = 1;

and then use the
Code Snippet
Plaintext
FadeOverTime( time )
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Dunno about editing the existing fade-in ( if it even fade's in in waw ) but you can prob use this from _zombiemode.gsc ?

Code Snippet
Plaintext
 
        self.game_over_bg = NewClientHudelem( self );
self.game_over_bg.horzAlign = "fullscreen";
self.game_over_bg.vertAlign = "fullscreen";
self.game_over_bg SetShader( "black", 640, 480 );
self.game_over_bg.alpha = 1;

and then use the
Code Snippet
Plaintext
FadeOverTime( time )

Code Snippet
Plaintext
start_bo2()
{
      self freezeControls(true);
  warpblack = NewHudElem();
  warpblack.x = 0;
      warpblack.y = 0;
      warpblack.horzAlign = "fullscreen";
      warpblack.vertAlign = "fullscreen";
      warpblack.foreground = false;
      warpblack.sort = 50;
      warpblack.alpha = 0;
      warpblack SetShader( "black", 640, 480 );
  warpblack FadeOverTime( 10 );
      wait 3;
      // warpblack.alpha = 0;
  self freezeControls(false);
  wait 3;
      warpblack destroy();
}

This doesnt work, took it from script I have. What do I edit more to make it work properly?
Off-topic, we have same amount of respect :please:
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
Code Snippet
Plaintext
start_bo2()
{
      self freezeControls(true);
  warpblack = NewHudElem();
  warpblack.x = 0;
      warpblack.y = 0;
      warpblack.horzAlign = "fullscreen";
      warpblack.vertAlign = "fullscreen";
      warpblack.foreground = false;
      warpblack.sort = 50;
      warpblack.alpha = 0;
      warpblack SetShader( "black", 640, 480 );
  warpblack FadeOverTime( 10 );
      wait 3;
      // warpblack.alpha = 0;
  self freezeControls(false);
  wait 3;
      warpblack destroy();
}

This doesnt work, took it from script I have. What do I edit more to make it work properly?
Off-topic, we have same amount of respect :please:

Did you try starting with alpha 1, and foreground = true ?

 8) respect
Marked as best answer by HitmanVere 11 years ago
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Did you try starting with alpha 1, and foreground = true ?

 8) respect

Code Snippet
Plaintext
start_bo2()
{
      self freezeControls(true);
  warpblack = NewHudElem();
  warpblack.x = 0;
      warpblack.y = 0;
      warpblack.horzAlign = "fullscreen";
      warpblack.vertAlign = "fullscreen";
      warpblack.foreground = false;
      warpblack.sort = 50;
      warpblack.alpha = 1;
      warpblack SetShader( "black", 640, 480 );
      wait 0.1;
  warpblack FadeOverTime( 4 );
      warpblack.alpha = 0;
  self freezeControls(false);
  wait 4;
      warpblack destroy();
}

This works, had to mess around with the settings a bit
But for some reason FreezeControls stopped working :(

Edit: GG, me, I noticed what I did wrong, testing now

Edit #2: Fixed everything, FreezeControl was set to false after 0.1 into the game, works now :)
Dont use that code btw, people, outdated and doesnt cover the whole thing :D
Last Edit: March 27, 2015, 02:18:38 pm by HitmanVere

 
Loading ...