Darkus, on 22 October 2012 - 03:54 AM, said:
I experimenting stuff with monsters and I have a little problem;
- I noticed that the enemies move differently with the chosen Difficulty: For example, in easy mode, their movements seem more 'smooth', but in normal mode or above, they move seems more 'realistic' (when they walking).
The problem is when I create an enemy that moves very fast. In easy mode it's okay, but in higher difficulties modes, he seems to "skip" or "teleport" in his movements.
So I asking if it's possible make him move 'smoothly', like in easy mode on other difficulties.
This is actually a very good post. Your request will be granted, though since it effectively directly changes per-tic movement rates for enemies and how often these movements occur, it will have to be tested pretty thoroughly to make sure the overall rate of speed still more or less matches the original game.
I am also taking the opportunity to add a new sprite flag that enables smooth movement. It turns out that in the original code, skills 0 and 1 allow the enemy to move once every other game tic whereas skills 2 and 3 allow movement at twice the normal speed for 3 tics in a row with every 4th tic having the movement cancelled. I don't think this is optimal at all, so I'm changing it so that all skills allow movement once every other tic. I had tested it with movement being allowed every tic, but it was TOO smooth and looked really, really strange, which is where the new sprite flag comes in... since some people have requested it in the past, the new flag will allow movement every tic without anything involving the skill coming into play.

Help
Duke4.net
DNF #1
Duke 3D #1



