Santiago ZAP wrote:combine this with a levelgen and you've got yourself animations in bitfighter
...is this a plugin? Im interested
It's a quick and dirty C++ program that reads a level's teams' colors. It then renders a .BMP image file using LineItems, selecting the team with the closest color for each pixel. I'm sure it would be fairly easy to port as a plug-in.
I'd love to see a levelgen using this! I found that LineItems can be really powerful, but tend to slow down the game when there's thousands of them.
LineItems seem to have a Width parameter, but I couldn't get it to work. If widths would work, we could halve the amount of line vertices needed, aswell as having real "square" pixels instead of a very fine grid like this script exploits.
I'll see if I can make this a plug-in tonight...