Forum

Radar In The Engine.

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Radar In The Engine.

Postby Team Xlink » Thu Jul 23, 2009 9:45 pm

Solved.
Last edited by Team Xlink on Tue Nov 17, 2009 2:21 am, edited 1 time in total.
Team Xlink
 
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

Postby Downsider » Fri Jul 24, 2009 3:49 am

Yes.
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby r00k » Fri Jul 24, 2009 5:06 am

Google for Quake Royale. He has a radar system that u might use.
But in all it should be tied in to the SVC imho to make it cheat free..
meaning the server should control the "dots" on the radar, period.
r00k
 
Posts: 1110
Joined: Sat Nov 13, 2004 10:39 pm

Postby Downsider » Sat Jul 25, 2009 2:25 am

r00k wrote:Google for Quake Royale. He has a radar system that u might use.
But in all it should be tied in to the SVC imho to make it cheat free..
meaning the server should control the "dots" on the radar, period.


Why should the server control them? That's a bit strange. Entity info would only be sent if it's visible to your client via VIS anyway o.o
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby r00k » Sat Jul 25, 2009 8:25 am

only if the server has entity occlusion.
r00k
 
Posts: 1110
Joined: Sat Nov 13, 2004 10:39 pm

Postby Downsider » Sun Jul 26, 2009 2:46 pm

r00k wrote:only if the server has entity occlusion.


oo I thought that was there even in vanilla.
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby Spike » Sun Jul 26, 2009 3:02 pm

the server has pvs checks. not true occlusion.
its quite fuzzy. you don't wanna be able to see the other side of walls.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Radar In The Engine.

Postby Baker » Mon Aug 10, 2009 11:09 am

Team Xlink wrote:I am wondering if it is possible to add radar to the Engine instead of the QC.


Here is a possibly useful thread ...

viewtopic.php?t=1345


Note: Nexuiz (the same things as DarkPlaces has some minimap code) as well.

Yes, you said radar not minimaps but about the same. The concept of radar is somewhat simple in the sense that you take the 16 player entity spots, get their x,y,z and throw out Z.

Every frame when you are drawing the HUD, draw a circle or render a nice fancy radar pic and then up to 16 spots on the radar if player spot is visible ...

You get the idea.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby Team Xlink » Mon Aug 10, 2009 10:13 pm

Well, I added radar.


It doesn't work right tho.

It wouldn't show the bots on the radar.

I am already redoing the code because it was really sloppy and crashed the engine a lot.
Team Xlink
 
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest