Page 1 of 1

Quick question

Posted: 21 Mar 2007, 05:36
by FLOZi
CAICallback::DrawUnit

- How important is it that this renders s3os correctly?
- How do I test it?

Posted: 21 Mar 2007, 13:39
by AF
Download the NTai betas, they draw lots of semitransparent units as debugging tools.

This function is very important as this and the dodgy line markers are all us AI devs have for visual debugging, despite all the fancy lua imagery which would be a godsend to have and much less laggier.

Posted: 21 Mar 2007, 13:58
by FLOZi
But if its just for debugging, does it matter that s3o textures are drawn correctly?

edit: also, am I corect in thinking that even non-transparent s3os do not render their textures correctly?

Posted: 21 Mar 2007, 23:40
by AF
team colour never shows correctly whatever its put as.

Its important to be able to tell apart real units form virtual units using transparencies. Colours and team are also useful debugging tools.

Posted: 21 Mar 2007, 23:49
by FLOZi
That entirely doesn't answer my question. Nevermind for now, anyway.