Multiple attack animations^^

Hey,
I was just wondering how to make multiple attack animations. I think it IS possible, you just use the switch to random animation thing. But how? Could anyone teach me please? 😛

Thanks

------------------
Life is a joke - death is testing your humour...

For your Player or for an NPC? The engine reads ONLY the one set of animations as an attack animation. For the NPC, this would be impractical because you'd have to delete and add an NPC at &&Actual; _X/Y. It could be done except that Coldstone leaves "ghosts" of manually deleted NPCs.

For the Player, you'd change Player Icon. You can random that with a global and conditionals.

Heck, I'd TRY it, anyway. Since I haven't gotten to making NPCs yet to this extent, I could very well be wrong. Make an NPC. In the animation window at the bottom left you can add more subanimations. Add another animation. Do it again until you have as many sets as you want. The first one is default-1 or 1-default, I don't remember which. The second one would be 2-attack, third one 3-attack, etc. Do not loop anything. At the end of the animation, place a random animation to another sub-animation like 3-attack. I don't think this will work, but keep going in this direction and I hope you can figure it out.

------------------
-- Debra
Danillitphil Productions
(url="http://"http://www.danillitphil.com/graphics/index.html")www.danillitphil.com(/url)

Quote

Originally posted by Debra:
**For your Player or for an NPC? The engine reads ONLY the one set of animations as an attack animation. For the NPC, this would be impractical because you'd have to delete and add an NPC at &&Actual; _X/Y. It could be done except that Coldstone leaves "ghosts" of manually deleted NPCs.

For the Player, you'd change Player Icon. You can random that with a global and conditionals.

Heck, I'd TRY it, anyway. Since I haven't gotten to making NPCs yet to this extent, I could very well be wrong. Make an NPC. In the animation window at the bottom left you can add more subanimations. Add another animation. Do it again until you have as many sets as you want. The first one is default-1 or 1-default, I don't remember which. The second one would be 2-attack, third one 3-attack, etc. Do not loop anything. At the end of the animation, place a random animation to another sub-animation like 3-attack. I don't think this will work, but keep going in this direction and I hope you can figure it out.

**

Or you could try making the character's attack animation just 8 white images that don't show up. You would have it link to an event that would randomly cast a spell based on the direction the player is facing. The spell would play an attack animation.

------------------
Thanks,
GrahamVH
graham@vhpublications.com
http://www.warcraftc...t/CGD/home.html

You are correct ledorax...

(url="http://"http://www.ellrx.com/articles/ellsfaq/index.html#attackanim")Go!(/url)

Technically, this counts as the long lost graphical statistic/counter method that i was going to revise 2 years ago..

------------------

... ** Big O..ACTION!**
{ edit : supreme clientele }

(This message has been edited by ellrx (edited 05-10-2004).)

Curiously enough I was about to ask this very question because of a game feature I wanted to utilize that I found POG as a professional game lacked, and that was variance in attack. The hero is continually attacking exactly the same everytime. End result, works, however lacks a certain graphic finesse. However just using Ellrx's technique you can acheive a more interesting and less tiring hack and slash RPG (ala different weapon swing animations in Diablo or Diablo 2 for that matter). I required this multiple attack animations for the basic attacks which in my particular game would be bare knuckle brawling (two right jabs, then a left, for boxing variety), and then utilize an additional attack button to draw out the equipped weapon, two different attack options ever second of the game, go at it fisticuff style for close ranged boxing fun, or whip out a handy six shooter for that quickshot kill. Anyways after rambling on this was a thank you to Ledorax for bringing up the subject and ellrx for supplying the answer.

By the way I hope to be developing the first Coldstone Wild Western. Got the idea from reading the product description, go figure. And besides, I needed an easier more straight forward direction for my first CGE game. A website is in works. Only top quality from the Modern Tiki GodÅ ...so be a lil' patient.

------------------
Beware the surf guitar
weilding, voodoo vexing,
hoodoo powers of the
Modern Tiki GodÅ 

(This message has been edited by ModernTikiGod (edited 05-11-2004).)

(url="http://"http://www.ellrx.com/articles/ellsfaq/index.html#attackanim")It's been updated for clarity..(/url)
i have a tendency to backtrack an rewrite some stuff but i often fail to eliminate all traces...so some parts of sentences don't always agree ;)..

go for it..

------------------

... ** Big O..ACTION!**

weeEEEeee!! Thanks for you help people;D

------------------
Life is a joke - death is testing your humour...