| 06-22-2007, 06:37 AM | #1 |
In a map project, I'm having peasants 'mine' materials by attacking tree-based doodads. The problem with this being that the peasant now carries lumber on his back after mining. To rectify this problem, I attempted to switch the data for all relevant lumber-/gold- related animations. I tried what I thought would work, but it ended up having all sorts of animation errors after I edited the .mdl. These problems included:
|
| 06-22-2007, 08:01 AM | #2 |
Not sure what you did wrong, but I got it working. Attached is the working reversed gold/lumber peasant in .mdx form and a testmap to prove it works. All I did was put a "Gold" everywhere I saw a "Lumber" in the animation list and vice versa. Rather quick edit and it works. |
| 06-22-2007, 08:07 AM | #3 |
Oh, so if I just switch the word "Lumber" for "Gold" in the parts that say Anim "Stand Lumber" {, etc., that'll work? I was switching all this crap for each animation: Code:
Interval { 18300, 19867 },
MinimumExtent { -30.7913, -29.2415, 0.201665 },
MaximumExtent { 19.058, 21.2577, 98.3751 },
BoundsRadius 55.6318,Thanks! |
