View previous topic :: View next topic |
Author |
Message |
Error Inside3D Staff

Joined: 05 Nov 2004 Posts: 558 Location: VA, USA
|
Posted: Fri Aug 14, 2009 11:16 am Post subject: Engine Feature Request! Print Anywhere |
|
|
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
if this exists already, please forgive me _________________ Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki |
|
Back to top |
|
 |
mh

Joined: 12 Jan 2008 Posts: 910
|
Posted: Fri Aug 14, 2009 1:48 pm Post subject: |
|
|
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 |
|
 |
Downsider

Joined: 16 Sep 2008 Posts: 478
|
Posted: Fri Aug 14, 2009 3:58 pm Post subject: |
|
|
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 |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Fri Aug 14, 2009 7:12 pm Post subject: |
|
|
csqc! then you can animate/blink/scroll/etc your text. _________________ What's a signature? |
|
Back to top |
|
 |
Error Inside3D Staff

Joined: 05 Nov 2004 Posts: 558 Location: VA, USA
|
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Sat Aug 15, 2009 9:41 am Post subject: |
|
|
darkplaces supports csqc... so what's the problem? :/ _________________ What's a signature? |
|
Back to top |
|
 |
|