Tutorial Specifically GSC Coding: 3D Hud Elements Tutorial

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,616
Points
828
Hello CCM,
this is a tutorial of something that is old, but I the most people still don't know,so I decided to post it here. Is a tutorial about hud elements in 3D. It has the same effect as the death icons. This Function is by Yamato.

Function Code
Code:
MakeWorldText(x,y,z,alpha,shader,width,height)
{
    text = newHudElem();
    text.x = x;
    text.y = y;
    text.z = z;
    text.alpha = alpha;
    text.archived = true;
    text setShader(shader,width,height);
    text setwaypoint(true,false);
    return text;
}
Here is a example
Code:
self.element = self MakeWorldText(0,0,0,1,"lui_loader_32_no_offset",100,100);
You can do this with any other hud Element too. :grinning:


Thank you and have a nice day,
@CabCon.
 

Top