- Joined
- Apr 27, 2008
- Messages
- 2,455
Hello.
I know quite nothing about models.
Here i've just tried to edit the peasant model in order to add animations which will be played if a tag is enabled, you know like "gold" and "lumber", here i've named it "test".
But maybe you are not allowed to add a new tag.
Basically animations are screwed.
I attach the edited mdl file.
Plz don't link me some tool, unless this is very necessary, for example i've tried the same with wc3modeleditor with the same result.
And the animation transfer tool from Oink... tools doesn't work for me.
Also, unless i'm very wrong it should be just a matter of copy/paste/edit, so it would be far faster to edit a mdl with a text editor.
That's the begin of the file and that's only this part that i've edited (only the Sequences block) :
PS : Yes the added animations make the model unselectable, it's intended
I know quite nothing about models.
Here i've just tried to edit the peasant model in order to add animations which will be played if a tag is enabled, you know like "gold" and "lumber", here i've named it "test".
But maybe you are not allowed to add a new tag.
Basically animations are screwed.
I attach the edited mdl file.
Plz don't link me some tool, unless this is very necessary, for example i've tried the same with wc3modeleditor with the same result.
And the animation transfer tool from Oink... tools doesn't work for me.
Also, unless i'm very wrong it should be just a matter of copy/paste/edit, so it would be far faster to edit a mdl with a text editor.
That's the begin of the file and that's only this part that i've edited (only the Sequences block) :
Code:
Version {
FormatVersion 800,
}
Model "peasant" {
NumGeosets 6,
NumGeosetAnims 4,
NumHelpers 1,
NumBones 22,
NumAttachments 9,
NumEvents 8,
BlendTime 150,
MinimumExtent { -69.6533, -44.804, -41.9811 },
MaximumExtent { 88.9427, 46.9668, 123.917 },
}
Sequences 27 {
Anim "Stand" {
Interval { 133, 1633 },
MinimumExtent { -28.5623, -29.8084, -0.0504422 },
MaximumExtent { 20.6361, 26.5544, 92.6605 },
BoundsRadius 52.6531,
}
Anim "Stand -2" {
Interval { 1800, 4467 },
Rarity 3,
MinimumExtent { -25.878, -29.8389, 0.152655 },
MaximumExtent { 28.2653, 28.5517, 92.7458 },
BoundsRadius 51.4812,
}
Anim "Stand - 3" {
Interval { 4633, 9800 },
Rarity 4,
MinimumExtent { -29.9116, -31.7053, -5.43188 },
MaximumExtent { 36.1178, 38.608, 92.7594 },
BoundsRadius 51.9626,
}
Anim "Stand - 4" {
Interval { 14133, 18133 },
Rarity 4,
MinimumExtent { -26.0243, -36.6485, -0.456286 },
MaximumExtent { 26.0185, 31.4237, 97.5041 },
BoundsRadius 54.1783,
}
Anim "Stand Gold" {
Interval { 18300, 19867 },
MinimumExtent { -30.7913, -29.2415, 0.201665 },
MaximumExtent { 19.058, 21.2577, 98.3751 },
BoundsRadius 55.6318,
}
Anim "Stand Lumber" {
Interval { 20167, 21733 },
MinimumExtent { -37.0978, -30.9237, 0.201666 },
MaximumExtent { 32.0584, 34.4464, 96.998 },
BoundsRadius 55.9295,
}
Anim "Stand Test" {
Interval { 21735, 23301 },
MinimumExtent { -37.0978, -30.9237, 0.201666 },
MaximumExtent { 32.0584, 34.4464, 96.998 },
BoundsRadius 0,
}
Anim "Attack" {
Interval { 23400, 24400 },
NonLooping,
MinimumExtent { -62.5415, -38.3509, -0.294451 },
MaximumExtent { 73.084, 35.311, 121.39 },
BoundsRadius 73.7341,
}
Anim "Attack Gold" {
Interval { 24533, 25533 },
NonLooping,
MinimumExtent { -62.5858, -38.3372, -0.297971 },
MaximumExtent { 73.2082, 38.8403, 121.391 },
BoundsRadius 74.4935,
}
Anim "Attack Lumber" {
Interval { 25667, 26667 },
NonLooping,
MinimumExtent { -62.4881, -43.8993, -0.294681 },
MaximumExtent { 73.0275, 44.9459, 121.447 },
BoundsRadius 74.5759,
}
Anim "Attack Test" {
Interval { 26670, 27670 },
NonLooping,
MinimumExtent { -62.4881, -43.8993, -0.294681 },
MaximumExtent { 73.0275, 44.9459, 121.447 },
BoundsRadius 0,
}
Anim "Attack -2 " {
Interval { 27767, 29033 },
Rarity 3,
NonLooping,
MinimumExtent { -69.6533, -25.3983, -1.19888 },
MaximumExtent { 72.4694, 29.9399, 123.917 },
BoundsRadius 74.4558,
}
Anim "Walk" {
Interval { 29100, 29900 },
MoveSpeed 150,
MinimumExtent { -43.8932, -35.4016, 0.0448157 },
MaximumExtent { 47.764, 45.1813, 93.5366 },
BoundsRadius 57.2193,
}
Anim "Walk Gold" {
Interval { 30067, 30867 },
MoveSpeed 150,
MinimumExtent { -34.1984, -30.3442, 0.044815 },
MaximumExtent { 36.8763, 24.099, 94.4577 },
BoundsRadius 56.2489,
}
Anim "Walk Lumber" {
Interval { 31033, 31833 },
MoveSpeed 150,
MinimumExtent { -37.0978, -32.6104, 0.044815 },
MaximumExtent { 36.7597, 33.2111, 101.125 },
BoundsRadius 58.0451,
}
Anim "Walk Test" {
Interval { 32033, 32833 },
MoveSpeed 150,
MinimumExtent { -37.0978, -32.6104, 0.044815 },
MaximumExtent { 36.7597, 33.2111, 101.125 },
BoundsRadius 0,
}
Anim "Death" {
Interval { 34333, 37667 },
NonLooping,
MinimumExtent { -35.984, -44.804, -3.70354 },
MaximumExtent { 85.2466, 46.9668, 92.8574 },
BoundsRadius 72.0123,
}
Anim "Decay Flesh" {
Interval { 38133, 98133 },
NonLooping,
MinimumExtent { -13.1904, -29.5365, -40.7403 },
MaximumExtent { 88.9427, 45.1974, 26.8391 },
BoundsRadius 60.7709,
}
Anim "Decay Bone" {
Interval { 99800, 159800 },
NonLooping,
MinimumExtent { -10.2479, -29.5365, -41.9811 },
MaximumExtent { 88.9427, 38.3126, 11.685 },
BoundsRadius 55.8183,
}
Anim "Stand Ready" {
Interval { 183133, 184633 },
MinimumExtent { -28.6408, -29.9645, -0.0823058 },
MaximumExtent { 20.7765, 26.5544, 92.7449 },
BoundsRadius 52.5659,
}
Anim "Stand Ready Gold" {
Interval { 184833, 186333 },
MinimumExtent { -28.66, -28.9963, -0.137306 },
MaximumExtent { 20.7034, 26.7239, 92.6302 },
BoundsRadius 52.7277,
}
Anim "Stand Ready Lumber" {
Interval { 186600, 188100 },
MinimumExtent { -37.0978, -30.9237, -0.0880196 },
MaximumExtent { 32.0584, 34.5076, 96.998 },
BoundsRadius 56.0629,
}
Anim "Stand Ready Test" {
Interval { 188600, 190100 },
MinimumExtent { -37.0978, -30.9237, -0.0880196 },
MaximumExtent { 32.0584, 34.5076, 96.998 },
BoundsRadius 0,
}
Anim "Stand Work" {
Interval { 191333, 191933 },
MinimumExtent { -57.8181, -37.0602, -0.0542747 },
MaximumExtent { 70.507, 33.8441, 117.941 },
BoundsRadius 71.0203,
}
Anim "Stand Work Gold" {
Interval { 192233, 192833 },
MinimumExtent { -57.8447, -36.2669, -0.0542747 },
MaximumExtent { 70.507, 34.1633, 117.941 },
BoundsRadius 71.2252,
}
Anim "Stand Work Lumber" {
Interval { 193133, 193733 },
MinimumExtent { -57.8733, -43.083, -0.546668 },
MaximumExtent { 70.5075, 35.2598, 118.031 },
BoundsRadius 70.1906,
}
Anim "Stand Work Test" {
Interval { 194133, 194733 },
MinimumExtent { -57.8733, -43.083, -0.546668 },
MaximumExtent { 70.5075, 35.2598, 118.031 },
BoundsRadius 0,
}
}