
KaM Remake -> Multiplayer Demo out!
Hey Krom (and Lewin). I was wondering, how do you calculate the correct frames for the units when they walk? It seems that there are 8 frames in the animation, but there are 11 frames per tile that a normal-speed unit walks, and yet they end up on the same index every time they stop at their destination. How is this possible? How did you solve this?
Well, we just add to AnimationStep each frame and when render MOD it by animation steps count.
RenderFrame:=AnimationStep MOD AnimationStepsCount;
RenderFrame:=AnimationStep MOD AnimationStepsCount;
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
It does, but that's hardly noticable anyway. When unit stops it just swaps AnimationStep with StayStillStep (which is frame on which unit looks standing still ok)
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
So far it's more or less guessing. Most of the units look ok at default Step=1, but e.g. with Serfs I had to make a patch and same goes for laborers. Especially tricky is laborers work phases, e.g. that house building progress should increase on the frame where laborers hammere meets the site.
We have no working solution yet. More like quick patches and fixes at places where wrongness is abviously seen. AFAIK KaM has no StayStill or alike data in DAT files. If you find one that would be apreciated
We have no working solution yet. More like quick patches and fixes at places where wrongness is abviously seen. AFAIK KaM has no StayStill or alike data in DAT files. If you find one that would be apreciated

Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
Work on Remake continues. I've finally passed my exams and now I have a bit more time to prepare promised demo release..
Still struggling with unit-interaction thing, I don't think I can make it work good enough to include into demo yet :oops:
EDIT: Typos..
Still struggling with unit-interaction thing, I don't think I can make it work good enough to include into demo yet :oops:
EDIT: Typos..
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
It's not crude at all, just has some bugs we are hoping to get fixed 

Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
I guess couple of weeks of work will be enough, that means upto a month in real-life circumstances.. Anyway, thats the scale of numbers
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
How do you like this new statistics screen?
http://krom.reveur.de/Temp/kam_remake_statistics_page.png
We tried to keep old KaM idea - corresponding houses and units in one row and to include all houses and units, so they fit in default size area.
Some constructive critics are welcome
P.S. Houses replaced with question marks are those that can't be built yet.
http://krom.reveur.de/Temp/kam_remake_statistics_page.png
We tried to keep old KaM idea - corresponding houses and units in one row and to include all houses and units, so they fit in default size area.
Some constructive critics are welcome

P.S. Houses replaced with question marks are those that can't be built yet.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de

King Karolus
Posts: 1233
Joined: 01 May 2006, 22:00
Website: http://www.knightsandmerchants.net
Location: Finland
Return to “Feedback / Discussion”
Who is online
Users browsing this forum: No registered users and 2 guests