Radar question (an dLOS question)

Radar question (an dLOS question)

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

Radar question (an dLOS question)

Post by Optimus Prime »

a) normaly if you see something on radar, you see the radarblip flying around the real target in a small circle.
Now my question is: can you increase the radius of this circle? I would need that.

b) i set sightdistance to 2000 and higher, but my unit has only a los of about 1000. Is this the max los, or am i doing something wrong? When i hit the L button, i see the 2000 area lightened a bit, but if something is into this area, i only see it on radar and not like it is in LOS.

thx
colorblind
Spring Developer
Posts: 374
Joined: 14 Mar 2005, 12:32

Post by colorblind »

1) You can in the next release. Check http://taspring.clan-sy.com/wiki/CustomUnitIcons for details.

2) I don't know.
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Post by Comp1337 »

I dont think he means the icon, just how much it will wander.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Post by Acidd_UK »

From reading that, I'm very excited. :-)
hawkki
Posts: 222
Joined: 01 Jan 2006, 19:47

Re: Radar question (an dLOS question)

Post by hawkki »

Optimus Prime wrote:b) i set sightdistance to 2000 and higher, but my unit has only a los of about 1000. Is this the max los, or am i doing something wrong? When i hit the L button, i see the 2000 area lightened a bit, but if something is into this area, i only see it on radar and not like it is in LOS.

thx
There definately is some bug with radar distances and los distances. Or maybe not a bug, but maximum specified ranges. Or then i am also doing something wrong because i have stumbled upon the same problem. Both LOS and radar distance is limited. Could this be fixed or are we doing something wrong ?

Image
The two radars highlighted, the should-be radar ranges show on minimap but the actual ranges are shown in the picture.


There is also another question i cannot find an answer to:

Image
What are the three shades of green ? The first is los, yes. But the second and third are both radar ranges ? or what are they ? If radar ranges, why two different shades?
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

1: Radar is limited by terrain, its a feature and i'm pretty sure its hardcoded (patch?)
2: GFX i think
User avatar
unpossible
Posts: 871
Joined: 10 May 2005, 19:24

Re: Radar question (an dLOS question)

Post by unpossible »

Optimus Prime wrote:a) normaly if you see something on radar, you see the radarblip flying around the real target in a small circle.
Now my question is: can you increase the radius of this circle? I would need that.

b) i set sightdistance to 2000 and higher, but my unit has only a los of about 1000. Is this the max los, or am i doing something wrong? When i hit the L button, i see the 2000 area lightened a bit, but if something is into this area, i only see it on radar and not like it is in LOS.

thx
i'd like this too - representing a unit's resistance to radar targetting
Hunter0000
Posts: 197
Joined: 04 Nov 2004, 00:33

Re: Radar question (an dLOS question)

Post by Hunter0000 »

hawkki wrote:What are the three shades of green ? The first is los, yes. But the second and third are both radar ranges ? or what are they ? If radar ranges, why two different shades?
Light green = Radar and LOS
Green = ariel LOS and Rdar
Dark green = just Radar

Normal = just LOS
Grey = just Ariel LOS
Dark Grey = Notthing

Light red = Jamed and LOS
Red = Jammed and Ariel LOS
Dark Red = Jammed and no LOS

E: forgot to put, Ariel LOS is where you can only see air units, Projectiles, and gfx like smoke and shields.

Light Yellow = Jammed,LOS and Radar
Yellow = Jammed, Radar anf Ariel LOS
Dark Yellow = Jammed and Radar


I THINK thats all of em and how they work. Is this on the wiki? maybe I should add it if all of this is confirmed.
colorblind
Spring Developer
Posts: 374
Joined: 14 Mar 2005, 12:32

Post by colorblind »

That's right.
AFAIK it isn't in the Wiki; if you like you can put it in. Better put it somewhere in http://taspring.clan-sy.com/wiki/Using_Spring
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Do you mean Aerial?
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

Min3mat wrote:1: Radar is limited by terrain, its a feature and i'm pretty sure its hardcoded (patch?)
Look at it closely, though. The "green radar coverage" cuts off before the "radar range circle", even though there's no terrain in the way.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

It's probably not accurate enough to realize that the flat terrain doesn't get in the way. That's a pretty extreme angle after all.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

Flat terrain gets in the way. I'm fairly sure that if you put the radar on a mountain peak you get the full radius.
hawkki
Posts: 222
Joined: 01 Jan 2006, 19:47

Post by hawkki »

SwiftSpear wrote:Flat terrain gets in the way. I'm fairly sure that if you put the radar on a mountain peak you get the full radius.
Tried that on altored divide because i suspected the same. The radar tower got full radar coverage. however when i added the advanced radar tower the radar range was left short again and the los did not either grow bigger even though the advanced radar has a bigger los specified.

The radar was on the top of one of those big mountains behind your back at start, right at the edge.

Image
Radar, radar range correct

Image
Radar and advanced radar, note the radar range gets cut off and los stays exactly the same even though the arad has clearly higher los.

Why does this happen? Now it cannot be explained by the height of the point where from the ranges are calculated to match terrain and inaccuracy of that.

Note that the air-los grows remarkably when arad is built. Is the air-los calculated somehow from the los and radar distance ?
User avatar
unpossible
Posts: 871
Joined: 10 May 2005, 19:24

Post by unpossible »

is that LOS 1024?
hawkki
Posts: 222
Joined: 01 Jan 2006, 19:47

Post by hawkki »

unpossible wrote:is that LOS 1024?
It is supposed to be 1820 for radar and 2600 for advanced radar. What it actually is i cannot say, since it seems engine cuts it at some point.

edit: los currently is nearly equal to guardian weapon range, which is 1220, so your guess for 1024 seems possible.

Do you have a clue why this happens, is spring hardcoded for a maximum of los 1024 or whats going on here ?
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

Prettified and Wikified.

http://taspring.clan-sy.com/wiki/Using_Spring

I also added information to the Wait and Repeat commands.

You may now bow before me. ;)
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

Dragon45 wrote:Prettified and Wikified.

http://taspring.clan-sy.com/wiki/Using_Spring

I also added information to the Wait and Repeat commands.

You may now bow before me. ;)
Did you post in the wrong topic? This is a pretty standard issue bug report, nothing needing wikifying here...
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I think the color list should be simplified since it's just three colors overlayed (LOS/Aerial, Radar, Jammer). Someone reading this would currently be overwhelmed since he wouldn't understand the components that make up these colors.
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

SwiftSpear wrote: Did you post in the wrong topic? This is a pretty standard issue bug report, nothing needing wikifying here...
No mate, I added the radar/LOS commands and colors to the wiki. They werent there before.
Post Reply

Return to “Engine”