You are viewing our Forum Archives. To view or take place in current topics click here.
[Release] Modern Warfare Style Text
Posted:
[Release] Modern Warfare Style TextPosted:
Status: Offline
Joined: Sep 11, 201113Year Member
Posts: 24
Reputation Power: 0
Status: Offline
Joined: Sep 11, 201113Year Member
Posts: 24
Reputation Power: 0
Pure MW Style Text
Code:
[ Register or Signin to view external links. ]
First attempt (May appeal to you)
Pretty simple, numbers before text. Just thought of it, made it, and tested it.
Code
[ Register or Signin to view external links. ]
Last edited by brandon199511 ; edited 11 times in total
Code:
doMwText()
{
textmod = RandomIntRange( 0, 9 );
textmod1 = RandomIntRange( 0, 9 );
textmod2 = RandomIntRange( 0, 9 );
textmod3 = RandomIntRange( 0, 9 );
textmod4 = RandomIntRange( 0, 9 );
textmod5 = RandomIntRange( 0, 9 );
hud5 = newHudElem();
hud5.foreground = true;
hud5.sort = 1;
hud5.hidewheninmenu = false;
hud5.alignX = "center";
hud5.alignY = "center";
hud5.horzAlign = "middle";
hud5.vertAlign = "middle";
hud5.x = 320;
hud5.y = -200;
hud5.alpha = 1;
hud5.fontscale = 3;
hud5.color = ( 0, 1, 0 );
while(true)
{
wait 3;
hud5 settext( textmod);
wait .08;
hud5 settext( "T");
wait .08;
hud5 settext( "T" + textmod1);
wait .08;
hud5 settext( "T" + "E");
wait .08;
hud5 settext( "T" + "E" + textmod2);
wait .08;
hud5 settext( "T" + "E" + "X" );
wait .08;
hud5 settext( "T" + "E" + "X" + textmod3 );
wait .08;
hud5 settext( "T" + "E" + "X" + "T" );
wait 3;
hud5 settext( "T" + textmod1 + "X" + textmod3 );
wait .08;
hud5 settext( "T" + " " + "X" + " " );
wait .08;
hud5 settext( textmod4 + " " + textmod5 + " " );
wait .08;
hud5 settext( " " + " " + " " + " " );
wait 3;
}
wait 10;
}
[ Register or Signin to view external links. ]
First attempt (May appeal to you)
Pretty simple, numbers before text. Just thought of it, made it, and tested it.
Code
doText2()
{
self endon("disconnect");
self endon("death");
self endon("textMod_done");
hud69 = newHudElem();
hud69.foreground = true;
hud69.sort = 1;
hud69.hidewheninmenu = false;
hud69.alignX = "center";
hud69.alignY = "center";
hud69.horzAlign = "middle";
hud69.vertAlign = "middle";
hud69.x = 300;
hud69.y = -200;
hud69.alpha = 1;
hud69.fontscale = 3;
textTime = 70; //Time till numbers stop
for(;;)
{
textTime--;
textmod = RandomIntRange( 22222222, 99999999 ); // To make this look better, take or add numbers to how ever many letters or spaces your text takes up
hud69 settext( textMod );
wait .08; // Rate at which the numbers change
self thread TextHudRemove2( hud69 );
if( textTime == 0 )
{
hud69 settext( "Text Here" ); // Where to add your text
wait 5;
self thread TextRemove2( hud69 );
self notify("textMod_done");
}
}
}
TextRemove2( hud69 )
{
hud69 destroy();
}
TextHudRemove2( hud69 )
{
for( ;; )
{
self waittill( "death" );
hud69 destroy();
}
}
[ Register or Signin to view external links. ]
Last edited by brandon199511 ; edited 11 times in total
#2. Posted:
Status: Offline
Joined: May 01, 201113Year Member
Posts: 1,523
Reputation Power: 69
Status: Offline
Joined: May 01, 201113Year Member
Posts: 1,523
Reputation Power: 69
Cool where do i put this though
where do i put this
doStart()
{
notifyData = spawnStruct() ;
notifyData.titleText = "whatever text you want";
notifyData.notifyText = "whatever text you want";
self maps\_hud_message::notifyMessage( notifyData ) ;
}
where do i put this
doStart()
{
notifyData = spawnStruct() ;
notifyData.titleText = "whatever text you want";
notifyData.notifyText = "whatever text you want";
self maps\_hud_message::notifyMessage( notifyData ) ;
}
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Sep 11, 201113Year Member
Posts: 24
Reputation Power: 0
Status: Offline
Joined: Sep 11, 201113Year Member
Posts: 24
Reputation Power: 0
slayer11398 wrote Cool where do i put this though
where do i put this
doStart()
{
notifyData = spawnStruct() ;
notifyData.titleText = "whatever text you want";
notifyData.notifyText = "whatever text you want";
self maps\_hud_message::notifyMessage( notifyData ) ;
}
I posted on your other status. Same concept with this
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.