Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Centerprint A netname if they are in View?

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
Mexicouger Joined: 01 May 2010 Posts: 129 |

Posted: Thu Jun 24, 2010 9:24 pm Post subject: Centerprint A netname if they are in View? |

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 |

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

Posted: Thu Jun 24, 2010 10:02 pm Post subject: |

i forget where but there is a tutorial for this. _________________ QuakeDB - Quake ModDB Group

Back to top |

Ghost_Fang Joined: 12 Nov 2009 Posts: 162 |

Posted: Thu Jun 24, 2010 10:12 pm Post subject: |

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 |

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

Posted: Thu Jun 24, 2010 10:15 pm Post subject: |

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 |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Fri Jun 25, 2010 12:28 am Post subject: |

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 |

Display posts from previous:

| 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