Page 1 of 1
Shield centre point (Help!)
Posted: 01 Oct 2007, 15:32
by Saktoth
It appears the centre of the shield is based around the 0 position on the model, rather than on where the weapon slot it takes up aims/fires from. The visible shield shell will appear centred around the weapon point, but the actual deflection will still take place as if the shield is at the centre of the model. Very frustrating. Even more confusing, this doesnt seem to apply to beamlasers (which will collide with the visible shell as you'd expect them to).
I believe Dozers had shields that only deflected on the front of the model. How was this done? Just using beamlasers? Is there a way to fix this bug?
Posted: 01 Oct 2007, 15:51
by Mr.Frumious
http://spring.clan-sy.com/phpbb/viewtopic.php?t=8284
Reading it over, dozers used lasers.
Also, I noticed that KDR observed that his D-gun would hit obstacles, and how this was a frustrating bug. Funny, everything old is new again. Probably the new "hardcored to fire at ground instead of units" would screw up dozers gameplay even further.
Posted: 01 Oct 2007, 16:28
by KDR_11k
I had other weapons in dozers before but since only beamlasers consistently stop at the edge of the shield I couldn't use them. I'm not certain if the off-center shield got ignored by other weapons, that might explain something but for testing with full accuracy you need really slow shots.
Posted: 01 Oct 2007, 17:11
by Peet
Another irritating quirk of shields is that some projectiles collide/are deflected by a CYLINDRICAL primitive. Rage.
Posted: 01 Oct 2007, 18:35
by Saktoth
Mm thats certainly not what is happening with the beamlasers, they collide perfectly with the visible shield and miss it when fired above or below. What weapon types collide with a cylinder?
Weird. I guess this can go in the 'needs fix' basket then...
Posted: 01 Oct 2007, 18:37
by Peet
Plasma and possibly missiles, iirc. I think they collide properly with the sphere above the equator of it, and below they act as if it's a cylinder.
Posted: 01 Oct 2007, 19:20
by Saktoth
Well, since its impossible to actually raise the height of the shield (other than against beamlasers), how can you even tell how it behaves below the equator?
I suppose you could do it with air..
Are you sure what you are observing is a cylinder below the equator and not just a result of trying to raise a shield sphere upwards, and finding that it stays on the ground (IE it will collide below the actual sphere)?
Posted: 01 Oct 2007, 19:27
by Peet
Saktoth wrote:Well, since its impossible to actually raise the height of the shield (other than against beamlasers), how can you even tell how it behaves below the equator?
If the unit's center is above ground (or if my unit's shield is emitted from the proper place..I'll check when I get home).
Are you sure what you are observing is a cylinder below the equator and not just a result of trying to raise a shield sphere upwards, and finding that it stays on the ground (IE it will collide below the actual sphere)?
Yes, the collision surface fits the rendering perfectly above the middle.
I'll upload the simbase sdd (very wip-ish) tonight, the commander shows this bug perfectly.