View Single Post
Old 02-27-2006, 01:26 PM   #4 (permalink)
astrocreep2k
 
Join Date: Feb 2006
Location: Wisconsin
Age: 30
Posts: 23
Send a message via ICQ to astrocreep2k
Default

Quote:
Originally Posted by RHYMES
Ok, I can only think of 2 ways you mean.

Way 1: The actual gump of the character would be

pictureBox1.Image = Ultima.Gumps.GetGump(12);

Way 2: The Char standing there.

Frame[] frames = Ultima.Animations.GetAnimation(400, 4, 0, 0, true);
pictureBox1.Image = frames[0].Bitmap;

After that you should just beable to overlay a bitmap to put clothes on it and hue them.

Not sure about this whole modify the code thing.

(Way #2) Thats almost exactly what I want to do. I am able to get the bitmap for the char (just as you have shown), but the second part is where I am stuck. I was planning on rendering each layer of clothing (and weapons) once I have the first frame of the body. Im guessing the method I am using is strictly for retrieving the body frames.

As far as why I am using animations, I was thinking at some point that I may want to render out an animated gif for each char. I probably will not do this right away, but would like to keep the option open. And thanks for the gump info, I may want to also render that out somewhere as well.
astrocreep2k is offline   Reply With Quote