Inside3D!
     

Engine Feature Request! Print Anywhere

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Fri Aug 14, 2009 11:16 am    Post subject: Engine Feature Request! Print Anywhere Reply with quote

I'd like a centerprint-ish function that allows you to specify where on the screen to print it to given client.

Preferably in Darkplaces Smile

if this exists already, please forgive me
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
mh



Joined: 12 Jan 2008
Posts: 909

PostPosted: Fri Aug 14, 2009 1:48 pm    Post subject: Reply with quote

Do you mean one that can be called from QC or one that's just available in the engine?

QC should be easy enough, it's just a new builtin with 2 G_INTs and 1 G_STRING (or a PF_VarString), then call into something similar to the regular centerprint. Standard server-side QC though would also need a protocol change. Again, easy enough to do.
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
Downsider



Joined: 16 Sep 2008
Posts: 478

PostPosted: Fri Aug 14, 2009 3:58 pm    Post subject: Reply with quote

Speaking of, if you want to add new QC functions that communicate with the engine, do any modifications have to be made to the compiler?
Back to top
View user's profile Send private message
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Fri Aug 14, 2009 7:12 pm    Post subject: Reply with quote

csqc! then you can animate/blink/scroll/etc your text.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Sat Aug 15, 2009 5:10 am    Post subject: Reply with quote

yes, in QC... just not CSQC
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Sat Aug 15, 2009 9:41 am    Post subject: Reply with quote

darkplaces supports csqc... so what's the problem? :/
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group