| 07-23-2004, 07:29 PM | #1 |
I know this shouldnt go here, but here it is, in a wc3 map when a unit picks up an item, how do you make it so the unit is carrying the item ( a bow, etc.) I think it shuld be similar to orbs (and how it shows it on your unit). :( |
| 07-23-2004, 08:07 PM | #2 | |
Quote:
The thing that the hero carries is a model (mdl) file. On the orbs the Art - Target is what is attached to the heros weapon. If you want to attach like a sword for example you would need a model file of a sword and have a stand animation for it and put it in the Art - Target field. Than you could change the attachment point to hand,left or hand,right. Another way of doing it is make a trigger that detects the item and create an action that creates a special effect on the units hand or whereever. You can download models of weapons in the download section i think. |
| 07-23-2004, 08:08 PM | #3 |
I figured spmething like that... |
| 07-23-2004, 09:24 PM | #4 |
The Sphere ability is probably what you should base it off of. I've had a good deal of success with that ability. |
| 07-23-2004, 09:53 PM | #5 |
This gets into atachments of weapons to units hands. There are alot of other threads and I believe even tutorials on the sbuject. Look around a bit. |
| 07-23-2004, 10:06 PM | #6 |
yea ive seen somehting like all that in Dark Deeds.. when you pick up a tree and such.. Also doesnt the Grab Tree Sill on the Moutain Giants do the same thing? or is that a differnt Modal? |
| 07-23-2004, 10:37 PM | #7 |
Nope, the mountain giant uses an alternate animation, if you look at it in the editor, for every animation, it also has an "upgrade animation" where he walks around with the tree. The point is that this is the only really good method to do this, and also incredibly hard, as it requires modeling and animating knowledge. The "attaching" method is a good substitute with some models, but with others, the movement of the attached weapon can look like crap, because the models were not intended for this. However, if you use a good model that has such hand movement that attached weapons flow through the air naturally, then it's quite allright. |
| 07-24-2004, 12:04 AM | #8 |
Yes i know that i have 2 modeling programs but i want the 'model' removable... |
| 07-24-2004, 12:45 AM | #9 |
I cant make the trigger work, so i made a simple 1, its something like this: E: a unit aquires an item C: A: create a special effect on hand,left of the unit, using sword |
| 07-24-2004, 12:57 AM | #10 | |
Quote:
i see that doesnt work, misunderstanding, so on the item ability how would i do it target: sword target attach: hand or target attach: hand,left? target attach: left AH I FOUND IT!! I HAD A MDX NOT MDL |
| 07-24-2004, 01:22 AM | #11 |
Yeah that looks right |
| 07-24-2004, 01:25 AM | #12 |
Um IT ISNT WORKING! |
| 07-24-2004, 01:28 AM | #13 |
http://www.wc3campaigns.com/showthread.php?t=42949 Oh its probably alot more complicated than you want though... |
| 07-24-2004, 04:21 AM | #14 |
AWSOME!!!! i never knew it would be this simple!!! thnx ^_^ |
| 07-24-2004, 06:09 PM | #15 |
Hey it still isnt working so let me post the file of a sword im using Try to get some luck with it... |
