ItsMods

Full Version: 3D Text Ingame
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
PHP Code:
print3DUntilNotified(origintextcoloralphascalenotification)
{
    
level endon(notification);
    
    for(;;)
    {
        
print3d(origintextcoloralphascale);
        
wait .05;
    }


as azumikkel asked for it, i did a little reasearch
i am not sure if this is the right function.
LOL createfontstring is already custom text Big Grin
he asked for a special custom text on screen function, thats why i posted it
(01-23-2011, 11:55)d0h! Wrote: [ -> ]he asked for a special custom text on screen function, thats why i posted it
lol isn't the same with createfontstring?
Btw where are the codes from (which gsc file) ?
actually this isnt on screen, this is ingame. It will print a 3d text somewhere on the map (origin). Text will always face you I think. Function exists also in mw2
sorry to link offsite but i found this

Quote:this works for CoD:UO i havnt tested with CoD1 or any others

Print3D is a dev function and will only appear on the server
it only appears for 1 server frame (20 fps is the normal, set with sv_fps) so it must be on a loop so it stays



Print3D(Were (origin) , What to print , RGB color , Alpha , Size);

Were (origin) = were it goes
What to print = sets the text
RGB color = the colour of the text
Alpha = how much alpha it has (0 = invisible)
Size = how big it is

can be used like this

Code:
    while(1)
    {
        Print3D((0,0,100),"TEST!",(1,0,0),0.5,10);
        wait 0.05; //for 20 fps (default is \sv_fps 20)
    }

[Image: CoDUOMP2007-12-1820-06-31-51.jpg]

might offer a better idea of what todo with it