Inside3D!
     

Centerprint A netname if they are in View?

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Mexicouger



Joined: 01 May 2010
Posts: 129

PostPosted: Thu Jun 24, 2010 9:24 pm    Post subject: Centerprint A netname if they are in View? Reply with quote

I have a pretty good grip on the code to make When a bot or another player is in view, But I have no idea How to tell the code if there is a Player in my view, Like a slimmed view.(middle of screen).

I am hoping If I get help on this, that It will teach me something new about qc.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Thu Jun 24, 2010 10:02 pm    Post subject: Reply with quote

i forget where but there is a tutorial for this.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Thu Jun 24, 2010 10:12 pm    Post subject: Reply with quote

wouldn't it just have to do with traceline and if the entity in the traceline is true, just centerprint the other.netname? Because doesnt the quake engine know the difference when an entity and the world are in the traceline at a given time? Or does it only calculate that when you fire or something?
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Thu Jun 24, 2010 10:15 pm    Post subject: Reply with quote

thats pretty much it. but im not sure if centerprint will print to everone i dont remember havnt been around qc in a while =( worth a try check it out. try your different prints if you get issues when testing.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Baker



Joined: 14 Mar 2006
Posts: 1538

PostPosted: Fri Jun 25, 2010 12:28 am    Post subject: Reply with quote

Maybe this tutorial?

http://www.quake-1.com/docs/quakesrc.org/49.html
_________________
Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC 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