Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Topic started by: Filipsons on February 10, 2014, 12:42:53 am

Title: Animation SWAP
Post by: Filipsons on February 10, 2014, 12:42:53 am
Hello guys,
I have a little idea about pistols. I swap original crossbow model to custom model 1911 and now i need change animation to /Point anim. Somebody knows where I can change animationID in crossbow fire mod?

Any other ideas?

(http://imageshack.com/a/img833/2406/fj0z.jpg)
Title: Re: Animation SWAP
Post by: Milly on February 10, 2014, 12:56:13 am
I could help. Are you looking to edit a spell that already exists or make a new one? The animation data for spells is in column 2 in SpellVisualKIt.dbc. The SpellVisualKit.dbc entry would then link back to SpellVisual.dbc and then Spell.dbc.
I could write you a step-by-step process but it depends on whether you're making a new spell or editing an old one.

Oh, sweet idea btw
Title: Re: Animation SWAP
Post by: Skarn on February 10, 2014, 08:59:52 am
I guess he's searching a way to swap character animation. Not the spell. I'm not really experienced in modelling but I assume you need PyModelEditor and other old tools. However, I'm pretty sure that it can be done via hex editor manually.
Title: Re: Animation SWAP
Post by: Milly on February 10, 2014, 09:03:43 am
Oh, I getcha. I thought he wanted to make a spell by the way he worded it. In this case, just open AnimationData.dbc and find EmotePoint on line 84. Change the value in column 3 to 0, and your weapons will no longer go away when you point.
Unfortunately, the point emote is a oneshot, not a state. I don't know how to edit that.

Edit: Yet again I may be answering all the wrong questions. If you're looking to change your attack animation to /point then I'd say forget it. There is no "crossbow" animation. All crossbow weapons share the same attack animation that rifles use, and I think you wouldn't want to change that. I'm sure there's ways around it but, as Skarn said, it's difficult.

Edit: I've been looking around for possibilities and really the only idea I have is to change the auto attack spell for crossbows to have a point animation. It would look very unnatural and Idk if you can do it without effecting rifles as well.
Title: Re: Animation SWAP
Post by: Skarn on February 10, 2014, 12:14:54 pm
I disagree with you about the crossbow animations. Rifle and bow animations are different. It's easy to find out just looking to the WMV ;)
Title: Re: Animation SWAP
Post by: Milly on February 10, 2014, 12:20:13 pm
Mind telling me the animation name? Because I'm 99% it shares the same animation as the rifle. I even checked WMV. There are rifle animations and there are bow animations. There are no "crossbow" animations. They share with rifle.
Title: Re: Animation SWAP
Post by: Laduguer on February 10, 2014, 12:23:51 pm
Quote from: "Milly"
Mind telling me the animation name? Because I'm 99% it shares the same animation as the rifle. I even checked WMV. There are rifle animations and there are bow animations. There are no "crossbow" animations. They share with rifle.

I'm pretty sure this is correct as well. I have a friend who did some investigation into this issue a little while ago and the only viable solution he found was changing the animation for the auto-shoot spell (I think he chose to use wands in his experiment). I never saw the actual results, but I believe he put it into practise and wasn't very satisfied with that solution. Worth a shot, though.
Title: Re: Animation SWAP
Post by: Milly on February 10, 2014, 12:30:40 pm
Yeah that's what I was thinking. That'll work for sure but it will probably look horrible. Still a good concept though.
Title: Re: Animation SWAP
Post by: Skarn on February 10, 2014, 01:09:27 pm
These animations are called: LoadRifle, ReadyRifle, Hold Rifle, AttackRifle. And absoultely the same (but with the word bow) is for bow.
Title: Re: Animation SWAP
Post by: Milly on February 10, 2014, 01:11:31 pm
I know of those animations, but I really don't know what you're getting at. Crossbows aren't the same as bows. They're basically a bow attached to a gun. They use the same animations as the rifles but with different sound effects.
Title: Re: Animation SWAP
Post by: Skarn on February 10, 2014, 01:35:55 pm
Oh... I misunderstood you. I got it now. I thought crossbow and bow are the same things. (My English sucks...) Yeah, a crossbow use the same animation as a rifle.
Title: Re: Animation SWAP
Post by: Milly on February 10, 2014, 01:39:09 pm
Ohh, I'm sorry I should have realized sooner. :P No worries
Title: Re: Animation SWAP
Post by: Skarn on February 10, 2014, 01:40:45 pm
No problem. I just forgot that crossbows exist in WoW. I haven't played it for ages. Only development :D
Title: Re: Animation SWAP
Post by: Filipsons on February 10, 2014, 03:55:25 pm
Thanks for all answers, but i found some problems
1. Human male points right hand, but human female use left hand
2. When i swap crosbow animation i destroyed rifle animations
3. When I want use bows its same problem like a no.1 and bow hold in left hand and point is a right hand.

(Sorry for my English, I'm on mobil in the work)
But thanks again.
Title: Re: Animation SWAP
Post by: Milly on February 10, 2014, 03:59:53 pm
Oh wow, so it's even worse than I thought. Idk what you can do about that. Probably have to edit the animations.
Title: Re: Animation SWAP
Post by: phucko1 on February 10, 2014, 04:10:14 pm
I've actually been thinking of making this in the past, and the only solution I have is:
Open the humanmale from TBC in MDLVIS
Remove all animations
Create 1 to 3 new animations for pistols.
Convert with MDXTOM2.
Use Animporter to port over your pistol animations from your ConvertedHumanMale.m2 to OriginalHumanMale.m2
Title: Re: Animation SWAP
Post by: Filipsons on February 10, 2014, 04:46:23 pm
Hmm or exist some easy way to swap race animations? (For example: point from undead male to human male) I have a some next ideas.
Title: Re: Animation SWAP
Post by: Milly on February 11, 2014, 02:52:21 am
Quote from: "Filipsons"
Hmm or exist some easy way to swap race animations? (For example: point from undead male to human male) I have a some next ideas.
Yes! I've been wondering this as well. I want to make a blood elf that has dwarf animations. Anyone know if it's possible?
Title: Re: Animation SWAP
Post by: phucko1 on February 11, 2014, 10:25:38 am
Yes it is possible, with Blender or Animporter.
Title: Re: Animation SWAP
Post by: flagg78 on February 12, 2014, 07:29:33 am
i know you could use the 010 template for m2 editing. you can set one animation to be used for multiple things. for instance i had a toon with no sit but had a kneel anim. so i made it use the kneel animation for both the sitting and kneeling. (it was better than him standing in place doing nothing.) it has been awhile since i have messed with any of this but maybe it would give you a place to start. ideal would be to do dbc edits for handguns. make a new shoot spell for them to use and alter the visual to the animation you want it to have.
Title: Re: Animation SWAP
Post by: Filipsons on February 12, 2014, 01:16:00 pm
This is solved for me.

(http://imageshack.com/a/img607/734/whj6.png)
Title: Re: Animation SWAP
Post by: Milly on February 12, 2014, 06:07:48 pm
Quote from: "Filipsons"
This is solved for me.

(http://imageshack.com/a/img607/734/whj6.png)

Holy shit that is cool. How did you Kneel and ReadyRifle at the same time?
Title: Re: Animation SWAP
Post by: Filipsons on February 12, 2014, 11:52:38 pm
Only make spell with aim ready animation. Try it ;)
Title: Re: Animation SWAP
Post by: Milly on February 13, 2014, 12:24:15 am
Quote from: "Filipsons"
Only make spell with aim ready animation. Try it ;)
I already have one of those. It doesn't work for me :(
Title: Re: Animation SWAP
Post by: Laduguer on February 13, 2014, 12:40:23 pm
Quote from: "Milly"
Quote from: "Filipsons"
Only make spell with aim ready animation. Try it ;)
I already have one of those. It doesn't work for me :(

Aye - and surely a spell with only the aim ready animation already exists in the form of Hold Rifle, at any rate? Or is there something more to it?
Title: Re: Animation SWAP
Post by: Alastor on February 18, 2014, 09:12:45 pm
for that ima using macro
/in 0.1 /s .ca 16723
/in 0.2 /s .au 75038


so ..

/kneel           ( or /sit , /lay , ect........)
(now macro)
and its done !

Sniper pose INC.
Title: Re: Animation SWAP
Post by: Laduguer on February 19, 2014, 03:29:41 pm
Quote from: "dahaga"
for that ima using macro
/in 0.1 /s .ca 16723
/in 0.2 /s .au 75038


so ..

/kneel           ( or /sit , /lay , ect........)
(now macro)
and its done !

Sniper pose INC.

Good idea, i'm surprised I didn't realise I was that simple earlier! Now I suppose the question is how the same results can be achieved in a way that doesn't involve giving GM commands to regular players, but perhaps that warrants its own thread.