Page 1 of 1
Sphere collision for unstealth code
Posted: 17 Oct 2007, 09:37
by Masure
Hi,
It has already been said in a topic but I add it as a feature request.
Unstealth/cloak code uses a collision cylinder and it would be great to use a sphere. It's really annoying that planes are able to unstealth while flying far over.
Re: Sphere collision for unstealth code
Posted: 17 Oct 2007, 19:42
by Pendrokar
Masure wrote:Hi,
It has already been said in a topic but I add it as a feature request.
Unstealth/cloak code uses a collision cylinder and it would be great to use a sphere. It's really annoying that planes are able to unstealth while flying far over.
+1
Posted: 17 Oct 2007, 20:09
by Erom
I'm not positive, but I think a cylinder with height = diameter (adding a single height check)would be even easier, and still get rid of 99.9% of the problems.
Posted: 17 Oct 2007, 21:07
by Masure
Don't say you're not positive for such details. Moreover sphere check is not hard to do and fix the thing.
Re: Sphere collision for unstealth code
Posted: 17 Oct 2007, 21:42
by Forboding Angel
Masure wrote:Hi,
It has already been said in a topic but I add it as a feature request.
Unstealth/cloak code uses a collision cylinder and it would be great to use a sphere. It's really annoying that planes are able to unstealth while flying far over.
+9001
Posted: 18 Oct 2007, 04:13
by j5mello
erom's way makes more sense...
not to mention its less lines of code...
also since we're dabbling in stealth code could someone give us get/set steath, i know we already have a jamming but it would be nice to tweak that.
for example Fang's planning on giving the EE subs, a Silent Mode, which gives the subs stealth and jams their weapons (a sub/amphib given stealth doesn't show up at all, not on sonar and not visually) so they can sneak by ships/defenses to hit shipyards or bombard shorelines.
Posted: 18 Oct 2007, 06:41
by trepan
decloakSpherical FBI tag?
(default to true?)
Coded and tested ... wondering if everyone is ok with the default value.
NOTE: The kamikaze test could also be changed to spherical very easily.
Posted: 18 Oct 2007, 07:08
by Forboding Angel
trepan wrote:decloakSpherical FBI tag?
(default to true?)
Coded and tested ... wondering if everyone is ok with the default value.
NOTE: The kamikaze test could also be changed to spherical very easily.
I'm not ok with it. It should be false by default. It doesn't matter so much that I'll start an argument over it, but planes causing decloak is asinine.
Posted: 18 Oct 2007, 07:17
by Peet
Forboding Angel wrote:trepan wrote:decloakSpherical FBI tag?
(default to true?)
Coded and tested ... wondering if everyone is ok with the default value.
NOTE: The kamikaze test could also be changed to spherical very easily.
I'm not ok with it. It should be false by default. It doesn't matter so much that I'll start an argument over it, but planes causing decloak is asinine.
Defaulting to true would mean that the decloak field would be spherical by default, which would mean that planes wouldn't decloak things.
Posted: 18 Oct 2007, 08:55
by Forboding Angel
NM my post. I was recently discovered that I can't read god's typing correctly

Posted: 19 Oct 2007, 18:32
by Caydr
Is this in SVN now?
Posted: 19 Oct 2007, 20:02
by trepan
nope, not yet ... but very soon.
(have to finish another feature that uses the same files first).