Quick question

Quick question

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Quick question

Post by FLOZi »

CAICallback::DrawUnit

- How important is it that this renders s3os correctly?
- How do I test it?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post 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?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

That entirely doesn't answer my question. Nevermind for now, anyway.
Post Reply

Return to “AI”