Interesting. A good way to make a HUD with E2.
Well, i had to quit firefox and i had a nice thing here typed up... So i'll make this quick
I made a 3D2D Text extention, and it works great. Function list:
holoTextCreate(number index)
holoTextPos(number index,vector pos)
holoTextAng(number index,angle ang)
holoText(number index,string text)
holoTextScale(number index,number scale)
holoTextColor(number index,vector4 rgba)
holoTextParent(number index, entity entity)
holoTextFont(number index, string font)
holoTextDelete(number index)
I think you can figure them out yourselves.
Here is a list of allowed fonts:
"HUDNumber3"
"DefaultFixedOutline"
"TabLarge"
"DefaultBold"
"DefaultUnderline"
"DefaultSmall"
"DefaultSmallDropShadow"
"DefaultVerySmall"
"DefaultLarge"
"ConsoleText"
"Trebuchet18"
"Trebuchet19"
"Trebuchet20"
"Trebuchet22"
"Trebuchet24"
"DefaultFixedDropShadow"
"CloseCaption_Normal"
"CloseCaption_Bold"
"CloseCaption_BoldItalic"
Video:
3D2D Text working perfectly - Xfire Video
Enjoy!
Awesome servers with 3D2D text on them:
Ip : 84.104.55.229:27015 (Silvermagics Build Server #1)
Ip2 : 84.104.55.229:27016 (Silvermagics Build Server #2)
|[S-FACToR Pro Build]| The No bullshit Sandbox
ip: s-factor.game-host.org
72.233.56.5:27016 McBuild's 1 of 5 [US] (Spacebuild)
By the way guys, im Energy [C&AG] in game, if any of you care
Last edited by bobthe2lol; 03-06-2010 at 03:17 PM.
Very nice! +rep
Could this be added to the svn?
Good Idea +rep,
it would be nice to expose more functions like box drawing, this is more of a hologram than the current holo stuff
Questions, Comments and Concerns about any of
my posts can be directed to my website which is at
http://vbitz.wordpress.com on the comments post
Thats an awesome idea. I might extend this more to encompas alot of the draw library
Wana join the server and try it out?
What's up with all the errors that came up on your screen in the video.. did you fix that?
Yeah, those were wiremod because i didnt update it. I updated it, and there gone now.
Implamenting font changing. After this, i think i will work on a Surface.DrawOutlinedRectfunction
Last edited by bobthe2lol; 02-20-2010 at 04:13 PM.
Your welcome. Yea i saw this, and saw people trying to use map ents, and i was like OMFG THIS MUST BE DONE and i did it. The end. lol
Bookmarks