disco-colors caused by "Ally Selected Units", stuck camera

disco-colors caused by "Ally Selected Units", stuck camera

Classic game design, maintained to please you...

Moderator: Content Developer

Post Reply
8611z
Posts: 169
Joined: 08 Jul 2015, 20:20

disco-colors caused by "Ally Selected Units", stuck camera

Post by 8611z »

BA 9.21

1) At gamestart the camera was stuck pointing parallel to ground towards horizont.
Could not move camera with arrowkeys or mouse. Maybe the "remember camera" widget?
Next games were normal again.
Camera worked normal again after pressing ctrl+F2.

2) Flashing map:
BA disco.gif
BA disco.gif (478.96 KiB) Viewed 1185 times
win 7, ATI. This was the first time this happend to me in BA, but think similiar problems are somewhat known but not so easy to pinpoint. (gl point size or so? i forgot)
Fixed by disabling widget "Ally Selected Units"
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: disco-colors caused by "Ally Selected Units", stuck camera

Post by Floris »

2) I've experienced at my old ati laptop too. The endpoints of the lines that form the pentagon get dots. Somethimes this big, sometimes less big.

I suspect because the use of gl.Scale right before calling the displaylist that uses gl lines. It will polly be fixed when using quads instead of lines. But I like lines because they stay same width regardless of zoom level. :(

... or I could draw the pentagon big first, and then scale down... maybe that works too.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: disco-colors caused by "Ally Selected Units", stuck camera

Post by Silentwings »

gl.Pointsize isn't used there, although it is one the traditional ATI bugs.

@8611z: Since this is unsynced code, It might be worth putting a debug print here http://imolarpg.dyndns.org/trac/balates ... s.lua#L259 to check that the scale gets set correctly.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: disco-colors caused by "Ally Selected Units", stuck camera

Post by Floris »

....just found out it also draws a POINT per line as instructed, so yeah that might be it.


edit: (just tested at laptop, seems to be fixed)
8611z
Posts: 169
Joined: 08 Jul 2015, 20:20

Re: disco-colors caused by "Ally Selected Units", stuck camera

Post by 8611z »

I think the camera-bug is happening to other players, too, because sometimes I see chat messages like:

<juxydizzer> guys, how do i fix the camera mode? all i can see is sky

(no idea if it always refers to BA, but realistically it is the most played mod, so probally yes)
Post Reply

Return to “Balanced Annihilation”