- Joined
- Dec 22, 2008
- Messages
- 207
I have this problem with animation and its bothering me.. bad.
I have a GUI costum key movement/strafe system and it moves the units like this:
Stand -> Walk
Walk -> Stand
I made the animations change accordingly to how fast a unit would be running, USING TRIGGERS. It looked fine, except when you didn't walk. This would look like the game were lagging, or as if it were suspended in mid air. So I tried to put the normal stand animations in another trigger that would activate if a player wouldn't be moving his unit. And it worked. So I thought.
The stand animation looked fine, the model was just standing there, but as soon as I walked, the model would show the walk animation for a split second and then just freeze. Now the model was still travelling, only the animation was stuck.
My question?
Wat do I do to fix this.
To see what I mean, download my alpha version i have attached.
When the game starts:
1. Pick a class
2. Use the arrows to move
3. Press right or left to TURN right or left
4. Use the 'Strafe' ability to go into strafe mode, making your right and left controls WALK left and right, instead of turning.
5. Press A to shoot/melee
I have a GUI costum key movement/strafe system and it moves the units like this:
-
Unit - Move 'Unit' instantly to ((Position of 'Unit') offset by 4 towards (Facing of 'Unit') degrees), facing (Facing of 'Unit') degrees
Stand -> Walk
Walk -> Stand
I made the animations change accordingly to how fast a unit would be running, USING TRIGGERS. It looked fine, except when you didn't walk. This would look like the game were lagging, or as if it were suspended in mid air. So I tried to put the normal stand animations in another trigger that would activate if a player wouldn't be moving his unit. And it worked. So I thought.
The stand animation looked fine, the model was just standing there, but as soon as I walked, the model would show the walk animation for a split second and then just freeze. Now the model was still travelling, only the animation was stuck.
My question?
Wat do I do to fix this.

To see what I mean, download my alpha version i have attached.
When the game starts:
1. Pick a class
2. Use the arrows to move
3. Press right or left to TURN right or left
4. Use the 'Strafe' ability to go into strafe mode, making your right and left controls WALK left and right, instead of turning.
5. Press A to shoot/melee