| 01-10-2004, 06:50 PM | #1 |
Ok, heres the problem. I need spellcasters to ignore thier spell animations an cast the spell instantly, the trick is, I need to trick the game into thinking they have no spell animations, for simply entering "none" for an animation tag does not work. Anyone have experiance with this? Thanks:D |
| 01-10-2004, 07:39 PM | #2 |
If you want to eliminate the spell animation for a unit, you have to do a bit of .mdl editing. After you extract the model you want to use from the mpq and save it somewhere on your computer, use Yobguls file converter to change your newly saved mdx into an mdl. Then open that mdl file in notepad and scroll down until you find a section of the text that says "sequences." It will look something like this ... Sequences 7 { Anim "Walk" { Interval { 2000, 2667 }, MoveSpeed 220, MinimumExtent { -80.1116, -52.309, -11.196 }, MaximumExtent { 109.751, 64.6231, 79.835 }, BoundsRadius 106.472, } Anim "Attack Spell" { Interval { 6167, 7500 }, NonLooping, MinimumExtent { -72.8041, -55.2908, -20.5704 }, MaximumExtent { 74.3976, 103.337, 165.504 }, BoundsRadius 113.826, } ... The numbers will be different for every model but the concept is the same. Highlight the animation that you want to delete, ie. starting from before "Anim 'attack spell' {" or whatever you are deleting and going to the '}' a few lines down. Once you delete this, subtract one from the sequence number and replace the original number. Save this file and use Yobguls to change it back to mdx. then use the file importer in the world editor to put in your new model without a spell animation. |
| 01-10-2004, 07:51 PM | #3 |
*sigh* I was trying to avoid this, is there any way to remove it, without modle editing, because that would make my file size skyrocket... |
