Place all meeting requests / announcements here...
Post Reply
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm


Post by trepan » Sat Nov 29, 2008 3:52 am

World text objects have been added into the SVN sources.

The following features are available:
- using BZDB variable values as the text source
- URL sourced font files
- most of the 'material' properties (noshadow, nolighting, etc...)
- all of the transformation keywords
(shift, scale, spin, shear, xform, position, size, rotation)
- billboarding (making the text face the screen)
- left/center/right justification
- fixed width regardless of character count
- multiple lines in one text object
- configurable line spacing
- polygon offset adjustments for 'decals'
- embedded escape codes for coloring, blinking, and underling
- configurable font rendering resolution
- 'lengthPerPixel' based culling (a la DrawInfo)

- text will not be rendered into the radar
- text can not be used in group definitions, yet


User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Post by Spazzy McGee » Sun Nov 30, 2008 7:44 pm

An interesting and useful addition. If I ever make another map - I expect i'll get around to it when 3.0 rolls around - i'm sure i'll be able to put this to good use. Much more efficient than rendering text onto textures - especially when you can change it via BZDB vars.

It's a shame it doesn't display on radar - do you have plans to do this further down the line, trepan?
"Life is what happens to you while you're busy making other plans." - John Lennon

Post Reply