Flying planes see cloaked units.

Flying planes see cloaked units.

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Flying planes see cloaked units.

Post by Pendrokar »

As I understand then the cloaked unit is revealed when standing too close to enemy units collision/close sight cylinder not a sphere and thats why planes uncloak units that they directly fly over!
IMO this should be changed to react to spheres cause many ppl make fighters patrol around their base and it is impossible to get a cloaked+stealthy unit through that defence without noticing(well counting on patroling fighter count). Well in BA and CA the intrusion system is already enough!

Discuss -
User avatar
Machiosabre
Posts: 1474
Joined: 25 Dec 2005, 22:56

Post by Machiosabre »

I think it'd be cool to have a tag like sensecloak or something, so taking BA as an example, fighters wont see anything where scouts and radar planes will.
though its not like BA has that many cloaking units to begin with.
DZHIBRISH
Posts: 357
Joined: 16 Mar 2007, 22:28

Post by DZHIBRISH »

why would you need many cloaking units..
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Sensecloak=0 Detected as Cylinder?
Sensecloak=1 Detected as Sphere?

That might be interesting... could it be done?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

0 should probably disable sensecloak altogether, 1 should be default, 2 spherical.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Well, you know I'm no coder!

I'm not sure if Sensecloak is the best name for the tag, however...
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

"seeCloakedUnits"?

(I have a patch written, just need
an acceptable name to sign it off.)
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

seeDeadPeople=1;
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post by Saktoth »

probably 'DetectCloaked'.

A tag to just set it as yes/no would be best, the sphere stuff is probably way too complicated.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Saktoth wrote:probably 'DetectCloaked'.

A tag to just set it as yes/no would be best, the sphere stuff is probably way too complicated.
I figure the Sphere stuff is easier than the cylinder. You set a point of origin and a radius. Bam.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Cylinder is the same, except you project everything on a 2d plane. Both are easy TBH.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

You don't set a height? Damn.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

Cloaking is a mess in spring....

I can't imagine a mod that would use cloaking very proactively, it's just too awkward and improper the way it currently is.

Cloaked units can't get close to other units or they will be seen, yet unless they are meticulously micromanaged they will trudge right on into another unit in plain sight. Developmentally the systems for anticloaking are extremely hardcoded and those which are less restrictive use ridiculous workarounds (YAY, GIANT RED BLIPS FILLING THE ENTIRE MAP!) Radar basicly see cloaked units unless they are also "stealth" which presents a myriad of other problems. Basically, mod developers have very very little control over LoS and unit sight right now, with the exception of the cloak system, which is restrictive ass at best.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Only the standard behaviour for cloaking is hardcoded, you can get/set CLOAKED in BOS and of course use Lua, if you want you can e.g. have an "uncloaker" gadget that makes all cloaked units uncloak if they get closer than a certain value to a detector.
User avatar
Decimator
Posts: 1118
Joined: 24 Jul 2005, 04:15

Post by Decimator »

Do they still decloak if they get close to a unit? Of course, it's probably possible to set the uncloak radius rediculously small...
Dead.Rabit
Posts: 264
Joined: 03 Sep 2005, 04:28

Post by Dead.Rabit »

i havnt read all the posts here but i always assumed that min distance was based on a collision sphere, not XY coords.

if not changing it to work on a collision-sphere or point-distance would be preferable, however this would take longer too calculate.

quickfix would be too have an fbi tag along the lines of candetectcloaked

this would be a good fix but as for how difficult it would be too impliment i dont know.

D.R
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Post by lurker »

Longer to calculate? That's one mult and one add. Adding that fbi tag would take much more power. And even then it's nothing compared to the parts of spring that are actually computation heavy.
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post by Saktoth »

Only the standard behaviour for cloaking is hardcoded, you can get/set CLOAKED in BOS and of course use Lua, if you want you can e.g. have an "uncloaker" gadget that makes all cloaked units uncloak if they get closer than a certain value to a detector.
CA's sniper can fire while cloaked, etc.
Post Reply

Return to “General Discussion”