I think this is what you are after. I assume this code gets run once per frame. Ditch both old camera-control lines, and replace with this (untested) code.
Code:
...
VECTOR tempV; //note:: this line can be outside(before) the loop
...
vec_lerp(tempV, vec_diff(tempV, camera.x, player.x), 0.2);
vec_set(camera.x, vec_add(tempV, player.x));
...
PS :: You could also use three spare player.skill's instead of tempV if you want...
Last edited by EvilSOB; 06/08/1004:17. Reason: PS added
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial