(08-06-2013, 06:52 PM)Rapsis Wrote: (08-06-2013, 11:55 AM)The chaser Wrote: I see you did this:
SetFogColor(0.03, 0.08, 0.20, 0.01);
The last color, if I'm not wrong, is the alpha: With this value, is almost unseekable, so try setting it higher (like 0.2, 0.5, 1, etc).
Works like a charm, thanks!
Now I'm trying to make a cinematic sequence where the player starts moving forward automatically. I see that the script is "MovePlayerForward(float afAmount)", but I'm not sure how to make a timer that updates 60 times / second.
Simple:
void OnStart()
{
AddTimer("Move", 0.1 //This might change, depending of the speed//, "Moveyourass");
}
void Moveyourass (string &in asTimer)
{
MovePlayerForward(?);
AddTimer("Move", 0.1 //This might change, depending of the speed//, "Moveyourass");
}
I have practically zero knowledge about these functions, so well, you'll have to play with the values :|