26.06.2009, 12:06
How to Create Moving Skin Camera
26.06.2009, 12:08
idk
but i posted so i could add to my server too
but i posted so i could add to my server too
27.06.2009, 15:12
realy can anyone do this?
27.06.2009, 15:14
That is SICK. I never thought of doing that.
Anyways, just continously move the players cam from X position to X on a timer frequently.
Anyways, just continously move the players cam from X position to X on a timer frequently.
27.06.2009, 15:15
yeah its sick... i will give delux host to anyone who made me this!
27.06.2009, 15:21
Very nice.
27.06.2009, 15:23
Quote:
Originally Posted by wildwest
yeah its sick... i will give delux host to anyone who made me this!
|
Get like 10 camera positions where you would like the camera to move from.
Make a timer to make the camera move every 500 milliseconds from saved pos 1, to 2, to 3, and so on.
Then if the pos of the cam is at the last, set it to 4, then 3, and so on.
27.06.2009, 15:24
stock MoveCamera.
But bad
pawn Код:
new ct[MAX_PLAYERS]=0;
new CamTimer[MAX_PLAYERS];
forward RequestCamMoving(playerid);
public OnPlayerRequestClass(playerid, classid) {
SetPlayerPos(playerid,-245.9774,2580.2698,63.5703);
SetPlayerFacingAngle(playerid, 206.4424);
SetPlayerCameraPosEx(playerid,-251.5704,2576.3738,64.5215,-245.9774,2580.2698,63.5703);
CamTimer[playerid]=SetTimerEx("RequestCamMoving",50,true,"i",playerid);
//ct[playerid]=1;
return 1;
}
public RequestCamMoving(playerid){
if(gPlayerCameraPos[playerid][coord_x]==-251.5704&&gPlayerCameraPos[playerid][coord_y]==2576.3738&&gPlayerCameraPos[playerid][coord_z]==64.5215){
MoveCamera(playerid,-240.0654,2576.1228,64.5215,29.8891,-245.9774,2580.2698,63.5703);
} else if(gPlayerCameraPos[playerid][coord_x]==-240.0654&&gPlayerCameraPos[playerid][coord_y]==2576.1228&&gPlayerCameraPos[playerid][coord_z]==64.5215){
MoveCamera(playerid,-242.6376,2579.4529,64.5215,41.4825,-245.9774,2580.2698,63.5703);
} else if(gPlayerCameraPos[playerid][coord_x]==-251.5704&&gPlayerCameraPos[playerid][coord_y]==2576.3738&&gPlayerCameraPos[playerid][coord_z]==64.5215){
MoveCamera(playerid,-242.6376,2579.4529,64.5215,41.4825,-245.9774,2580.2698,63.5703);
}
return 1;
}
27.06.2009, 15:30
Quote:
Originally Posted by David.
stock MoveCamera.
pawn Код:
|
its unfinished.
27.06.2009, 15:34
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)