Game Development Community

Melee animation per weapon?

by Sangwoo Hong · in Torque Game Engine · 05/31/2006 (9:53 pm) · 5 replies

Is there a resource for this any where?

phong.

#1
05/31/2006 (10:14 pm)
First off, you can always search GG.

Simple answer, No, well that I know of. But there is resources that add melee, like Server Side Melee System. You could start there, good luck.
#2
05/31/2006 (10:15 pm)
Don't think so, but it's not that hard. I have per weapon type animation sets. I just defined a variable in my weapon image's datablock like animset = "Sword"; or "Dagger"; and then when you call your animations do something like playThread(0, %myWeaponImage.animSet @ "Slash"); . And so youl'd name your weapon animations "SwordSlash" and "DaggerSlash", and then depending what you were holding, it would play the set of animations following that naming convetion.
#3
05/31/2006 (10:40 pm)
@Sangwoo - This is months off(around 6), but a melee resource will be coming out of NvP. This does include weapon specific animations. We will publish it when we are done with the game, we just don't have the time to write and proof the resources.
#4
06/01/2006 (12:54 am)
Hi Sangwoo,

(I do apologise but your name reminds me of "San Kuo", :P)

Look at a thread which I created (I asked for combos animation) , Ken Finney provided a simple code to my melee question attack. Perhaps you can modify from here? I haven't tested it yet, so many things to attend.

it's here...
http://www.garagegames.com/mg/forums/result.thread.php?qt=33407

perhaps, you can do something like this below (somewhere) in the code? Sorry I'm not a good programmer.

switch(%weapon)
{
case "blade":
attack animation = play blade attack animation;
case "viper_blade":
attack animation = play viper_blade animation;
case "Green_Dragon_Crescent_Moon_Blade":
attack animation = play greenDragonCrescentMoonBlade animation:

}



sorry, can't help much. Have a look at the thread, hopefully it can be useful to you too.

Regards,
Broken_Sword
#5
06/01/2006 (9:18 am)
Thanks everybody. I'll be looking in to this real soon. Will post as soon as I have something. :)