Drawinfo Multi-Cell Animation (running deer)

Premade map objects and sections that can be used in user maps.
Post Reply
User avatar
optic delusion
Special Forces
Special Forces
Posts: 990
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Drawinfo Multi-Cell Animation (running deer)

Post by optic delusion » Sun Oct 21, 2007 9:00 pm

drawinfo still has some problems, but this works pretty well, as long as your viewing angle is correct.

This was remarkably easy to do, once I figured out how the matrefs fit inside drawinfo.
I started with a simple animated gif (with a transparent background). I extracted each animation frame into a separate file, and converted to png format.
Next I tested the bzw with two frames of animation.. seemed to work... then I simply added the other 16 frames. Nothing to it.

You can disable the inside face of the cube by commenting the first polygon in each matref's display list (dlist).
if you look at my dyncol/material/matref names, I used qwerty.

Here is the original gif file
Image

And the bzw.
go to the corner with the lighter green pyramids. Stay right in between the two pyrs and look towards the corner. It takes 2 minutes for the deer to run in its circle.

EDIT: sorry about the first 4 people to download the file, i have corrected the image links in the new upload.
Attachments
deerYAY.bzw
(7.3 KiB) Downloaded 392 times
Last edited by optic delusion on Mon Oct 22, 2007 12:01 am, edited 4 times in total.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

temporal distraction
Sergeant
Sergeant
Posts: 250
Joined: Wed Jan 05, 2005 3:12 pm

Post by temporal distraction » Sun Oct 21, 2007 10:18 pm

That is evolutionary and will completely change the game.

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Sun Oct 21, 2007 11:57 pm

Very cool.

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
optic delusion
Special Forces
Special Forces
Posts: 990
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Mon Oct 22, 2007 12:22 am

Another word of warning... I'm still just guessing, and so is tedius.
Don't take anything in these recent drawinfo posts as gospel, in two weeks or a month, we could be doing this in a completely different way.
Right now we're already debating the signifigence of sphere and extents. We still don't have the REAL INFO.[/i]
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

Legolas_
Private First Class
Private First Class
Posts: 513
Joined: Thu Jan 20, 2005 10:24 pm

Post by Legolas_ » Mon Oct 22, 2007 12:31 am

This works really well, but sometimes it is outside the playing field.
Attachments
bzfi0005.png
This is where it comes into the playing field. Look here.
(250.41 KiB) Downloaded 360 times
bzfi0006.png
Here it is, outside the playing field
(173.1 KiB) Downloaded 342 times
bzfi0009.png
Here it is again, moved.
(175.56 KiB) Downloaded 368 times

User avatar
optic delusion
Special Forces
Special Forces
Posts: 990
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Mon Oct 22, 2007 12:47 am

The circle is goes out beyond the mountains...

It moves in a big circle at 3 radians/second. that means it takes 360/3 seconds to complete the circle. I was trying to make it so the foot-falls of the horse seem to be correct for the distance it travels. This meant a gigantic circle. It's still not perfect, since each frame of animation lasts .05 seconds, and even during that short amount of time, the feet of the horse move in the big circle.
When the horse's foot hits the ground, it should stay there a few frames, but the foot slides with the rest of the animation.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
Tedius
Sergeant First Class
Sergeant First Class
Posts: 142
Joined: Tue Sep 19, 2006 6:10 pm
Contact:

Post by Tedius » Mon Oct 22, 2007 1:46 am

It looks great to me. With del's permission, I added 2 deer to "The Most Dangerous Game" tedius.dyndns.org:5172. They are kind of hard to spot if you don't know where to look. One hint: Stand just on the south side of the river in the far east, facing north and wait.

For better or worse, I took out the sphere and extents and it seems to work well. The deer is awesome! I can't wait to see what else can be done with drawInfo.
Attachments
deer-1.png
deer-1.png (162.96 KiB) Viewed 1285 times
deer-2.png
deer-2.png (162.72 KiB) Viewed 1294 times
this signature intentionally left blank

Post Reply