| 05-19-2004, 04:06 PM | #1 |
I was wondering if there was a way to use JASS to make a unit play another unit's animations. Just a thought... I know nothing about JASS. :( Using just plain JASS and no other method, would this be possible? |
| 05-19-2004, 05:16 PM | #2 |
I'm pretty sure that it's not possible. Animations use bones that must be in the model, and the game is not able to tell that a bone in a model corresponds to another one in another model. And there is no anim transfer program in the game as far as I know. The only solution is to edit models. |
| 05-20-2004, 09:20 AM | #3 |
Nope, not possible. *NEXT* =) ~Cubasis |
| 05-20-2004, 10:13 AM | #4 |
So, you don't think it's possible to trigger it's animations to...f.eg...do another unit's animations...? Or...or.. just..whatever..set it's animation as another units animation (blademaster's animation to be paladin's animations, instead.)..just you'll figure out SOMETHING....don't say not possible, just...very challenging.. |
| 05-20-2004, 10:42 AM | #5 |
Listen, there are things that are very hard, and some are impossible. I'm far from being a pro concerning models, but I know their basic structure, and no there is really to my mind no way of doing this using triggers. Ask the pro, it's really not possible. If ever it was possible to run a trigger, like : "run this specific unit's stand animation" for instance (which isn't the case, and that's a fact, not a probability), the program could just not do it, because it would need to edit the model's data to make it play another unit's animation. However, it can be done with an animation transfer from one model to the other (and it's very easy with oinkerwinkle's tool for models that are not too different). |
| 05-20-2004, 04:01 PM | #6 |
Yeh, when you get into applied theory of computer sciences, and basically any mathematically bound system, there are distinct limits as to what is not possible and what is. |
| 05-20-2004, 07:00 PM | #7 |
Did you guys all forget about the Animation - Play units animation? |
| 05-20-2004, 07:21 PM | #8 |
You can only play animations of a unit that is owned by that unit. Example is the child. He does not have the attack animation, thus you cannot play his attack animation. |
| 05-20-2004, 08:02 PM | #9 |
Narwanza, he is trying to make say... a Knight play a Gryphon's animation. That is an example. Or, lets use this one. The zergling hops forward and extends its arms when it attacks. Well, the poster wants to make say, a footman do that. Well, the bones are different in the model, and the animation is different. Thus it wont work. |
| 05-20-2004, 08:42 PM | #10 |
You can infer anything you want, but I believe he means where you would cast a spell and play the targets death animation. I may be wrong though. |
| 05-20-2004, 08:52 PM | #11 | |
Narwanza, I dont believe so. He asks directly in the first post: Quote:
And that is impossible. |
| 05-20-2004, 08:57 PM | #12 |
Why do you argue so much with me? When I look at that I see what i told you earlier. Just realize people think different, and we are all entitiled to our opinions on this board. |
| 05-21-2004, 01:14 PM | #13 |
Thanks for all the replies. Didn't mean to cause an argument though. ;) Armel, where can I get this tool you speak of? Narwanza: I did mean play ANOTHER unit's animation on a unit, like a footman playing a ghoul's animation or something. |
| 05-21-2004, 01:20 PM | #14 | |
Quote:
lol :) I don't just say "Not Possible" if I don't mean it, while I am a good JASS coder, I also happen to be a fair modeller, and I have studied all the file formats in the WC3, and done .mdl editing myself. So I have the experience to say, that it's not possible for a grunt to take a bow and shoot with it in JASS. Which, in fact, is what bothers the creators of UMSWE/WeU most :P, when they get e-mails, that have 10 suggestions for additions in their editors, where they all are like this (Allow a unit to use a bow, switch between weapons (models), step onto a horse (ride a horse), and that kind of stuff). So anyways. Narwanza, I kinda think he's talking about playing another unit's animation... thus the word: "another" in his question. But don't take this as we're arguing you, as you're right, you are entitled a opinion, and who knows, maybe he just wants to know how to play a animation. ~Cubasis |
| 05-21-2004, 01:28 PM | #15 | |
Quote:
That's insulting. :( Sorry, I thought it was clear what I was asking. |
