okay, to prove what i mean i made a quick test project with the following code. it just vec_accelerate a skill and does a c_move afterwards.
very simple, there is no 'wrong code' that causes the stuttering in the movement. (at least to my knowledge, correct me please if i'm wrong)

just download and start it here: http://www.ackbytes.com/upload/fpstest.zip
press Q to start the movement and R to see it again.

please look close at cbabe and you will notice a stuttering in the movement.
please test this and respond.

i use the following code and just set fps_max to 60, everything else unchanged at standard but see yourself:

edit: with this testproject i do get stuttering at both my laptop and pc. ):

Code:

///////////////////////////////

#include <acknex.h>
#include <default.c>

// system libs
#include <stdio.h>

// debug
#include "deb.c" // debug
#include "deb.h" // debug


///////////////////////////////

function testentity()
{

deb_print("Q to start movement | R reset position");
while(!key_q){wait(1);}
while(key_q){wait(1);}

while(1)
{


vec_accelerate(my.skill1, my.skill10, vector(5,0,0), 0.5);
c_move (me, me.skill1, nullvector ,IGNORE_YOU|IGNORE_MODELS|IGNORE_MAPS|IGNORE_PASSABLE|IGNORE_SPRITES|IGNORE_PASSENTS|IGNORE_CONTENT);


wait(1);

if(key_r)
{
while(key_r){wait(1);}
vec_set(my.x,nullvector);
}

}

}



function main()
{
level_load("test.WMB");
wait(2);

video_set(800,600, 32, 2); // init video adapter

fps_max = 60;

wait(1);

ent_create("cbabe.mdl",nullvector,testentity);
}



Last edited by ulf; 01/31/08 10:08.