HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit Attack animation- help please

02-12-2004, 04:43 PM#1
Iwi
Hi , I'm making a new hero with the model file of the Penguin as we all know the penguin don't have any attack animation , but I found the Stand 3 animation that could fit for a attack animation. The problem is that I don't know how do make the penguin use the stand 3 animation when he is supposed to attack ??

please help me I would appreciate it much.
tell me anyway possible , trigger or in the editor Thanks !
02-13-2004, 10:09 AM#2
stuffkikker
What you could do is export the model (you can use warcraft viewer for that),
convert it to mdl (yobguls I believe), and than look for the stand-3 anim. Should look something like this:

Anim "Stand - 3" {
Interval { 79067, 80500 },
Rarity 3,
MinimumExtent { -20.3208, -43.8125, -1.81705 },
MaximumExtent { 71.505, 41.672, 101.167 },
BoundsRadius 66.284,

(this was taken from the grunt)
Then change the "Stand - 3" to "Attack - 1",
and change the "Rarity - x" (can be any number from 1 to 9) to "Nonlooping"
than change it back to mdx,
reimport it,
and warcraft will now recognize this animation as the attack animation. (This should work)

I suppose another way would be to trigger the animation with the event of attacking, but you'd also have to triggerl it when to stop.
02-14-2004, 04:42 AM#3
Iwi
Well, thanks but I didn't get it. I converted the penguin mdx to mdl , and what next ?
cuz warcraft viewer can't open mdl files.So I'm stuck :p. Please be precise , I'm not so good at those things.

and someone else could tell me the trigger way or something like that please ? :-)

Thanks
02-14-2004, 11:12 AM#4
stuffkikker
You can open a mdl with notepad.
it's a text file.
couldn't be more easy than that eh? ;)
02-14-2004, 04:26 PM#5
Iwi
Thanks for all the help above , I am 99% of the goal :p
I have done exactly as you said and I reimported the mdx to the editor but , When I put the path unit/critter/penguin/pengo.Blp something like that , then I save the map and reload.
When I reload the penguin models are green cubes it says Couldn't load file blabla . Try it out and tell me if you succeed :p
If you help me to make it I will give you points , of course you must tell me how you do to give points :-)
02-15-2004, 03:14 PM#6
xGT4x
Lol the penguin Path is:
Units\Critters\Penguin\Penguin.MDX
Just change the imported file path to that and the standart penguin will have the attack animation you "made".