Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial 3D Icons
#1
Hello, OMA

This is a tutorial of something that is old, but I havent seen it in the site, :/ Is a tutorial about hud elements in 3D. It has the same effect as the death icons.

Code:
text = newHudElem();
text.x = x;
text.y = y;
text.z = z;
text.alpha = alpha;
text.archived = true;
text setShader("shader name",width,height);
text setwaypoint(true,false);

This is the way of making it for one certain team: OMA

Code:
text = newTeamHudElem(team);
text.x = x;
text.y = y;
text.z = z;
text.alpha = alpha;
text.archived = true;
text setShader("shader name",width,height);
text setwaypoint(true,false);

OMA Lets make a function that makes it quicker to use:

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;
}

Example:

Code:
oma = self MakeWorldText(956,321,567,1,"weapon_onemanarmy",15,15);

You can do this same thing with other hud elems.

Thats it, OMA
Reply

#2
OMA icon for OMA games
[Image: 1fxsnb.jpg]
Reply

#3
Do you got a screenshot from it? sounds ceewl
Reply

#4
(10-27-2011, 13:58)jariz Wrote: Do you got a screenshot from it? sounds ceewl

No, I dont have a screenshot but it looks same as when you see those white skulls on allies dead bodies, Cool The code is taken from there.
Reply

#5
ah, okay, cool
Reply

#6
@Chronalis taught us this, didn't he, @Yamato ? Tongue
Reply

#7
I made a black ops script snipped about this awhile ago.
[Image: MaEIQ.png]
Reply

#8
(10-27-2011, 15:30)Pozzuh Wrote: I made a black ops script snipped about this awhile ago.

SO WHAT, LET OTHER PEOPLE RELEASE STUFF ASWELL FUCKING REPWHORE
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#9
I haven't rep-whored in a while
[Image: MaEIQ.png]
Reply

#10
(10-27-2011, 15:57)iAegle Wrote:
(10-27-2011, 15:30)Pozzuh Wrote: I made a black ops script snipped about this awhile ago.

SO WHAT, LET OTHER PEOPLE RELEASE STUFF ASWELL FUCKING REPWHORE

Ok calm down, give me +rep and take a big breath...
Then everything will be okay!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Improved 3D icons Yamato 8 5,803 06-21-2013, 16:40
Last Post: DidUknowiPwn
  Help Stop music, change icons anedaktos13 2 2,447 06-12-2012, 15:50
Last Post: SuperNovaAO
  COD MW3 Prestige Ranks level Icons DarthVader 1 4,397 11-19-2011, 03:08
Last Post: JariZ
  Help how to set custom team icons|SOLVED rotceh_dnih 13 7,662 07-12-2011, 13:58
Last Post: Cyborgking
  killstreak hud icons? Kylaii 1 2,130 06-30-2011, 01:55
Last Post: Kylaii
  Help Custom team icons Lemon 3 4,100 06-25-2011, 10:38
Last Post: Lemon
  [Request] Zombie and Survivor Icons Lemon 6 3,626 06-24-2011, 16:42
Last Post: Lemon
  [Request] Shaders/Icons 4FunPlayin 5 3,960 03-11-2011, 16:52
Last Post: 4FunPlayin
  [News] Some nice icons Eekhoorn 7 4,916 03-01-2011, 07:32
Last Post: Kazaa
  [Release] L96A1 Icons Texures superbomb17 6 5,172 01-05-2011, 04:55
Last Post: stride

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.